Skip to content

Commit 8b8a714

Browse files
committed
Update README.md file to add instructions for Polaris
1 parent af5774d commit 8b8a714

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,35 @@
33

44
## Compilation
55

6+
### Laptop DELL with oneapi
67
```
78
mkdir build
89
cmake ../src/ -DCMAKE_CXX_COMPILER=icpx
910
cmake --build .
1011
```
12+
13+
### Polaris - ALCF machine
14+
```
15+
module use /soft/modulefiles
16+
module load oneapi/upstream
17+
module load nvhpc-mixed
18+
module load craype-accel-nvidia80
19+
module unload nvhpc-mixed
20+
module load spack-pe-base cmake
21+
22+
EXTRA_FLAGS="-sycl-std=2020 -O3 -fsycl -fsycl-targets=nvptx64-nvidia-cuda -Xsycl-target-backend --cuda-gpu-arch=sm_80"
23+
export CFLAGS="-ffp-model=precise"
24+
export CXXFLAGS="-ffp-model=precise -fsycl $EXTRA_FLAGS"
25+
export CC=clang
26+
export CXX=clang++
27+
28+
29+
mkdir build
30+
cmake ../src/ -DCMAKE_CXX_COMPILER=clang++
31+
cmake --build .
32+
```
33+
34+
1135
## Acknowledgements
1236
This research used resources of the Argonne Leadership Computing Facility, which is a DOE Office of Science User Facility supported under Contract DE-AC02-06CH11357. Argonne National Laboratory’s work was supported by the U.S. Department of Energy, Office of Science, under contract DE-AC02-06CH11357.
1337

0 commit comments

Comments
 (0)