From 069e766b994255b7069b2a82c237dd953c445eaa Mon Sep 17 00:00:00 2001 From: Jose Gracia Date: Fri, 31 Oct 2014 12:01:10 +0000 Subject: [PATCH] --- etc/platform-configs/hornet/compiler/cray | 3 +++ etc/platform-configs/hornet/compiler/gnu | 3 +++ etc/platform-configs/hornet/compiler/intel | 3 +++ etc/platform-configs/hornet/compiler/pgi | 3 +++ etc/platform-configs/hornet/compiler/system | 3 +++ 5 files changed, 15 insertions(+) create mode 100644 etc/platform-configs/hornet/compiler/cray create mode 100644 etc/platform-configs/hornet/compiler/gnu create mode 100644 etc/platform-configs/hornet/compiler/intel create mode 100644 etc/platform-configs/hornet/compiler/pgi create mode 100644 etc/platform-configs/hornet/compiler/system diff --git a/etc/platform-configs/hornet/compiler/cray b/etc/platform-configs/hornet/compiler/cray new file mode 100644 index 0000000..c73804d --- /dev/null +++ b/etc/platform-configs/hornet/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/hornet/compiler/gnu b/etc/platform-configs/hornet/compiler/gnu new file mode 100644 index 0000000..7095775 --- /dev/null +++ b/etc/platform-configs/hornet/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/hornet/compiler/intel b/etc/platform-configs/hornet/compiler/intel new file mode 100644 index 0000000..37b5c77 --- /dev/null +++ b/etc/platform-configs/hornet/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/hornet/compiler/pgi b/etc/platform-configs/hornet/compiler/pgi new file mode 100644 index 0000000..af3e8a7 --- /dev/null +++ b/etc/platform-configs/hornet/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/hornet/compiler/system b/etc/platform-configs/hornet/compiler/system new file mode 100644 index 0000000..50913ec --- /dev/null +++ b/etc/platform-configs/hornet/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"