Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README cmake requirement #26

Merged
merged 1 commit into from
Aug 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading