Skip to content

Cray + NVIDIA GPU on NCSA Delta #763

@sbryngelson

Description

@sbryngelson

This is an example of how to use Cray compilers (17.0) on NCSA Delta with A100 devices for a minimal OpenACC program test.f90. It still needs to be integrated with MFC and ensured it works.

module load nvhpc
module load PrgEnv-cray
export CUDA_HOME=/sw/spack/deltas11-2023-03/apps/linux-rhel8-x86_64/gcc-8.5.0/cuda-12.3.0-7oylpzc
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}

ftn -haccel=nvidia80 -hacc -craype-verbose -M 296,878,1391,1069,5025 -h dynamic -h acc_model=auto_async_none -h acc_model=no_fast_addr -o test test.f90 -L/usr/lib64 -lcudart -L${CUDA_HOME}/lib64

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions