mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2025-01-08 20:33:40 +01:00
Fix flag for nvc and nvfortran
This commit is contained in:
parent
511eba5843
commit
508b294190
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user