diff --git a/etc/platform-configs/hermit1/compiler/cray b/etc/platform-configs/hermit1/compiler/cray new file mode 100644 index 0000000..c73804d --- /dev/null +++ b/etc/platform-configs/hermit1/compiler/cray @@ -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; }'" diff --git a/etc/platform-configs/hermit1/compiler/gnu b/etc/platform-configs/hermit1/compiler/gnu new file mode 100644 index 0000000..1f86edc --- /dev/null +++ b/etc/platform-configs/hermit1/compiler/gnu @@ -0,0 +1,3 @@ +#!/bin/bash +COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=tfn" +COMPILER_VERSION_CMD="cc -dumpversion" diff --git a/etc/platform-configs/hermit1/compiler/pgi b/etc/platform-configs/hermit1/compiler/pgi new file mode 100644 index 0000000..af3e8a7 --- /dev/null +++ b/etc/platform-configs/hermit1/compiler/pgi @@ -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/-/./'" diff --git a/etc/platform-configs/hermit1/compiler/system b/etc/platform-configs/hermit1/compiler/system new file mode 100644 index 0000000..50913ec --- /dev/null +++ b/etc/platform-configs/hermit1/compiler/system @@ -0,0 +1,3 @@ +#!/bin/bash +COMPILER_OPTS="CC=gcc CXX=g++ FC=gfortran F90=gfortran F77=gfortran" +COMPILER_VERSION_CMD="gcc -dumpversion" diff --git a/sit b/sit index 808fb3f..2ecdda2 100755 --- a/sit +++ b/sit @@ -23,6 +23,9 @@ case $HOSTNAME in cl3fr1|cl3fr2|imager) PLATFORM="laki" ;; + eslogin*) + PLATFORM="hermit1" + ;; *) sit_info "Unknown host '$HOSTNAME' using default platform '${DEFAULT_PLATFORM}' configuration" PLATFORM="${DEFAULT_PLATFORM}"