Set variables for MPI compiler wrappers on Cray.

This commit is contained in:
Christoph Niethammer 2019-08-21 14:38:31 +00:00
parent 0223ffd21a
commit 64103734fe
5 changed files with 5 additions and 5 deletions

View file

@ -1,3 +1,3 @@
#!/bin/bash
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn"
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn MPICC=cc MPICXX=CC MPIFC=ftn"
COMPILER_VERSION_CMD="cc -V 2>&1| awk '/Version/{ print \$5; }'"

View file

@ -1,3 +1,3 @@
#!/bin/bash
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn"
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn MPICC=cc MPICXX=CC MPIFC=ftn"
COMPILER_VERSION_CMD="cc -dumpversion"

View file

@ -1,3 +1,3 @@
#!/bin/bash
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn"
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn MPICC=cc MPICXX=CC MPIFC=ftn"
COMPILER_VERSION_CMD="cc --version 2>&1 | awk '/icc/{print \$3; }'"

View file

@ -1,3 +1,3 @@
#!/bin/bash
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn"
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn MPICC=cc MPICXX=CC MPIFC=ftn"
COMPILER_VERSION_CMD="cc -V 2> /dev/null | awk '/pgcc/{print \$2}' | sed -e 's/-/./'"

View file

@ -1,3 +1,3 @@
#!/bin/bash
COMPILER_OPTS="CC=gcc CXX=g++ FC=gfortran F90=gfortran F77=gfortran"
COMPILER_OPTS="CC=gcc CXX=g++ FC=gfortran F90=gfortran F77=gfortran MPICC=cc MPICXX=CC MPIFC=ftn"
COMPILER_VERSION_CMD="gcc -dumpversion"