... | ... | @@ -16,14 +16,19 @@ git checkout -b mybranch |
|
|
cp /p/project/training2310/fesom2-recom/shinck/fesom2/Configure.sh .
|
|
|
cp /p/project/training2310/fesom2-recom/shinck/fesom2/compile_intel_nvhpc.sh .
|
|
|
cp /p/project/training2310/fesom2-recom/shinck/fesom2/env.sh .
|
|
|
cp /p/project/training2310/fesom2-recom/shinck/fesom2/env/jureca/* .
|
|
|
cp /p/project/training2310/fesom2-recom/shinck/fesom2/env/jureca/* env/jureca
|
|
|
cd ..
|
|
|
cp -r /p/project/training2310/fesom2-recom/shinck/work .
|
|
|
mkdir -p work
|
|
|
cp -r /p/project/training2310/fesom2-recom/shinck/work/job* work
|
|
|
cp -r /p/project/training2310/fesom2-recom/shinck/work/config work
|
|
|
```
|
|
|
- edit and run:
|
|
|
1. change `root` in `Configure.sh`
|
|
|
2. `mkdir build`
|
|
|
3. edit and `source compile_intel_nvhpc.sh`
|
|
|
1. change `root` and `fesom_root` in `Configure.sh`
|
|
|
2. to compile a specific variant (compiler, acc, etc...) call the `Configure.sh` like this
|
|
|
```
|
|
|
COMPILER=nvhpc STAGE=2022 MPI=PSMPI ACC=0 ./Configure.sh
|
|
|
```
|
|
|
This will create a binary in `$fesom_root/bin/fesom.nvhpc_...`
|
|
|
|
|
|
|
|
|
# install fesom2+recom
|
... | ... | |