Code Sample with MPI - OpenACC

Are there any code samples that show how MPI and OpenACC can be used together.

Thanks.

There are many. Here’s a couple:

Fortran:

Seismic:



with the source packages: http://www.pgroup.com/lit/samples/pginsider/seismic_cpml_samples.tar

Cloverleaf:


http://uk-mac.github.io/

C/C++:


http://www.speedup.ch/workshops/w43_2014/tutorial/html/openacc_mpi_1.html
Class #2: https://developer.nvidia.com/openacc-advanced-course
1 Like

Thanks Mat.