Print info about the compiler environment in use.

This commit is contained in:
Christoph Niethammer 2011-07-27 08:58:17 +00:00
parent 3ae506dfb5
commit 60cdbe96e4

5
sit
View file

@ -92,9 +92,12 @@ if [ ! -z "${COMPILER}" ] ; then
fi
# make the compiler variables CC, CXX, FC and F77 available
if [ ! -z "$COMPILER_OPTS" ] ; then
echo "Compiler env: ${COMPILER_OPTS}"
export ${COMPILER_OPTS}
fi
echo "Using compiler: $COMPILER version: $COMPILER_VERSION"
if [ ! -z $COMPILER ] ; then
echo "Using compiler: $COMPILER version: $COMPILER_VERSION"
fi
if [ ! -z "$MPI" ] ; then
MPI_MODULE="mpi/$MPI"