Loading README.md +7 −0 Original line number Diff line number Diff line Loading @@ -39,3 +39,10 @@ ENVIRONMENT SETUP - Set environment variable, openarc, to the OpenARC install directory: $ export openarc=$HOME/local/openarc * Additional Settings for example tests - If an input OpenACC program uses OpenMP, set environment variable, OMP_NUM_THREADS. $ export OMP_NUM_THREADS=10 - To compile MPI/OpenACC program, set environment variable, mpiinclude, to the MPI include path. $ export mpiinclude=/apps/compiler/pgi/linux86-64/19.1/cudampi/10.0/openmpi/3.1.0/include jacobi_mpi/O2GBuild.script +4 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,10 @@ if [ "$openarcrt" != "" ]; then rm "openarcConf.txt_tmp" fi if [ "$MPI_HOME" != "" ]; then mpiinclude="${MPI_HOME}/include" fi if [ "$mpiinclude" != "" ]; then mv "openarcConf.txt" "openarcConf.txt_tmp" cat "openarcConf.txt_tmp" | sed "s|__mpiinclude__|${mpiinclude}|g" > "openarcConf.txt" Loading Loading
README.md +7 −0 Original line number Diff line number Diff line Loading @@ -39,3 +39,10 @@ ENVIRONMENT SETUP - Set environment variable, openarc, to the OpenARC install directory: $ export openarc=$HOME/local/openarc * Additional Settings for example tests - If an input OpenACC program uses OpenMP, set environment variable, OMP_NUM_THREADS. $ export OMP_NUM_THREADS=10 - To compile MPI/OpenACC program, set environment variable, mpiinclude, to the MPI include path. $ export mpiinclude=/apps/compiler/pgi/linux86-64/19.1/cudampi/10.0/openmpi/3.1.0/include
jacobi_mpi/O2GBuild.script +4 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,10 @@ if [ "$openarcrt" != "" ]; then rm "openarcConf.txt_tmp" fi if [ "$MPI_HOME" != "" ]; then mpiinclude="${MPI_HOME}/include" fi if [ "$mpiinclude" != "" ]; then mv "openarcConf.txt" "openarcConf.txt_tmp" cat "openarcConf.txt_tmp" | sed "s|__mpiinclude__|${mpiinclude}|g" > "openarcConf.txt" Loading