DYNAMICO with LMDZ physics

From Planets
Revision as of 15:42, 8 November 2024 by Aurelien.falco (talk | contribs) (Compiling DYNAMICO with a LMDZ physics package)

Jump to: navigation, search

Please read the DYNAMICO installation process first.

Compiling DYNAMICO with a LMDZ physics package

Once you have downloaded DYNAMICO into the ICOSAGCM/ folder, go to the ICOSA_LMDZ folder and compile there using one of the compile example files:

  • compile_adastra-gnu
  • compile_irene-amd

It might be wise to make a copy, i.e.:

cp compile_adastra-gnu compile

You can then edit the file to match your architecture (the arch parameter). The file should look like this:

arch=ifort_MESOIPSL # change according to your arch file

# Gas Giants/generic:
make_icosa_lmdz -p std -p_opt "-b 17x23" -parallel mpi -arch ${arch} -arch_path ../ARCH -job 8  -full #-nodeps

# Venus:
#make_icosa_lmdz -p venus -parallel mpi -arch ${arch} -arch_path ../ARCH -job 8 -full #-nodeps

# Mars:
# make_icosa_lmdz -p mars -parallel mpi -arch ${arch} -arch_path ../ARCH -job 8 -full #-nodeps

# Pluto:
# make_icosa_lmdz -p pluto -p_opt "-b 17x23" -parallel mpi -arch ${arch} -arch_path ../ARCH -job 8 -full #-nodeps

You can change the options such as the parallel version you will use (-parallel mpi or mpi_omp) and the parameters for the physics package (with the -p_opt options, for example -d 48x32x50 to specify a resolution, see Quick_Install_and_Run#Compiling_the_GCM).

Using the -full option, the script make_icosa_lmdz will compile:

and then link everything in the ICOSA_LMDZ/bin folder, under the name of the executable icosa_lmdz.exe.

If you use the -nodeps option, XIOS and IOIPSL will *not* be compiled.

The script should stop at each step of the compilation if it fails (for example the compilation of the physics package).

You can also compile each step on its own and remove the -full option (you can keep the -nodeps option) (please click on each package name for its page).

Running DYNAMICO with a physics package

Please refer to

for specific details over each physics package.