Fix for libint build with Intel oneAPI

This commit is contained in:
Matthias Krack 2023-02-24 09:19:49 +01:00
parent 1da4a73477
commit b9fdf4e26b

View file

@ -84,7 +84,7 @@ case "$with_libint" in
if [ "${MPI_MODE}" = "intelmpi" ]; then
# Fix bug in makefile for Fortran module
sed -i "s/\$(CXX) \$(CXXFLAGS)/\$(FC) \$(FCFLAGS)/g" fortran/Makefile
sed -i -e "s/\$(CXX) \$(CXXFLAGS)/\$(FC) \$(FCFLAGS)/g" -e "s/\$(FCLIBS) -o/\$(FCLIBS) -lstdc++ -o/" fortran/Makefile
fi
make -j $(get_nprocs) > make.log 2>&1 || tail -n ${LOG_LINES} make.log