diff --git a/etc/platform-configs/hazelhen/compiler/cray b/etc/platform-configs/hazelhen/compiler/cray new file mode 100644 index 0000000..c73804d --- /dev/null +++ b/etc/platform-configs/hazelhen/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/hazelhen/compiler/gnu b/etc/platform-configs/hazelhen/compiler/gnu new file mode 100644 index 0000000..7095775 --- /dev/null +++ b/etc/platform-configs/hazelhen/compiler/gnu @@ -0,0 +1,3 @@ +#!/bin/bash +COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn" +COMPILER_VERSION_CMD="cc -dumpversion" diff --git a/etc/platform-configs/hazelhen/compiler/intel b/etc/platform-configs/hazelhen/compiler/intel new file mode 100644 index 0000000..37b5c77 --- /dev/null +++ b/etc/platform-configs/hazelhen/compiler/intel @@ -0,0 +1,3 @@ +#!/bin/bash +COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn" +COMPILER_VERSION_CMD="cc --version 2>&1 | awk '/icc/{print \$3; }'" diff --git a/etc/platform-configs/hazelhen/compiler/pgi b/etc/platform-configs/hazelhen/compiler/pgi new file mode 100644 index 0000000..af3e8a7 --- /dev/null +++ b/etc/platform-configs/hazelhen/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/hazelhen/compiler/system b/etc/platform-configs/hazelhen/compiler/system new file mode 100644 index 0000000..50913ec --- /dev/null +++ b/etc/platform-configs/hazelhen/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"