... | ... | @@ -66,11 +66,43 @@ $ source ../contrib/build//cpu-env.sh |
|
|
### Configuration
|
|
|
We assume the repository is in `<srcdir>` and you are in `<builddir>`
|
|
|
|
|
|
$ cmake -DCMAKE_BUILD_TYPE=Release -DKokkos_ENABLE_OPENMP=On -DFARGO_NO_PYTHON=On <srcdir>
|
|
|
```
|
|
|
$ cmake -DCMAKE_BUILD_TYPE=Release -DKokkos_ENABLE_OPENMP=On -DFARGO_NO_PYTHON=On <srcdir>
|
|
|
```
|
|
|
|
|
|
### build
|
|
|
|
|
|
```
|
|
|
$ make -j
|
|
|
```
|
|
|
|
|
|
* **Submitting job**
|
|
|
|
|
|
#!/bin/bash
|
|
|
#MSUB -r <jobname>
|
|
|
#MSUB -o output_%J.o
|
|
|
#MSUB -e output_%J.e
|
|
|
#MSUB -n 4
|
|
|
#MSUB -c 32
|
|
|
#MSUB -T 36000
|
|
|
#MSUB -q rome
|
|
|
#MSUB -m work,scratch
|
|
|
|
|
|
echo "Launch hybrid MPI-OpenMP fargOCA" :
|
|
|
export OMP_NUM_THREADS=32
|
|
|
ccc_mprun <builddir>/fargoInit . config.info
|
|
|
ccc_mprun <builddir>/fargOCA . -p -v >test.dat
|
|
|
```
|
|
|
|
|
|
The submission command is:
|
|
|
```
|
|
|
ccc_msub <file.sh>
|
|
|
```
|
|
|
|
|
|
To check the state of your job:
|
|
|
```
|
|
|
ccc_mpp -u <username>
|
|
|
```
|
|
|
|
|
|
|
|
|
# Jean Zay (Idris)
|
|
|
|
... | ... | |