mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-12-23 04:44:03 +01:00
Add flags for nvc and nvfortran to support offload
This commit is contained in:
parent
7e56b3e2ed
commit
31a05c47e2
@ -201,11 +201,11 @@ AS_IF([test "$BLAS_LIBS" == "$LAPACK_LIBS"], [BLAS_LIBS=""])
|
||||
case $FC in
|
||||
|
||||
*ifort*)
|
||||
FCFLAGS="$FCFLAGS -nofor-main"
|
||||
FCFLAGS="$FCFLAGS -nofor-main -mp -target=gpu"
|
||||
;;
|
||||
|
||||
*nvfortran*)
|
||||
FCFLAGS="$FCFLAGS -fPIC -Mnomain"
|
||||
FCFLAGS="$FCFLAGS -fPIC -Mnomain -mp -target=gpu"
|
||||
;;
|
||||
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user