Skip to content
Snippets Groups Projects
Commit dcf8a53a authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

modified: install/CENTOS6LATEST

	modified:   install/CENTOS7LATEST
	modified:   install/CENTOS7LATESTINTEL
	modified:   install/CONFIG
	modified:   install/DEBIANLATEST
	modified:   install/FEDORALATEST
	modified:   install/UBUNTU1804
parent ab98fa16
No related branches found
No related tags found
No related merge requests found
...@@ -53,8 +53,29 @@ mkdir /scratch ...@@ -53,8 +53,29 @@ mkdir /scratch
%environment %environment
source /opt/apps/lmod/7.7.7/init/profile source /opt/apps/lmod/7.7.7/init/profile
clearMT export LMOD_PACKAGE_PATH=/opt/apps/lmod/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export -f ml if [ "$(id -u)" -ne 0 ]; then
export -f module MODULEPATH=""
export -f clearMT
for dir in /apps/modules/*
do
# Exclude following directories
if [[ (${dir##*/} == "all") ]]; then
continue
fi
# In case that it's directory
if [ -d "$dir" ]; then
if [ -z "$MODULEPATH" ]; then
MODULEPATH="$dir"
else
MODULEPATH="$MODULEPATH:$dir"
fi
fi
done
# export
export MODULEPATH
fi
ml purge
...@@ -62,7 +62,29 @@ mkdir /scratch ...@@ -62,7 +62,29 @@ mkdir /scratch
%environment %environment
source /opt/apps/lmod/7.7.7/init/profile source /opt/apps/lmod/7.7.7/init/profile
clearMT export LMOD_PACKAGE_PATH=/opt/apps/lmod/
export -f ml
export -f module if [ "$(id -u)" -ne 0 ]; then
export -f clearMT MODULEPATH=""
for dir in /apps/modules/*
do
# Exclude following directories
if [[ (${dir##*/} == "all") ]]; then
continue
fi
# In case that it's directory
if [ -d "$dir" ]; then
if [ -z "$MODULEPATH" ]; then
MODULEPATH="$dir"
else
MODULEPATH="$MODULEPATH:$dir"
fi
fi
done
# export
export MODULEPATH
fi
ml purge
...@@ -44,8 +44,29 @@ mkdir /scratch ...@@ -44,8 +44,29 @@ mkdir /scratch
%environment %environment
source /opt/apps/lmod/7.7.7/init/profile source /opt/apps/lmod/7.7.7/init/profile
clearMT export LMOD_PACKAGE_PATH=/opt/apps/lmod/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export -f ml if [ "$(id -u)" -ne 0 ]; then
export -f module MODULEPATH=""
export -f clearMT
for dir in /apps/modules/*
do
# Exclude following directories
if [[ (${dir##*/} == "all") ]]; then
continue
fi
# In case that it's directory
if [ -d "$dir" ]; then
if [ -z "$MODULEPATH" ]; then
MODULEPATH="$dir"
else
MODULEPATH="$MODULEPATH:$dir"
fi
fi
done
# export
export MODULEPATH
fi
ml purge
SINGULARITY_BIN_PATH=/apps/all/Singularity/3.5.2/bin SINGULARITY_BIN_PATH=/apps/all/Singularity/3.6.0/bin
IMAGE_PATH=/apps/all/OS IMAGE_PATH=/apps/all/OS
MODULEFILE_PATH=/apps/modules MODULEFILE_PATH=/apps/modules
USER_IMAGE=easybuild USER_IMAGE=easybuild
EBROOTSQUASHFSMINTOOLS=/apps/all/squashfs-tools/4.3 EBROOTSQUASHFSMINTOOLS=/apps/all/squashfs-tools/4.3
PATH=$PATH:/apps/all/Singularity/3.5.2/bin:/apps/all/squashfs-tools/4.3/bin PATH=$PATH:/apps/all/Singularity/3.6.0/bin:/apps/all/squashfs-tools/4.3/bin
...@@ -50,8 +50,29 @@ mkdir /scratch ...@@ -50,8 +50,29 @@ mkdir /scratch
%environment %environment
source /opt/apps/lmod/7.7.7/init/profile source /opt/apps/lmod/7.7.7/init/profile
clearMT export LMOD_PACKAGE_PATH=/opt/apps/lmod/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export -f ml if [ "$(id -u)" -ne 0 ]; then
export -f module MODULEPATH=""
export -f clearMT
for dir in /apps/modules/*
do
# Exclude following directories
if [[ (${dir##*/} == "all") ]]; then
continue
fi
# In case that it's directory
if [ -d "$dir" ]; then
if [ -z "$MODULEPATH" ]; then
MODULEPATH="$dir"
else
MODULEPATH="$MODULEPATH:$dir"
fi
fi
done
# export
export MODULEPATH
fi
ml purge
...@@ -33,8 +33,30 @@ python get-pip.py ...@@ -33,8 +33,30 @@ python get-pip.py
pip install setuptools --upgrade pip install setuptools --upgrade
%environment %environment
. /opt/apps/lmod/7.7.7/init/profile source /opt/apps/lmod/7.7.7/init/profile
ml purge --force export LMOD_PACKAGE_PATH=/opt/apps/lmod/
export -f ml
export -f module if [ "$(id -u)" -ne 0 ]; then
export -f clearMT MODULEPATH=""
for dir in /apps/modules/*
do
# Exclude following directories
if [[ (${dir##*/} == "all") ]]; then
continue
fi
# In case that it's directory
if [ -d "$dir" ]; then
if [ -z "$MODULEPATH" ]; then
MODULEPATH="$dir"
else
MODULEPATH="$MODULEPATH:$dir"
fi
fi
done
# export
export MODULEPATH
fi
ml purge
...@@ -58,12 +58,34 @@ cd /bin ...@@ -58,12 +58,34 @@ cd /bin
rm sh && ln -s /bin/bash sh rm sh && ln -s /bin/bash sh
%environment %environment
source /opt/apps/lmod/7.7.7/init/profile
clearMT
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export -f ml
export -f module
export -f clearMT
export OMPI_MCA_btl_tcp_if_include=10.33.4.0/24 export OMPI_MCA_btl_tcp_if_include=10.33.4.0/24
export OMPI_MCA_orte_base_help_aggregate=0 export OMPI_MCA_orte_base_help_aggregate=0
export OMPI_MCA_btl_openib_if_include=mlx5_0 export OMPI_MCA_btl_openib_if_include=mlx5_0
source /opt/apps/lmod/7.7.7/init/profile
export LMOD_PACKAGE_PATH=/opt/apps/lmod/
if [ "$(id -u)" -ne 0 ]; then
MODULEPATH=""
for dir in /apps/modules/*
do
# Exclude following directories
if [[ (${dir##*/} == "all") ]]; then
continue
fi
# In case that it's directory
if [ -d "$dir" ]; then
if [ -z "$MODULEPATH" ]; then
MODULEPATH="$dir"
else
MODULEPATH="$MODULEPATH:$dir"
fi
fi
done
# export
export MODULEPATH
fi
ml purge
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment