Platform configs for vulcan.

This commit is contained in:
Christoph Niethammer 2019-01-30 15:34:17 +00:00
parent b62bc4def5
commit 1afff42278
7 changed files with 89 additions and 1 deletions

View file

@ -0,0 +1,3 @@
#!/bin/bash
COMPILER_OPTS="CC=gcc CXX=g++ F77=gfortran FC=gfortran"
COMPILER_VERSION_CMD="gcc -dumpversion"

View file

@ -0,0 +1,3 @@
#!/bin/bash
COMPILER_OPTS="CC=icc CXX=icpc F77=ifort FC=ifort"
COMPILER_VERSION_CMD="icc -dumpversion"

View file

@ -0,0 +1,3 @@
#!/bin/bash
COMPILER_OPTS="CC=clang CXX=clang++"
COMPILER_VERSION_CMD="llvm-config --version"

View file

@ -0,0 +1,3 @@
#!/bin/bash
COMPILER_OPTS="CC=pgcc CXX=pgCC FC=pgf95 F90=pgf90 F77=pgf77"
COMPILER_VERSION_CMD="pgcc -V | awk '/pgcc/{print \$2}' | sed -e 's/-/./'"

View file

@ -0,0 +1 @@
gnu

View file

@ -0,0 +1,74 @@
# comment line
# also ignore blank lines
# seperate different versions of a module by ','
compiler/gnu/(4.6.3,4.7.3):
# the following line is eqivalent to
# compiler/gnu/4.6.3:
# compiler/gnu/4.7.3:
compiler/intel/13.1.2:
mpi/openmpi/(1.6.4,1.7.1): compiler/gnu/(4.6.3,4.7.3)
mpi/openmpi/(1.6.4,1.7.1): compiler/intel/13.1.2
# build every version with all listed compilers:
# mpi/openmpi/1.6.4: compiler/gnu/4.6.3
# mpi/openmpi/1.6.4: compiler/gnu/4.7.3
# mpi/openmpi/1.6.4: compiler/intel/13.1.2
# mpi/openmpi/1.7.1: compiler/gnu/4.6.3
# mpi/openmpi/1.7.1: compiler/gnu/4.7.3
# mpi/openmpi/1.7.1: compiler/intel/13.1.2
numlib/mkl/3.3.0: mpi/openmpi/(1.6.4,1.7.1)
performance/extrae/2.3: mpi/openmpi/1.6.4{compiler/gnu/4.6.3} | cuda/(4.2,5.0)
performance/extrae/2.3: mpi/openmpi/1.7.1{compiler/intel/13.1.2} | cuda/(4.2,5.0)
# performance/extrae/2.3: mpi/openmpi/1.6.4 cuda/4.2
# performance/extrae/2.3: mpi/openmpi/1.6.4 cuda/5.0
# performance/extrae/2.3: mpi/openmpi/1.7.1 cuda/4.2
# performance/extrae/2.3: mpi/openmpi/1.7.1 cuda/5.0
performance/vampirtrace/(5.14.3,5.14.4): mpi/openmpi/(1.6.4) | cuda/(4.2,5.0) | numlib/mkl/3.3.0{mpi/openmpi/1.6.4{compiler/gnu/4.6.3}} | compiler/gnu/4.6.3
# performance/vampirtrace/5.14.3: mpi/openmpi/1.6.4 cuda/4.2
# performance/vampirtrace/5.14.3: mpi/openmpi/1.6.4 cuda/5.0
# performance/vampirtrace/5.14.4: mpi/openmpi/1.6.4 cuda/4.2
# performance/vampirtrace/5.14.4: mpi/openmpi/1.6.4 cuda/5.0
performance/vampirtrace/(5.14.3,5.14.4): mpi/openmpi/(1.7.1) | cuda/(4.2,5.0) | numlib/mkl/3.3.0{mpi/openmpi/1.7.1{compiler/gnu/4.6.3}}
# performance/vampirtrace/5.14.3: mpi/openmpi/1.7.1 cuda/4.2
# performance/vampirtrace/5.14.3: mpi/openmpi/1.7.1 cuda/5.0
# performance/vampirtrace/5.14.4: mpi/openmpi/1.7.1 cuda/4.2
# performance/vampirtrace/5.14.4: mpi/openmpi/1.7.1 cuda/5.0
# Open issues for later ;)
#
# How to handle inherited dependencies
# *: mpi/openmpi/1.6.4{gnu,intel} ????
# performance/vampirtrace/5.14.4: mpi/openmpi/1.6.4->compiler/gnu/4.6.3 cuda/4.2
# performance/vampirtrace/5.14.4: mpi/openmpi/1.6.4->compiler/gnu/4.7.1 cuda/4.2
# performance/vampirtrace/5.14.4: mpi/openmpi/1.6.4->compiler/intel/13.1.2 cuda/4.2
#
# *: mpi/openmpi/1.6.4
# is equivalent to
# *: mpi/openmpi/1.6.4{*}
#
# numlib/fftw/3.3.0: mpi/openmpi/(1.6.4,1.7.1)
# # numlib/fftw/3.3.0: mpi/openmpi/1.6.4
# # numlib/fftw/3.3.0: mpi/openmpi/1.7.1
#
# performance/vampirtrace/5.14.4: mpi/openmpi/(1.6.4,1.7.1) | numlib/fftw/3.3.0{1.6.4,1.7.1}
# # performance/vampirtrace/5.14.4: mpi/openmpi/1.6.4 numlib/fftw/3.3.0 mpi/openmpi/1.6.4
# # performance/vampirtrace/5.14.4: mpi/openmpi/1.7.1 numlib/fftw/3.3.0{mpi/openmpi/1.7.1{compiler/intel/13.1.2}}
#
# How to create installation paths including dependencies?
# Current
# --prefix=performance/vampirtrace/5.14.3/mpi/openmpi-1.6.4-gnu-4.6.3-cuda-4.2
# --prefix=performance/vampirtrace/5.14.3/cuda/4.2/mpi/openmpi/1.6.4
# --prefix=performance/vampirtrace/5.14.3/mpi/openmpi/1.6.4/cuda/4.2
#
# specify module tags in []
# be aware of default->version association; current and past!
# compiler/gnu/(4.6.3[testing],4.7.3[default]):
# the following two lines are then identical:
# mpi/openmpi/1.6.4: compiler/gnu/4.6.3
# mpi/openmpi/1.6.4: compiler/gnu/testing

3
sit
View file

@ -132,7 +132,7 @@ else
fi
MPI_DIR=$MPICH_DIR
;;
laki|*)
laki|vulcan|*)
if [ -z "$COMPILER_VERSION" ] ; then
COMPILER_MODULE=compiler/${COMPILER}
else
@ -157,6 +157,7 @@ if [ ! -z $COMPILER ] ; then
echo "Using compiler: $COMPILER version: $COMPILER_VERSION"
fi
if [ ! -z "$MPI" ] ; then
MPI_MODULE="mpi/$MPI"
sit_info_verbose "MPI: $MPI"