1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-07-18 17:03:43 +02:00

Fix flag for nvc and nvfortran

This commit is contained in:
hoffer 2022-04-05 10:07:25 +02:00
parent 511eba5843
commit 508b294190

View File

@ -201,7 +201,7 @@ AS_IF([test "$BLAS_LIBS" == "$LAPACK_LIBS"], [BLAS_LIBS=""])
case $FC in case $FC in
*ifort*) *ifort*)
FCFLAGS="$FCFLAGS -nofor-main -mp -target=gpu" FCFLAGS="$FCFLAGS -nofor-main"
;; ;;
*nvfortran*) *nvfortran*)
@ -213,7 +213,7 @@ esac
case $CC in case $CC in
*nvc*) *nvc*)
CFLAGS="$CFLAGS -fPIC" CFLAGS="$CFLAGS -fPIC -mp -target=gpu"
;; ;;
esac esac