--- RSPTmakes/RSPTautomake/RSPTautomake.sh.orig	2019-08-09 13:45:12.038398676 +0200
+++ RSPTmakes/RSPTautomake/RSPTautomake.sh	2019-08-09 13:48:37.184735110 +0200
@@ -168,8 +168,8 @@
    echo "#RSPTautomake: " $FCOMPILER $FCPPFLAGS > ../../RSPTmake.inc
    if [ -n "$FCPPFLAGS" ]
    then
-      CCOMPILER="mpicc"
-      FCOMPILER="mpif90"
+      CCOMPILER="mpiicc"
+      FCOMPILER="mpiifort"
    fi
    echo "#FORTRAN:">> ../../RSPTmake.inc
    echo "FCOMPILER      =" $FCOMPILER >> ../../RSPTmake.inc
@@ -185,7 +185,7 @@
    echo "LAPACKLIB      =" $LAPACKLIB >> ../../RSPTmake.inc
    echo "BLASLIB        =" $BLASLIB >> ../../RSPTmake.inc
    echo "FFTWLIB        =" $FFTWLIB >> ../../RSPTmake.inc
-   echo "EXTRALIBS      =" $EXTRALIBS >> ../../RSPTmake.inc
+#   echo "EXTRALIBS      =" $EXTRALIBS >> ../../RSPTmake.inc
    echo "INCLUDEDIRS    =" $INCLUDEDIRS >> ../../RSPTmake.inc
 else
    echo "RSPTautomake failed to find a suitable FCOMPILER. Please load the appropriate modules and try again."
