...
Code Block |
---|
$ module load rocm/version craype-accel-amd-gfx90a $ hipcc foo.cppcu for MPI enabled codes $ module load rocm/version craype-accel-amd-gfx90a $ export CPATH=${CPATH}:${CRAY_MPICH_DIR}/include $ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CRAY_MPICH_DIR}/lib $ hpicc -L${CRAY_MPICH_DIR}/lib -lmpi foo.cu * foo.cu is a ported file from cuda code |
Compiler manual pages
Executing man cc
, man CC
or man ftn
within will open the manual pages of the wrapper. Manual pages for every compiler are also available.