Skip to content

Commit

Permalink
update readme cmake requirement (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
artv3 authored Aug 12, 2024
1 parent 484c8d2 commit 0fcf955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ tutorial and then moving on to the Intermediate tutorial.
If you are running on an LC machine and would like to build locally,
be sure to do the following to build and run the tutorials:
```
module load cmake/3.20.2
module load cmake/3.23.1
module load gcc/8.3.1
module load cuda/11.2.0
cmake -DENABLE_CUDA=On -DENABLE_OPENMP=Off -DCMAKE_CUDA_ARCHITECTURES=70 -DCMAKE_CUDA_COMPILER=/usr/tce/packages/cuda/cuda-11.2.0/bin/nvcc -DCUDA_TOOLKIT_ROOT_DIR=/usr/tce/packages/cuda/cuda-11.2.0 -DBLT_CXX_STD=c++14 -DCMAKE_BUILD_TYPE=Release -DRAJA_ENABLE_EXERCISES=On -DRAJA_ENABLE_OPENMP=Off -DCMAKE_CUDA_FLAGS=--extended-lambda -DCUDA_ARCH=sm_70 ../
```

(Note: you need a cmake version greater than 3.19 and you need a more
(Note: you need a cmake version greater or equal than 3.23.1 and you need a more
recent gcc version which can handle c++14. For example, on the Lassen LC machine a cmake command like `cmake -DBLT_CXX_STD=c++14 -DCMAKE_CUDA_ARCHITECTURES=70 -DENABLE_CUDA=On -DCMAKE_CUDA_FLAGS="--expt-extended-lambda" ../` after loading appropriate cmake and gcc modules will work well.)

# License
Expand Down

0 comments on commit 0fcf955

Please sign in to comment.