Nantes Université

Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 4b358f2b rédigé par Jean-Francois GUILLAUME's avatar Jean-Francois GUILLAUME :squid:
Parcourir les fichiers

adding flags to slurm

parent fe35c274
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -18,7 +18,7 @@ build:
- 'if [ ${COMPILE_AUKS} -eq 1 ]; then /usr/bin/echo "compiling auks ${AUKS_VERSION} - ${AUKS_DEST_ARCH} from ${AUKS_URL}" ; ./compile_auks.sh ; fi'
- 'if [ ${COMPILE_DMTCP} -eq 1 ]; then /usr/bin/echo "compiling dmtcp ${DMTCP_VERSION} - ${DMTCP_DEST_ARCH} from ${DMTCP_URL}" ; ./compile_dmtcp.sh ; fi'
- 'if [ ${COMPILE_LIBYOGRT} -eq 1 ]; then /usr/bin/echo "compiling libyogrt ${LIBYOGRT_VERSION} - ${LIBYOGRT_DEST_ARCH} from ${LIBYOGRT_URL}" ; ./compile_libyogrt.sh ; fi'
- 'if [ ${COMPILE_AUKS} -eq 1 ] | [ ${COMPILE_DMTCP} -eq 1 ] | [ ${COMPILE_LIBYOGRT} -eq 1 ]; then . ./SLURM_INFOS && ./compile_slurm.sh ; fi'
- '/usr/bin/ls ./ARTIFACTS/*'
artifacts:
paths:
......
......@@ -7,8 +7,8 @@ export SLURM_RELEASE_SPEC="1"
export SLURM_URL="https://github.com/SchedMD/slurm"
export SLURM_DEST_ARCH="x86_64"
export SLURM_OPTIONS=""
export SLURM_BUILD_DEP_OPTIONS='--define="_with_hdf5 1" --define="_with_hwloc 1" --define="_with_lua 1" --define="_with_mysql 1" --define="_with_numa 1" --define="_with_openssl 1"'
export SLURM_BUILD_OPTIONS='--with hdf5 --with hwloc --with lua --with mysql --with numa --with openssl'
export SLURM_BUILD_DEP_OPTIONS='--define="_with_cray 1" --define="_with_cray_network 1" --define="_with_slurmsmwd 1" --define="_with_multiple_slurmd 1" --define="_with_ucx 1" --define="_with_hwloc 1" --define="_with_mysql 1" --define="_with_hdf5 1" --define="_with_lua 1" --define="_with_numa 1" --define="_with_x11 1" --define="_with_pmix 1" --define="_with_ssl 1" --define="_with_shared_libslurm 1" --define="_with_freeipmi 1"'
export SLURM_BUILD_OPTIONS='--with cray --with cray_network --with slurmsmwd --with multiple_slurmd --with ucx --with hwloc --with mysql --with hdf5 --with lua --with numa --with x11 --with pmix --with ssl --with shared_libslurm --with freeipmi'
#
# MUNGE RELATED
......
......@@ -29,5 +29,11 @@ tar --exclude-vcs --totals --create --verbose --gz --file ${TOP_DIR}/SOURCES/dm
# installing result to be used when compiling dmtcp
/usr/bin/yum install -y ${TOP_DIR}/ARTIFACTS/*
# export SLURM_BUILD_DEP_OPTIONS='${SLURM_BUILD_DEP_OPTIONS}'
# export SLURM_BUILD_OPTIONS='${SLURM_BUILD_DEP_OPTIONS}'
#
# /usr/bin/sed -i "s|SLURM_BUILD_DEP_OPTIONS=.*|SLURM_BUILD_DEP_OPTIONS='${SLURM_BUILD_DEP_OPTIONS}'|g" ${TOP_DIR}/SLURM_INFOS
# /usr/bin/sed -i "s|SLURM_BUILD_OPTIONS=.*|SLURM_BUILD_OPTIONS='${SLURM_BUILD_OPTIONS}'|g" ${TOP_DIR}/SLURM_INFOS
# Cleaning post compilation
/usr/bin/rm -rf ${TOP_DIR}/BUILD/* ${TOP_DIR}/RPMS/* ${TOP_DIR}/SRPMS/* ${TOP_DIR}/SOURCES/* ${TOP_DIR}/BUILDROOT/*
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter