Skip to content
meifeng edited this page Jun 2, 2020 · 4 revisions

Compiling and Running on Cori GPU

  • Login to cori.nersc.gov
  • Modules that need to be loaded
module load gcc/7.3.0
module load cuda/10.1.243
module load llvm/11.0.0-git_20200409
module load esslurm
  • Check out the code
git clone https://github.com/meifeng/GridMini
cd GridMini
git checkout clang-omp
  • Compiling Benchmark_REAL using OpenMP offload with Clang
make
  • Running the benchmark
salloc -A <your></your> -C gpu -N 1 --gres=gpu:1 -t 1:00:00
srun ./Benchmark_REAL.x
Clone this wiki locally