Add support for the HLRS training cluster to sit
Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
This commit is contained in:
parent
8cc5bf4062
commit
06885b9e98
6 changed files with 19 additions and 0 deletions
3
etc/platform-configs/training/compiler/gcc
Normal file
3
etc/platform-configs/training/compiler/gcc
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
COMPILER_OPTS="CC=gcc CXX=g++ F77=gfortran FC=gfortran"
|
||||
COMPILER_VERSION_CMD="gcc -dumpfullversion"
|
3
etc/platform-configs/training/compiler/intel
Normal file
3
etc/platform-configs/training/compiler/intel
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
COMPILER_OPTS="CC=icc CXX=icpc F77=ifort FC=ifort"
|
||||
COMPILER_VERSION_CMD="icc -dumpversion"
|
3
etc/platform-configs/training/compiler/llwm
Normal file
3
etc/platform-configs/training/compiler/llwm
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
COMPILER_OPTS="CC=clang CXX=clang++"
|
||||
COMPILER_VERSION_CMD="llvm-config --version"
|
3
etc/platform-configs/training/compiler/pgi
Normal file
3
etc/platform-configs/training/compiler/pgi
Normal 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/-/./'"
|
1
etc/platform-configs/training/compiler/system
Symbolic link
1
etc/platform-configs/training/compiler/system
Symbolic link
|
@ -0,0 +1 @@
|
|||
gnu
|
6
sit
6
sit
|
@ -132,6 +132,12 @@ case $PLATFORM in
|
|||
MPI_VERSION_NUM=${MPI_VERSION%%-*}
|
||||
sit_info_verbose "MPI version num: $MPI_VERSION_NUM"
|
||||
;;
|
||||
training)
|
||||
COMPILER_MODULE=compiler/${COMPILER}${COMPILER_VERSION:+"/${COMPILER_VERSION}"}
|
||||
MPI_MODULE=${MPI}${MPI_VERSION:+"/${MPI_VERSION}"}
|
||||
MPI_VERSION_NUM=${MPI_VERSION%%-*}
|
||||
sit_info_verbose "MPI version num: $MPI_VERSION_NUM"
|
||||
;;
|
||||
system)
|
||||
echo "Using system default compiler and MPI"
|
||||
COMPILER="" # prevent any compiler specs in the prefix
|
||||
|
|
Loading…
Reference in a new issue