... | ... | @@ -42,38 +42,40 @@ refer to those script help (`-h`) option for more details. |
|
|
|
|
|
# Jean Zay (Idris)
|
|
|
|
|
|
## Production Cuda
|
|
|
|
|
|
We assume the repository is in `<srcdir>` and you are in `<builddir>`
|
|
|
|
|
|
## CPU
|
|
|
### Environment
|
|
|
```
|
|
|
$ source ../contrib/build/Jean_Zay/env.sh
|
|
|
$ source ../contrib/build/Jean_Zay/cpu-env.sh
|
|
|
```
|
|
|
### Configuration
|
|
|
```
|
|
|
$ cmake -DCMAKE_BUILD_TYPE=Release -DKokkos_ENABLE_CUDA=ON -DKokkos_ARCH_VOLTA70=ON -DKokkos_ENABLE_CUDA_LAMBDA=ON -DGENERATE_DOC=Off <srcdir>
|
|
|
$ cmake -DCMAKE_BUILD_TYPE=Release -DKokkos_ENABLE_OPENMP=ON -DGENERATE_DOC=Off <srcdir>
|
|
|
```
|
|
|
|
|
|
|
|
|
## Debug Cuda
|
|
|
### Environment
|
|
|
### build
|
|
|
* simple but slow: ```$ make```
|
|
|
* faster:
|
|
|
```
|
|
|
$ source <srcdir>/contrib/build/Jean_Zay/our-kokkos-env.sh
|
|
|
$ srun -p compil --cpus-per-task=10 --time=0:10:0 -A <you slurm account> make -j10 -k
|
|
|
```
|
|
|
### Configuration
|
|
|
|
|
|
## GPU
|
|
|
## Environment
|
|
|
```
|
|
|
$ cmake -DCMAKE_BUILD_TYPE=Debug -DKokkos_ENABLE_CUDA=ON -DKokkos_ARCH_VOLTA70=ON -DKokkos_ENABLE_CUDA_LAMBDA=ON -DGENERATE_DOC=OFF <srcdir>
|
|
|
$ source ../contrib/build/Jean_Zay/gpu-env.sh
|
|
|
```
|
|
|
## Build
|
|
|
### Configuration
|
|
|
```
|
|
|
$ make
|
|
|
$ cmake -DCMAKE_BUILD_TYPE=Release -DKokkos_ENABLE_CUDA=ON -DKokkos_ARCH_VOLTA70=ON -DKokkos_ENABLE_CUDA_LAMBDA=ON -DKokkos_ENABLE_OPENMP=ON -DGENERATE_DOC=Off -DFARGO_NO_PYTHON=ON <srcdir>
|
|
|
```
|
|
|
or
|
|
|
## build
|
|
|
* simple but slow: ```$ make```
|
|
|
* faster:
|
|
|
```
|
|
|
$ srun -p compil --cpus-per-task=10 --time=0:10:0 -A oth@gpu make -j10
|
|
|
$ srun -p compil --cpus-per-task=10 --time=0:10:0 -A <you slurm account> make -j10 -k
|
|
|
```
|
|
|
|
|
|
|
|
|
# Aurora (Lund)
|
|
|
|
|
|
## Environment
|
... | ... | |