Added new platform hermit1.
This commit is contained in:
parent
e439216d85
commit
96f446b375
5 changed files with 15 additions and 0 deletions
3
etc/platform-configs/hermit1/compiler/cray
Normal file
3
etc/platform-configs/hermit1/compiler/cray
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn"
|
||||||
|
COMPILER_VERSION_CMD="cc -V 2>&1| awk '/Version/{ print \$5; }'"
|
3
etc/platform-configs/hermit1/compiler/gnu
Normal file
3
etc/platform-configs/hermit1/compiler/gnu
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=tfn"
|
||||||
|
COMPILER_VERSION_CMD="cc -dumpversion"
|
3
etc/platform-configs/hermit1/compiler/pgi
Normal file
3
etc/platform-configs/hermit1/compiler/pgi
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn"
|
||||||
|
COMPILER_VERSION_CMD="cc -V 2> /dev/null | awk '/pgcc/{print \$2}' | sed -e 's/-/./'"
|
3
etc/platform-configs/hermit1/compiler/system
Normal file
3
etc/platform-configs/hermit1/compiler/system
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
COMPILER_OPTS="CC=gcc CXX=g++ FC=gfortran F90=gfortran F77=gfortran"
|
||||||
|
COMPILER_VERSION_CMD="gcc -dumpversion"
|
3
sit
3
sit
|
@ -23,6 +23,9 @@ case $HOSTNAME in
|
||||||
cl3fr1|cl3fr2|imager)
|
cl3fr1|cl3fr2|imager)
|
||||||
PLATFORM="laki"
|
PLATFORM="laki"
|
||||||
;;
|
;;
|
||||||
|
eslogin*)
|
||||||
|
PLATFORM="hermit1"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
sit_info "Unknown host '$HOSTNAME' using default platform '${DEFAULT_PLATFORM}' configuration"
|
sit_info "Unknown host '$HOSTNAME' using default platform '${DEFAULT_PLATFORM}' configuration"
|
||||||
PLATFORM="${DEFAULT_PLATFORM}"
|
PLATFORM="${DEFAULT_PLATFORM}"
|
||||||
|
|
Loading…
Reference in a new issue