Repository navigation
Expand file tree
/
Copy pathREADME.txt
More file actions
40 lines (27 loc) · 1.58 KB
/
Copy pathREADME.txt
File metadata and controls
40 lines (27 loc) · 1.58 KB
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
*******************************************************
* JOREK2 *
* *
* copyright : Guido Huysmans (Association Euratom/CEA *
*******************************************************
For a documentation about the code, see jorek.eu/wiki
to build jorek2:
- edit the Makefile.inc file to match your environment
(some examples are available in the directory configs)
choose a model : model199 (reduced MHD, no v_parallel)
model300 (reduced MHD, with V_parallel)
- edit the model dependent mod_parameters.f90 file to define
n_tor : the number of toroidal harmnonics (sin+cos)
n_plane : the number of toroidal planes (for FFT)
n_period : the periodicity of the torus
- make all (in top directory)
to execute jorek2:
mpirun -np n_mpi jorek2_model199 < namelist/model199/intear
this is a simple testcase (example output is available in test_output)
the number of mpi's should be a multiple of the number of harmonics ((n_tor-1)/2+1)
Topic: Timing
We use the "r3_info" package from R. Richter, SGI, Oct 2006 (trunk/timing) to compute elapsed time in JOREK.
Ask G. Latu (guillaume.latu@cea.fr) for more details.
To use it, we need
- Fortran preprocessing options: -cpp -DUSE_R3_INFO_MPI -DUSE_R3_INFO (see trunk/configs/config.hpcff)
- define a MPICC compiler and preprocessing options: -DUSE_R3_INFO_MPI -DUSE_R3_INFO (see trunk/configs/config.hpcff)
- need #include "r3_info.h" statement (warning: C syntax with #) in Fortran file (see trunk/jorek2_main.f90 for example)