|
Please find some paths to results below:
|
|
# gpu hackathon jülich
|
|
|
|
|
|
|
|
- online meetings with Ilya & Jörg: https://webconf.fz-juelich.de/b/zhu-thq-p68-jxt
|
|
|
|
|
|
|
|
# install fesom2+recom
|
|
|
|
|
|
|
|
- @jureca:
|
|
|
|
```
|
|
|
|
cd $PROJECT_training2310
|
|
|
|
cd fesom2-recom
|
|
|
|
<cd my dir>
|
|
|
|
git clone https://gitlab.awi.de/hpc-public/recom-gpu-hackathon-2023/fesom2.git
|
|
|
|
cd fesom2
|
|
|
|
git switch -c main_refactoring_recom
|
|
|
|
```
|
|
|
|
- use this branch as a starting point and work on your own branch:
|
|
|
|
```
|
|
|
|
git checkout -b my_own_branch
|
|
|
|
...
|
|
|
|
git push origin my_own_branch
|
|
|
|
```
|
|
|
|
- compile model with GPU support:
|
|
|
|
```
|
|
|
|
./configure.sh -DENABLE_OPENACC=ON -DDISABLE_MULTITHREADING=ON
|
|
|
|
```
|
|
|
|
- run model:
|
|
|
|
```
|
|
|
|
cd work
|
|
|
|
<edit namelists and create outpath>
|
|
|
|
<save those to lines as fesom.clock:>
|
|
|
|
0 1 1958
|
|
|
|
0 1 1958
|
|
|
|
cp fesom.clock <resultpath>/.
|
|
|
|
<edit job_jureca>:
|
|
|
|
#SBATCH -N 1
|
|
|
|
#SBATCH --ntasks=4
|
|
|
|
#SBTACH --tasks-per-node=??
|
|
|
|
batch job_jureca
|
|
|
|
```
|
|
|
|
|
|
|
|
# benchmark
|
|
|
|
|
|
|
|
- 1 day:
|
|
|
|
|
|
|
|
| mesh | nod2d | nlev | nod2d\*nlev | nproc or ncore | runtime |
|
|
|
|
|------|--------|------|-------------|----------------|---------------|
|
|
|
|
| pi | 3140 | 48 | 150720 | 2 | 2452.3828 sec |
|
|
|
|
| pi | 3140 | 48 | 150720 | 36 | 15.5056 sec |
|
|
|
|
| core | 126858 | 48 | 6089184 | 144 | 81.8340 sec |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Chris PI Mesh: `/p/project/training2310/fesom2-recom/cdanek/out/pi_cpu_ntask36/`
|
|
|
|
|
|
|
|
Sebastian: `/p/project/training2310/fesom2-recom/shinck/fesom2/results_cpu` |
|
|
|
\ No newline at end of file |
|
|