mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-12-23 12:57:20 +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
|
case $FC in
|
||||||
|
|
||||||
*ifort*)
|
*ifort*)
|
||||||
FCFLAGS="$FCFLAGS -nofor-main"
|
FCFLAGS="$FCFLAGS -nofor-main -mp -target=gpu"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*nvfortran*)
|
*nvfortran*)
|
||||||
FCFLAGS="$FCFLAGS -fPIC -Mnomain"
|
FCFLAGS="$FCFLAGS -fPIC -Mnomain -mp -target=gpu"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user