diff --git a/sit b/sit index cb6ff8c..665302f 100755 --- a/sit +++ b/sit @@ -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"