Planned maintenance on Wednesday, 2021-01-20, 17:00-18:00. Expect some interruptions during that time

Commit 2a8db712 authored by Simon May's avatar Simon May

Create separate scripts for compiler/MPI module combinations

parent b2ed2ae3
......@@ -2,38 +2,10 @@
# in /etc/profile, i.e. *before* ~/.profile!
. ~/.env
# setup modules; only execute once to prevent re-loading impi after loading gcc
if [ -z "$_MODULES_LOADED" ]; then
# set variable to mark modules as loaded
_MODULES_LOADED=1
export _MODULES_LOADED
# hierarchical module system: compiler → mpi → libraries
# Modules fftw-mpi and hdf5-mpi become available after loading a compiler module
# and an MPI library (impi). The available modules are determined by the
# compiler/MPI combination that was loaded (i.e. in this case, fftw-mpi is the
# version compiled with intel and impi).
# Currently, loading both compiler modules (gcc and intel) causes problems with
# the MODULEPATH that is set up by impi, so make sure to load another compiler
# only *after* impi is loaded!
module load intel
module load impi
module load fftw-serial
module load hdf5-serial
module load gsl
module load pkg-config
module load clang
module load datashare
module load git
#module load mathematica # only available on login nodes
#module load idl # only available on login nodes
module load anaconda
module load mpi4py
module load julia
module load gnuplot
module load p7zip
# load gcc *after* any module affected by the hierarchical intel/impi module tree!
module load gcc
fi
# setup modules
. ~/modules/gcc.sh
#module load mathematica # only available on login nodes
#module load idl # only available on login nodes
# if running interactively: set MPI variables; else stop
# see https://www.mpcdf.mpg.de/services/computing/linux/Astrophysics
......
module load fftw-serial
module load hdf5-serial
module load gsl
module load pkg-config
module load clang
module load datashare
module load git
module load anaconda
module load julia
module load gnuplot
module load p7zip
module purge
module load gcc
module load openmpi
. ~/modules/common.sh
#module load mpi4py # only available with impi?
module purge
module load intel
module load impi
. ~/modules/common.sh
module load mpi4py
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment