STREAmS-CFD / STREAmS-2

GNU General Public License v3.0
54 stars 16 forks source link

Is the project compatiable with OpenACC stead of openmpi #2

Open jiaqiwang969 opened 1 year ago

jiaqiwang969 commented 1 year ago

Hi, I am not sure it can be run project with OpenACC+fortran. With nvfortran command. For example, On Saga, load the NVHPC/20.7 module and compile with nvfortran as follows:

$ module load NVHPC/20.7 $ nvfortran -o mxm -fast -acc -gpu=cc60 -Minfo=accel mxm.f90

Actually, when I make it, "use mpi" stops me to make it.

How to set makefile? and how to modify the code with acc instead mpi

Thanks

davidem88 commented 4 days ago

streams-2 does not use openACC directives. The device code is based on CUDA Fortran only.