DYNAMICO with LMDZ physics

From Planets
Revision as of 14:38, 18 October 2024 by Aurelien.falco (talk | contribs) (Creation of small tutorial for compiling DYNAMICO with physics)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

# Simple example of launching the make_icosa_lmdz script with adequate options adapt to fit your own needs.

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:

  • IOIPSL
  • XIOS
  • LMDZ.COMMON (your physics)
  • ICOSOAGCM (DYNAMICO)

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 may continue even if an error occurred, so be sure to check the full output for errors (if the compilation of the physics package failed for example).

Running DYNAMICO with a physics package

Please refer to

for specific details over each physics package.