R11986/9c8248caee6dcuda_version
/
README.md
#Miniapp to test GBS gradients #
#To compile and run OpenMP with Offload implementation on izar with NVHPC # module load nvhpc/21.2-mpi make
srun -p debug --gres=gpu:1 ./gbs_gradients
#To compile and run OpenMP with Offload implementation on izar with gcc module load gcc #modify FLAGS and FC in Makefile uncommenting the corresponding lines make srun -p debug --gres=gpu:1 ./gbs_gradients
#To compile and run OpenMP with Offload implementation on piz-daint with cce compiler module load daint-gpu module load craype-accel-nvidia60 module load cudatoolkit export CRAY_ACCEL_TARGET=nvidia60 git checkout compile_without_openacc # branch with acc pragmas commented #modify FLAGS and FC in Makefile uncommenting the corresponding lines make
srun --gres=gpu:1 -c 12 -N 1 -n 1 --time=00:15:00 --account=g26 -C gpu ./gbs_gradients
#To compile and run CUDA C implementation on izar with gcc module load gcc nvhpc/21.2-mpi #modify FLAGS and FC in Makefile uncommenting the corresponding lines make gbs_gradients_cuda srun -p debug --gres=gpu:1 ./gbs_gradients