Platform configs for vulcan.
This commit is contained in:
parent
b62bc4def5
commit
1afff42278
7 changed files with 89 additions and 1 deletions
3
etc/platform-configs/vulcan/compiler/gnu
Normal file
3
etc/platform-configs/vulcan/compiler/gnu
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
COMPILER_OPTS="CC=gcc CXX=g++ F77=gfortran FC=gfortran"
|
||||||
|
COMPILER_VERSION_CMD="gcc -dumpversion"
|
3
etc/platform-configs/vulcan/compiler/intel
Normal file
3
etc/platform-configs/vulcan/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/vulcan/compiler/llwm
Normal file
3
etc/platform-configs/vulcan/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/vulcan/compiler/pgi
Normal file
3
etc/platform-configs/vulcan/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/vulcan/compiler/system
Symbolic link
1
etc/platform-configs/vulcan/compiler/system
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
gnu
|
74
etc/platform-configs/vulcan/package-list
Normal file
74
etc/platform-configs/vulcan/package-list
Normal 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
3
sit
|
@ -132,7 +132,7 @@ else
|
||||||
fi
|
fi
|
||||||
MPI_DIR=$MPICH_DIR
|
MPI_DIR=$MPICH_DIR
|
||||||
;;
|
;;
|
||||||
laki|*)
|
laki|vulcan|*)
|
||||||
if [ -z "$COMPILER_VERSION" ] ; then
|
if [ -z "$COMPILER_VERSION" ] ; then
|
||||||
COMPILER_MODULE=compiler/${COMPILER}
|
COMPILER_MODULE=compiler/${COMPILER}
|
||||||
else
|
else
|
||||||
|
@ -157,6 +157,7 @@ if [ ! -z $COMPILER ] ; then
|
||||||
echo "Using compiler: $COMPILER version: $COMPILER_VERSION"
|
echo "Using compiler: $COMPILER version: $COMPILER_VERSION"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ ! -z "$MPI" ] ; then
|
if [ ! -z "$MPI" ] ; then
|
||||||
MPI_MODULE="mpi/$MPI"
|
MPI_MODULE="mpi/$MPI"
|
||||||
sit_info_verbose "MPI: $MPI"
|
sit_info_verbose "MPI: $MPI"
|
||||||
|
|
Loading…
Reference in a new issue