forked from FESOM/fesom2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HOWTO.run
45 lines (36 loc) · 1.58 KB
/
HOWTO.run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Tutorial in 6 steps: how to run FESOM 2.0 ocean only
# Cray CS400 (ollie) platform with intel enviroment was used!
cd $HOME
1. get the code (DKRZ account aXXXXXX must be provided!):
git clone https://[email protected]/FESOM/fesom2.git fesom2.0
2.ollie: prepare the mesh:
mkdir /work/ollie/$USER/mesh_F2GLO04
cp /work/ollie/dsidoren/input/fesom2.0/meshes/mesh_F2GLO04/* /work/ollie/$USER/mesh_F2GLO04/.
mkdir /work/ollie/$USER/mesh_F2GLO04/dist_1440
3. path for the results:
mkdir /work/ollie/$USER/results
cd fesom2.0_ALE/
ln -s /work/ollie/dsidoren/results/ results
cp /home/ollie/dsidoren/fesom2.0_ALE/results/fesom.clock results/.
4. FESOM 2.0 basic settings:
edit config/namelist.config:
&paths: meshpath
& run_config !from Vadym
5. compile the code
5.1 Simple way (use Cmake, Recomended):
cd fesom2.0
bash -l configure.sh
5.2 Less simple way (use make, not recomended, you should have proper Makefile.in for your platform)
cd lib/parms/; make cleanall; make; cd ../../ # Solver for solving linear systems of equations
cd src/; make clean; make run; cd ../ # FESOM2.0
5.3 Compile executable that is needed for mesh partitioning
cd lib/metis-5.1.0/; make clean; make; cd ../../ # Metis 5 will be used to partition the mesh
cd src/; make clean; make run_ini; cd ../ # mesh partitioner
6. run the model:
cd work/
edit:
job_ini_ollie # to run the mesh partitioning
job_ollie # to run FESOM2.0 model
and run!
sbatch job_ini_ollie # for partitioning
sbatch job_ollie # for model run