1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-07-18 08:53:47 +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
*ifort*)
FCFLAGS="$FCFLAGS -nofor-main -mp -target=gpu"
FCFLAGS="$FCFLAGS -nofor-main"
;;
*nvfortran*)
@ -213,7 +213,7 @@ esac
case $CC in
*nvc*)
CFLAGS="$CFLAGS -fPIC"
CFLAGS="$CFLAGS -fPIC -mp -target=gpu"
;;
esac