CUDA (Compute Unified Device Architecture) is an interface to program Nvidia GPUs. It offers support to the languages such as C, C++, and Fortran.
To build and execute code on the GPU A100 cluster, please login to
...
Codeblock | ||||
---|---|---|---|---|
| ||||
bgnlogin1 $ module load nvhpc-hpcx/23.1 bgnlogin1 $ nvc -cuda -gpu=cc8.0 -cudalib=cublas -o cuda_cublas.bin cuda_cublas.c bgnlogin1 $ mpicc -cuda -gpu=cc8.0 -cudalib=cublas -o mpi_cuda_cublas.bin mpi_cuda_cublas.c |
...