mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2025-01-09 20:48:56 +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
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user