Difference between revisions of "DYNAMICO with LMDZ physics"

From Planets
Jump to: navigation, search
m (Running DYNAMICO with a physics package)
(Compiling DYNAMICO with a LMDZ physics package: Explain/link to how to compile each step separately)
Line 30: Line 30:
  
 
Using the '''-full''' option, the script '''make_icosa_lmdz''' will compile:
 
Using the '''-full''' option, the script '''make_icosa_lmdz''' will compile:
* IOIPSL
+
* [[IOIPSL]]
* XIOS
+
* [[XIOS]]
* LMDZ.COMMON (your physics)
+
* [[Quick_Install_and_Run|LMDZ.COMMON (your physics)]]
* ICOSOAGCM (DYNAMICO)
+
* [[DYNAMICO|ICOSAGCM (DYNAMICO)]]
  
 
and then link everything in the '''ICOSA_LMDZ/bin''' folder, under the name of the executable '''icosa_lmdz.exe'''.
 
and then link everything in the '''ICOSA_LMDZ/bin''' folder, under the name of the executable '''icosa_lmdz.exe'''.
Line 39: Line 39:
 
If you use the ''' -nodeps''' option, XIOS and IOIPSL will *not* be compiled.
 
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).
+
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 the 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 ==
 
== Running DYNAMICO with a physics package ==

Revision as of 15:12, 22 October 2024

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

You can change the file, which looks like this:

# 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:

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 the 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.