...
Code Block |
---|
$ module load rocm/version<VERSION> craype-accel-amd-gfx90a $ hipcc foo.cu for MPI enabled codes $ module load rocm/version<VERSION> craype-accel-amd-gfx90a $ export CPATH=${CPATH}:${CRAY_MPICH_DIR}/include $ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CRAY_MPICH_DIR}/lib $ hpicchipcc -L${CRAY_MPICH_DIR}/lib -lmpi foo.cu * foo.cu is a ported file from cuda code |
...