<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Emoisan</id>
		<title>Planets - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Emoisan"/>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php/Special:Contributions/Emoisan"/>
		<updated>2026-06-11T20:01:57Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=3225</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=3225"/>
				<updated>2026-02-26T14:56:30Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: /* Step by step */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Adapt 0_defining file ===&lt;br /&gt;
Some lines are specific to the cluster, for SPIRIT:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
archname=&amp;quot;ifort_MESOIPSL&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some lines are specific to Titan:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
version=tags/titan_les_compiles_and_runs_master_MESOIPSL # titan&lt;br /&gt;
physics=titan&lt;br /&gt;
add=&amp;quot;-d 32x48x55 -s 1 -b 23x23 -cpp OLD_COMPILO&amp;quot; # titan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/!\ The &amp;quot;inputs to script configure&amp;quot; depend on the version of WRF you use.&lt;br /&gt;
&lt;br /&gt;
=== Run install.sh ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run a simulation ==&lt;br /&gt;
&lt;br /&gt;
=== Simple run ===&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd titan_pbl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
&lt;br /&gt;
Update the GCM data path: in callphys.def, set datadir to the same path as the datadir defined in physiq.def (e.g. /data/mlefevre/SIMU/filephys/TITAN/datagcm).&lt;br /&gt;
&lt;br /&gt;
Then initialize and launch the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step by step ===&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd tests/test_folder&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
* Adapt the simulation parameters in callphys.def (e.g. the number of physical time steps between radiative time steps).&lt;br /&gt;
* Adapt the simulation parameters in input_bubble. If you do not want a bubble, set delt and bubble_addCH4 to 0.&lt;br /&gt;
* Adapt the simulation parameters in input_coords (longitude, latitude, Ls, local time).&lt;br /&gt;
* If you have the namelist option use_levels activated, check that the levels file is coherent with your number of vertical layers. If you want to create a new levels file, use the scripts in tests/zlevels_create_levels_file. &lt;br /&gt;
* Create the input_sounding and tracer_sounding files with gettitan_xarray.py:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
python3 gettitan_xarray.py&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Check that symbolic links exist, otherwise create them by running ./make_symbolic_links.sh&lt;br /&gt;
* Initialize the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Check rsl.out.0000 and rsl.error.0000. You should have &amp;quot;wrf: SUCCESS COMPLETE IDEAL INIT&amp;quot; written at the end.&lt;br /&gt;
* If you want to launch a Spirit job: adapt the simulation duration, memory, number of CPUs, ... in scriptlaunch&lt;br /&gt;
* Launch the simulation:&lt;br /&gt;
If you want to launch a Spirit job:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./launch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
If you want to launch interactively on the console:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Mesoscale]]&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=3224</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=3224"/>
				<updated>2026-02-26T14:54:50Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Adapt 0_defining file ===&lt;br /&gt;
Some lines are specific to the cluster, for SPIRIT:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
archname=&amp;quot;ifort_MESOIPSL&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some lines are specific to Titan:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
version=tags/titan_les_compiles_and_runs_master_MESOIPSL # titan&lt;br /&gt;
physics=titan&lt;br /&gt;
add=&amp;quot;-d 32x48x55 -s 1 -b 23x23 -cpp OLD_COMPILO&amp;quot; # titan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/!\ The &amp;quot;inputs to script configure&amp;quot; depend on the version of WRF you use.&lt;br /&gt;
&lt;br /&gt;
=== Run install.sh ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run a simulation ==&lt;br /&gt;
&lt;br /&gt;
=== Simple run ===&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd titan_pbl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
&lt;br /&gt;
Update the GCM data path: in callphys.def, set datadir to the same path as the datadir defined in physiq.def (e.g. /data/mlefevre/SIMU/filephys/TITAN/datagcm).&lt;br /&gt;
&lt;br /&gt;
Then initialize and launch the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step by step ===&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd test_folder&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
* Adapt the simulation parameters in callphys.def (e.g. the number of physical time steps between radiative time steps).&lt;br /&gt;
* Adapt the simulation parameters in input_bubble. If you do not want a bubble, set delt and bubble_addCH4 to 0.&lt;br /&gt;
* Adapt the simulation parameters in input_coords (longitude, latitude, Ls, local time).&lt;br /&gt;
* If you have the namelist option use_levels activated, check that the levels file is coherent with your number of vertical layers. If you want to create a new levels file, use the scripts in tests/zlevels_create_levels_file. &lt;br /&gt;
* Create the input_sounding and tracer_sounding files with gettitan_xarray.py:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
python3 gettitan_xarray.py&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Check that symbolic links exist, otherwise create them by running ./make_symbolic_links.sh&lt;br /&gt;
* Initialize the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Check rsl.out.0000 and rsl.error.0000. You should have &amp;quot;wrf: SUCCESS COMPLETE IDEAL INIT&amp;quot; written at the end.&lt;br /&gt;
* If you want to launch a Spirit job: adapt the simulation duration, memory, number of CPUs, ... in scriptlaunch&lt;br /&gt;
* Launch the simulation:&lt;br /&gt;
If you want to launch a Spirit job:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./launch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
If you want to launch interactively on the console:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Mesoscale]]&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=3223</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=3223"/>
				<updated>2026-02-26T14:49:00Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Adapt 0_defining file ===&lt;br /&gt;
Some lines are specific to the cluster, for SPIRIT:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
archname=&amp;quot;ifort_MESOIPSL&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some lines are specific to Titan:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
version=tags/titan_les_compiles_and_runs_master_MESOIPSL # titan&lt;br /&gt;
physics=titan&lt;br /&gt;
add=&amp;quot;-d 32x48x55 -s 1 -b 23x23 -cpp OLD_COMPILO&amp;quot; # titan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/!\ The &amp;quot;inputs to script configure&amp;quot; depend on the version of WRF you use.&lt;br /&gt;
&lt;br /&gt;
=== Run install.sh ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run a simulation ==&lt;br /&gt;
&lt;br /&gt;
=== Simple run ===&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd titan_pbl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
&lt;br /&gt;
Update the GCM data path: in callphys.def, set datadir to the same path as the datadir defined in physiq.def (e.g. /data/mlefevre/SIMU/filephys/TITAN/datagcm).&lt;br /&gt;
&lt;br /&gt;
Then initialize and launch the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step by step ===&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd test_folder&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
# Adapt the simulation parameters in callphys.def (e.g. the number of physical time steps between radiative time steps).&lt;br /&gt;
# Adapt the simulation parameters in input_bubble. If you do not want a bubble, set delt and bubble_addCH4 to 0.&lt;br /&gt;
# Adapt the simulation parameters in input_coords (longitude, latitude, Ls, local time).&lt;br /&gt;
# If you have the namelist option use_levels activated, check that the levels file is coherent with your number of vertical layers. If you want to create a new levels file, use the scripts in tests/zlevels_create_levels_file. &lt;br /&gt;
# Create the input_sounding and tracer_sounding files with gettitan_xarray.py:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
python3 gettitan_xarray.py&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
# Check that symbolic links exist, otherwise create them by running ./make_symbolic_links.sh&lt;br /&gt;
# Initialize the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
# Check rsl.out.0000 and rsl.error.0000. You should have &amp;quot;wrf: SUCCESS COMPLETE IDEAL INIT&amp;quot; written at the end.&lt;br /&gt;
# If you want to launch a Spirit job: adapt the simulation duration, memory, number of CPUs, ... in scriptlaunch&lt;br /&gt;
# Launch the simulation:&lt;br /&gt;
If you want to launch a Spirit job:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./launch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
If you want to launch interactively on the console:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Mesoscale]]&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Quick_Install_and_Run_Titan_PCM&amp;diff=2785</id>
		<title>Quick Install and Run Titan PCM</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Quick_Install_and_Run_Titan_PCM&amp;diff=2785"/>
				<updated>2025-07-09T09:56:13Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: Created page with &amp;quot;In this page we give a hopefully exhaustive enough overview of the necessary prerequisites and steps to download, compile and run a simple simulation with the GCM on a Linux c...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In this page we give a hopefully exhaustive enough overview of the necessary prerequisites and steps to download, compile and run a simple simulation with the GCM on a Linux computer.&lt;br /&gt;
&lt;br /&gt;
Automating the process is not trivial as there are many subtle variants of Linux flavors and user account setups, so the script may fail in your case, but hopefully the information given in this page should help you solve the encountered problems.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites: Tools and Libraries ==&lt;br /&gt;
In order to use (i.e. compile and run) the GCM, one needs to have some tools and installed libraries at hand. We list below a (minimal) set that you should check that is available and/or that you'll need to first install on your machine. Note that we assume in this tutorial that you are on a Linux native-OS/cluster.&lt;br /&gt;
&lt;br /&gt;
===  Fortran compiler ===&lt;br /&gt;
The GCM source code is in Fortran. One thus needs a Fortran compiler to build (compile) the executable.&lt;br /&gt;
The most easily available one (on Linux) is gfortran and examples discussed here will assume it is the one used.&lt;br /&gt;
You can check that you indeed have a gfortran compiler at hand with the following Bash command:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
which gfortran&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
which should return something like&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/usr/bin/gfortran&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Subversion ===&lt;br /&gt;
The source code is managed using subversion (svn), which you'll need to download or update. Leaving aside the subtleties of svn and code organization for now, downloading the code amounts to doing the following:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn checkout https://svn.lmd.jussieu.fr/Planeto/trunk --depth empty&lt;br /&gt;
cd trunk&lt;br /&gt;
svn update LMDZ.COMMON LMDZ.TITAN&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As a side note: the source code that will be fetched by svn can also be browsed online here: https://trac.lmd.jussieu.fr/Planeto&lt;br /&gt;
&lt;br /&gt;
Note: if the command line above doesn't work, you may also try to replace 'http' by 'https'.&lt;br /&gt;
&lt;br /&gt;
=== Git === &lt;br /&gt;
&lt;br /&gt;
Alternatively to svn, you can use [[Git usage|git to download the source code]]. &lt;br /&gt;
&lt;br /&gt;
=== FCM ===&lt;br /&gt;
The FCM (Flexible Configuration Management) tool is a suite of perl scripts to help building and managing codes. We use a slightly modified version which can be obtained using subversion (svn). Ideally you'll want to download it somewhere on your computer once in for all. To do this:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
You'll then need to add the resulting FCM_V1.2/bin to your PATH environment variable so that the command &amp;quot;fcm&amp;quot; may be used from anywhere on your machine. e.g. by adding the following line in your .bashrc:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
The assumption here is that the downloaded FCM_V1.2 directory is in your home ($HOME) directory. Adapt accordingly if not.&lt;br /&gt;
&lt;br /&gt;
=== the NetCDF library ===&lt;br /&gt;
The GCM reads and writes input and output files in NetCDF format, therefore a NetCDF library is required. Most of the clusters propose a NetCDF library that you can load before using the model. &lt;br /&gt;
&lt;br /&gt;
If this library is not available, you can install it by yourself on your system (check out [[the netCDF library]] page for more). You can use the following home-made &amp;quot;install_netcdf4_hdf5_seq.bash&amp;quot; script to do so. For this, ensure that you are in your home directory:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir netcdf&lt;br /&gt;
cd netcdf&lt;br /&gt;
wget -nv --no-check-certificate http://www.lmd.jussieu.fr/~lmdz/pub/script_install/install_netcdf4_hdf5_seq.bash&lt;br /&gt;
chmod u=rwx install_netcdf4_hdf5_seq.bash&lt;br /&gt;
./install_netcdf4_hdf5_seq.bash &amp;gt; netcdf.log 2&amp;gt;&amp;amp;1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Compiling the library and dependencies can take a while (&amp;gt;&amp;gt;15 minutes; be patient).&lt;br /&gt;
Once this is done, check file netcdf.log to verify that all went well.&lt;br /&gt;
You may want to also add its &amp;quot;bin&amp;quot; directory to your PATH environment variable by adding in your .bashrc a line of:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/netcdf/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
The assumption here is that you have run the &amp;quot;install_netcdf4_hdf5_seq.bash&amp;quot; script in a &amp;quot;netcdf&amp;quot; subdirectory of your home directory. Adapt accordingly if not.&lt;br /&gt;
&lt;br /&gt;
As a side note: The NetCDF library provides a very simple command line tool (ncdump) to inspect the contents of NetCDF files, but you'll need more advanced visualization tools (e.g., Panoply, Python scripts, etc. - see further down this page in the &amp;quot;Checking the Results&amp;quot; section) for more advanced post-processing of the outputs.&lt;br /&gt;
&lt;br /&gt;
=== the IOIPSL library ===&lt;br /&gt;
&lt;br /&gt;
The IOIPSL (Input/Output IPSL) library is designed to handle the reading of some input files used by the GCM (the *.def files which are described further below).&lt;br /&gt;
&lt;br /&gt;
==== Automated IOIPSL install script ====&lt;br /&gt;
Scripts to download and install the IOIPSL library can be found in the &amp;quot;ioipsl&amp;quot; subdirectory of the &amp;quot;LMDZ.COMMON&amp;quot; library. Since here we assume we're working with gfortran, the relevant one is &amp;quot;install_ioipsl_gfortran.bash&amp;quot;. If your PATH environment variable is already such that it includes the path to your NetCDF library distribution's bin directory (see previous section) then all you need to do is execute the script:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./install_ioipsl_gfortran.bash&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
If all went well the script should end with:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
OK: ioipsl library is in ...&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''(for further details about [[The_IOIPSL_Library|the IOIPSL library]] and installing it, follow the link and/or use the Search Box at the top of this page)''&lt;br /&gt;
&lt;br /&gt;
=== The XIOS library ===&lt;br /&gt;
The Titan PCM uses the XIOS library to manage the outputs of the simulation. To install it, please refer to [[The_XIOS_Library|the XIOS libray]] page. &lt;br /&gt;
&lt;br /&gt;
== GCM Input Datafiles and Datasets ==&lt;br /&gt;
In order to run, the GCM needs some inputs, such as initial conditions (values of state variables), external inputs (e.g. optical properties of aerosols) and simulation setup (e.g. specifications on how long to run, which parametrizations should be activated, etc.).&lt;br /&gt;
&lt;br /&gt;
In the spirit of the illustrative example considered here, a set of necessary input data may be downloaded with:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget -nv --no-check-certificate&lt;br /&gt;
https://web.lmd.jussieu.fr/~lmdz/planets/titan/bench_32x48x55.tar.gz&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The files needed to run are:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
callphys.def  gases.def  start.nc    startfi.nc  traceur.def    &lt;br /&gt;
datagcm/      run.def    z2sig.def    iodef.xml    context_lmdz_physics.xml&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Initial condition NetCDF files ''start.nc'' and ''startfi.nc''; the first containing initial condition values for the dynamics and the second initial condition values for the physics.&lt;br /&gt;
* A '''datadir''' directory containing external inputs (aerosol properties, stellar spectra, etc.)&lt;br /&gt;
* Some ASCII *.def files containing run parameters, namely:&lt;br /&gt;
# [[The_run.def_Input_File | run.def]] : &amp;quot;master def file&amp;quot; containing main run parameters. This file contains the number of days to run. For Titan years, weekly simulations of 11 days are used, except for the last two weeks which are 12 days long, so keep this in mind when setting your run files. &lt;br /&gt;
# [[The_callphys.def_Input_File | callphys.def]] : file containing flags and keys for the various physics parametrizations.&lt;br /&gt;
# [[The_z2sig.def_Input_File | z2sig.def]] : file describing the sought vertical discretization.&lt;br /&gt;
# [[The_traceur.def_Input_File | traceur.def]] : file specifying the tracer number and names.&lt;br /&gt;
# [[The_gases.def_Input_File | gases.def]] : file specifying the list of gases (main and trace) in the atmosphere.&lt;br /&gt;
# [[The_XIOS_Library#XIOS_output_controls|iodef.xml]] : master file read by XIOS containing specific XIOS parameters.&lt;br /&gt;
# [[The_XIOS_Library#XIOS_output_controls|context_lmdz_physics.xml ]]: file containing all fields/grid/file output definitions.&lt;br /&gt;
&lt;br /&gt;
== Compiling the GCM ==&lt;br /&gt;
Now that all the prerequisites are fulfilled, it is (almost!) time to compile the GCM&lt;br /&gt;
&lt;br /&gt;
=== Prior to a first compilation: setting up the target architecture files ===&lt;br /&gt;
Compiling the model is done using a dedicated Bash script ''makelmdz_fcm'' located in the '''LMDZ.COMMON''' directory. This script however relies on ''architecture files''. These files contain information on which compiler to use, what compilation options to use, where relevant libraries are located etc. In practice, one must thus create these ASCII text files in the '''arch/''' subdirectory of '''LMDZ.COMMON'''. The naming convention is rather straightforward, when the script ''makelmdz_fcm'' is run with the option '''-arch somename''', it will look for files ''arch/arch-somename.env'', ''arch/arch-somename.path'' and ''arch/arch-somename.fcm''. Leaving aside a detailed description for later (see [[The_Target_Architecture_(&amp;quot;arch&amp;quot;)_Files|this page]]), here we mention that:&lt;br /&gt;
* the ''arch*.env'' is an optional file containing ''environment'' information, such as setting up environment variables or loading modules on some machines, e.g.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
export NETCDF_HOME=/path/to/the/netcdf/distribution&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A more realistic (but more specific) example of a '''arch*.env''' file using &amp;quot;recent&amp;quot; module commands, adapted for compilation and visualisation on a given supercomputer, would look more like the following:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
module purge&lt;br /&gt;
module load GCC/10.3.0  OpenMPI/4.1.1&lt;br /&gt;
module load netCDF-Fortran/4.5.3&lt;br /&gt;
export NETCDF_INCDIR=&amp;quot;/opt/ebsofts/netCDF-Fortran/4.5.3-gompi-2021a/include&amp;quot;&lt;br /&gt;
export NETCDFF_LIBDIR=&amp;quot;/opt/ebsofts/netCDF-Fortran/4.5.3-gompi-2021a/lib&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Note that the last two lines above specify paths to the '''include''' and '''lib''' directories used on this system and will certainly vary from system to system. Likewise, the exact module versions will most likely need to be adapted in your specific '''arch*.env''' file.&lt;br /&gt;
* the '''arch*.path''' is a mandatory file containing information relative to external libraries such as NetCDF and IOIPSL, e.g.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ROOT=$PWD&lt;br /&gt;
&lt;br /&gt;
NETCDF_LIBDIR=&amp;quot;-L${NETCDF_HOME}/lib&amp;quot;&lt;br /&gt;
NETCDF_LIB=&amp;quot;-lnetcdf -lnetcdff&amp;quot;&lt;br /&gt;
NETCDF_INCDIR=&amp;quot;-I${NETCDF_HOME}/include&amp;quot;&lt;br /&gt;
&lt;br /&gt;
IOIPSL_INCDIR=&amp;quot;-I$ROOT/../IOIPSL/inc&amp;quot;&lt;br /&gt;
IOIPSL_LIBDIR=&amp;quot;-L$ROOT/../IOIPSL/lib&amp;quot;&lt;br /&gt;
IOIPSL_LIB=&amp;quot;-lioipsl&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Each library is referenced by a fixed identifier (NETCDF, IOIPSL, XIOS, ...) and 3 trailing strings: '''_LIBDIR''', for the path to the library, '''_LIB''', for the library name(s), and '''_INCDIR''' for the path to the library's ''include'' directory.&lt;br /&gt;
&lt;br /&gt;
* the '''arch*.fcm''' is a mandatory file containing information relative to the compiler and compilation options, e.g.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
%COMPILER            gfortran&lt;br /&gt;
%LINK                gfortran&lt;br /&gt;
%AR                  ar&lt;br /&gt;
%MAKE                make&lt;br /&gt;
%FPP_FLAGS           -P -traditional&lt;br /&gt;
%FPP_DEF             NC_DOUBLE&lt;br /&gt;
%BASE_FFLAGS         -c -fdefault-real-8 -fdefault-double-8 -ffree-line-length-none -fno-align-commons&lt;br /&gt;
%PROD_FFLAGS         -O3&lt;br /&gt;
%DEV_FFLAGS          -O&lt;br /&gt;
%DEBUG_FFLAGS        -ffpe-trap=invalid,zero,overflow -fbounds-check -g3 -O0 -fstack-protector-all -finit-real=snan -fbacktrace&lt;br /&gt;
%MPI_FFLAGS&lt;br /&gt;
%OMP_FFLAGS         &lt;br /&gt;
%BASE_LD     &lt;br /&gt;
%MPI_LD&lt;br /&gt;
%OMP_LD              &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Again, not going into a detailed description (follow [[The_Target_Architecture_(&amp;quot;arch&amp;quot;)_Files|this link]] for that), just note here that each line corresponds to a keyword (starting with &amp;quot;%&amp;quot;) followed by the relevant options. Here, we mention a few of the main ones:&lt;br /&gt;
* %COMPILER: The compiler to use (here, gfortran)&lt;br /&gt;
* %BASE_FFLAGS: compiler options (always included)&lt;br /&gt;
* %PROD_FFLAGS: compilation flags to include if makelmdz_fcm is run with the &amp;quot;-prod&amp;quot; option&lt;br /&gt;
* %DEBUG_FFLAGS: compilation flags to include if makelmdz_fcm is run with the &amp;quot;-debug&amp;quot; option&lt;br /&gt;
* %BASE_LD: flags to add at the linking step of the compilation&lt;br /&gt;
&lt;br /&gt;
Note that if you are using a recent version of gfortran (10 or more), you have to add an extra option in the %BASE_FFLAGS, that is '''-fallow-argument-mismatch'''&lt;br /&gt;
&lt;br /&gt;
=== Compiling the Titan PCM ===&lt;br /&gt;
To compile the GCM at the sought resolution (in LMDZ.COMMON). &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
./makelmdz_fcm -arch local -parallel mpi -io xios -d 32x48x55 -b 23x23 -s 1 -p titan&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Here, we assume that you have generated the '''arch-local.*''' files as per what is suggested in the previous section, and that you will run in parallel using MPI.&lt;br /&gt;
The options for ''makelmdz_fcm'' used here imply:&lt;br /&gt;
* '''-p titan''': the GCM will use the &amp;quot;titan&amp;quot; physics package (i.e. the titan physics)&lt;br /&gt;
* '''-d 32x48x55''': the GCM grid will be 32x48 in longitude x latitude, with 55 vertical levels.&lt;br /&gt;
* '''-b 23x23''': the physics radiative transfer will be done using 23 bands in the IR and 23 in the visible.&lt;br /&gt;
* '''-io xios''': the GCM will use the XIOS library to write the output file.&lt;br /&gt;
For a glimpse at all the possible ''makelmdz_fcm'' options and their meanings, run:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./makelmdz_fcm -h&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
and/or check the dedicated [[The_makelmdz_fcm_GCM_Compilation_Script|makelmdz_fcm page]].&lt;br /&gt;
&lt;br /&gt;
Upon successful compilation, the executable '''gcm_32x48x55_phytitan_b23x23_para.e''' should be generated in the '''bin''' subdirectory.&lt;br /&gt;
&lt;br /&gt;
To compile more efficiently in parallel, you may add “-j 8” to the compilation line.&lt;br /&gt;
&lt;br /&gt;
=== Known issues ===&lt;br /&gt;
&lt;br /&gt;
* Output frequency: not possible to have 24 outputs per Titan day (the model needs an integer number of seconds).&lt;br /&gt;
&lt;br /&gt;
* The debug mode has problems in 1D, and in 3D with some optical diagnostics and microphysics schemes.&lt;br /&gt;
&lt;br /&gt;
* If the compilation fails, it might be due to the options used in the arch file. &lt;br /&gt;
For example, if you are using gfortran prior to 10, you could get an error such as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gfortran: error: unrecognized command line option ‘-fallow-argument-mismatch’; did you mean ‘-Wno-argument-mismatch’?&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be solved by removing the option '''-fallow-argument-mismatch''' from the arch.fcm file.&lt;br /&gt;
&lt;br /&gt;
* If you are using a recent version of gfortran (10 of beyond) without the option '''-fallow-argument-mismatch''', the compilation will probably fail ith the error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  136 |      .       idim_index,nvarid)&lt;br /&gt;
      |             2                                       &lt;br /&gt;
......&lt;br /&gt;
  211 |       ierr = NF_DEF_VAR (nid, &amp;quot;aire&amp;quot;, NF_DOUBLE, 2, id,nvarid)&lt;br /&gt;
      |                                                    1&lt;br /&gt;
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)&lt;br /&gt;
fcm_internal compile failed (256)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Add the compilation option in the arch file to solve the issue.&lt;br /&gt;
&lt;br /&gt;
== Running the GCM ==&lt;br /&gt;
To run your first simulation, you need to first copy (or move) the executable '''gcm_32x48x55_phytitan_b23x23_para.e''' to the directory containing the initial conditions and parameter files, e.g. '''bench_titan_32x48x55_b23x23''' and run it.&lt;br /&gt;
This is usually a two-step process: the (optional) first step is to source the environment architecture file (the very same that was used to compile the model), e.g.,:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
source ../LMDZ.COMMON/arch.env&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
The second step is to execute the model, e.g.,:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt; &lt;br /&gt;
./ gcm_32x48x55_phytitan_b23x23_para.e &amp;gt; gcm.out 2&amp;gt;&amp;amp;1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this command line, the (text) outputs messages are redirected into a text file, '''gcm.out'''. It is convenient to keep this file for later inspection (e.g., to track a bug). If there is no redirection (only '''./gcm_32x48x55_phytitan_b23x23_para.e'''), then the outputs will be directly on the screen.&lt;br /&gt;
&lt;br /&gt;
== Checking the Results of a Simulation ==&lt;br /&gt;
Once the simulation is finished, you'll know that all went well (&amp;quot;everything is cool&amp;quot;) if the last few lines of the standard text output reads:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 in abort_gcm&lt;br /&gt;
 Stopping in leapfrog&lt;br /&gt;
 Reason = Simulation finished &lt;br /&gt;
 Everything is cool&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If not, start looking for an error message and a way to fix the problem...&lt;br /&gt;
&lt;br /&gt;
Apart from the standard text output messages from the GCM, which are mostly for monitoring and checking the simulation progress, the user will more likely be interested in checking the contents of the NetCDF output file produced by the GCM with proper xios options, as it contains values of the main model variables (atmospheric temperature, winds, etc.). &lt;br /&gt;
&lt;br /&gt;
Side note: There are a variety of freely available software that can be used to visualise the NetCDF output file, such as Panoply, Ferret, Ncview, Grads, Python, etc. (see more details in the [[Tool_Box | Tool Box section]])&lt;br /&gt;
&lt;br /&gt;
== Taking Things to the Next Level ==&lt;br /&gt;
The short tutorial presented in this page is meant to be useful to get an overview of what is required to install and run the GCM, in addition to checking the results of a simulation. Moving on to a more intensive and problem-specific usage will require diving into additional topics and aspects such as:&lt;br /&gt;
* Selecting the appropriate inputs and run parameters for a given study.&lt;br /&gt;
* Post-processing and analysis of model outputs.&lt;br /&gt;
All these points and much more are detailed in the many pages of this site (do check out the menu on the left and dare use intensively the site's search engine)!&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Model]]&lt;br /&gt;
[[Category:Titan-LMDZ]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Overview_of_the_Titan_PCM&amp;diff=2783</id>
		<title>Overview of the Titan PCM</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Overview_of_the_Titan_PCM&amp;diff=2783"/>
				<updated>2025-07-09T08:46:49Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Titan PCM (Planetary Climate Model) ==&lt;br /&gt;
In a nutshell, the Titan Planetary Climate Model is a General Circulation Model (GCM) of the titanian atmosphere. It is in fact a suite of models which may be run in various configurations: with the historical lon-lat (LMDz) dynamics, or as a regional model using [[WRF dynamical core for LES/mesoscale simulations|'''WRF''']] (a limited area dynamical core), or even as a 1D (single column) model.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
The traditional Titan PCM - LMDz (formerly know as the IPSL Titan GCM) is the most commonly used version. For a first try at installing and running the Titan PCM we recommend you start from the [[Quick Install and Run Titan PCM]] page. You will also most likely be interested in all the pages tagged as &amp;quot;Titan-Model&amp;quot; or &amp;quot;Venus-LMDZ&amp;quot; in the [[Special:Categories|Categories]] section.&lt;br /&gt;
&lt;br /&gt;
== Bibliography ==&lt;br /&gt;
&lt;br /&gt;
==== 2025 ====&lt;br /&gt;
* Bruno De Batz De Trenquelléon, Lucie Rosset, Jan Vatant d’Ollone, Sébastien Lebonnois, Pascal Rannou, Jérémie Burgalat, et Sandrine Vinatier. « The New Titan Planetary Climate Model. I. Seasonal Variations of the Thermal Structure and Circulation in the Stratosphere ». The Planetary Science Journal 6, no 4 (1 avril 2025): 78. https://doi.org/10.3847/PSJ/adbbe7.&lt;br /&gt;
* Bruno De Batz De Trenquelléon, Pascal Rannou, Jérémie Burgalat, Sébastien Lebonnois, et Jan Vatant d’Ollone. « The New Titan Planetary Climate Model. II. Titan’s Haze and Cloud Cycles ». The Planetary Science Journal 6, no 4 (1 avril 2025): 79. https://doi.org/10.3847/PSJ/adbb6c.&lt;br /&gt;
==== 2020 ====&lt;br /&gt;
* Vatant d’Ollone, Jan. « Numerical modelling of the seasonal variations in Titan’s atmosphere ». These de doctorat, Sorbonne université, 2020. https://theses.fr/2020SORUS401.&lt;br /&gt;
==== 2019 ====&lt;br /&gt;
* Lora, J. M., T. Tokano, J. Vatant d'Ollone, S. Lebonnois, and R. D. Lorenz A model intercomparison of Titan's climate and low-latitude environment. Icarus, 333, 113. (2019) https://www.sciencedirect.com/science/article/pii/S0019103518307838?via%3Dihub&lt;br /&gt;
==== 2015 ====&lt;br /&gt;
* Charnay, Benjamin, Erika Barth, Scot Rafkin, Clément Narteau, Sébastien Lebonnois, Sébastien Rodriguez, Sylvain Courrech du Pont, et Antoine Lucas. « Methane Storms as a Driver of Titan’s Dune Orientation ». Nature Geoscience 8, no 5 (mai 2015): 362‑66. https://doi.org/10.1038/ngeo2406.&lt;br /&gt;
==== 2012 ====&lt;br /&gt;
* Lebonnois, Sébastien, Jérémie Burgalat, Pascal Rannou, et Benjamin Charnay. « Titan Global Climate Model: A New 3-Dimensional Version of the IPSL Titan GCM ». Icarus 218, no 1 (mars 2012): 707‑22. https://doi.org/10.1016/j.icarus.2011.11.032.&lt;br /&gt;
* Charnay, B. and S. Lebonnois Two boundary layers in Titan's lower troposphere inferred from a climate model. Nature Geoscience, 5, 106. (2012) https://www.nature.com/articles/ngeo1374&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Overview_of_the_Titan_PCM&amp;diff=2782</id>
		<title>Overview of the Titan PCM</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Overview_of_the_Titan_PCM&amp;diff=2782"/>
				<updated>2025-07-09T08:43:05Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Titan PCM (Planetary Climate Model) ==&lt;br /&gt;
In a nutshell, the Titan Planetary Climate Model is a General Circulation Model (GCM) of the titanian atmosphere. It is in fact a suite of models which may be run in various configurations: with the historical lon-lat (LMDz) dynamics, or as a regional model using [[WRF dynamical core for LES/mesoscale simulations|'''WRF''']] (a limited area dynamical core), or even as a 1D (single column) model.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
The traditional Titan PCM - LMDz (formerly know as the IPSL Titan GCM) is the most commonly used version. For a first try at installing and running the Titan PCM we recommend you start from the [[Quick Install and Run Titan PCM]] page. You will also most likely be interested in all the pages tagged as &amp;quot;Titan-Model&amp;quot; or &amp;quot;Venus-LMDZ&amp;quot; in the [[Special:Categories|Categories]] section.&lt;br /&gt;
&lt;br /&gt;
== Bibliography ==&lt;br /&gt;
&lt;br /&gt;
==== 2025 ====&lt;br /&gt;
* Bruno De Batz De Trenquelléon, Lucie Rosset, Jan Vatant d’Ollone, Sébastien Lebonnois, Pascal Rannou, Jérémie Burgalat, et Sandrine Vinatier. « The New Titan Planetary Climate Model. I. Seasonal Variations of the Thermal Structure and Circulation in the Stratosphere ». The Planetary Science Journal 6, no 4 (1 avril 2025): 78. https://doi.org/10.3847/PSJ/adbbe7.&lt;br /&gt;
* Bruno De Batz De Trenquelléon, Pascal Rannou, Jérémie Burgalat, Sébastien Lebonnois, et Jan Vatant d’Ollone. « The New Titan Planetary Climate Model. II. Titan’s Haze and Cloud Cycles ». The Planetary Science Journal 6, no 4 (1 avril 2025): 79. https://doi.org/10.3847/PSJ/adbb6c.&lt;br /&gt;
==== 2020 ====&lt;br /&gt;
* Vatant d’Ollone, Jan. « Numerical modelling of the seasonal variations in Titan’s atmosphere ». These de doctorat, Sorbonne université, 2020. https://theses.fr/2020SORUS401.&lt;br /&gt;
==== 2019 ====&lt;br /&gt;
* Lora, J. M., T. Tokano, J. Vatant d'Ollone, S. Lebonnois, and R. D. Lorenz A model intercomparison of Titan's climate and low-latitude environment. Icarus, 333, 113. (2019)&lt;br /&gt;
==== 2015 ====&lt;br /&gt;
* Charnay&lt;br /&gt;
==== 2012 ====&lt;br /&gt;
* Lebonnois, Sébastien, Jérémie Burgalat, Pascal Rannou, et Benjamin Charnay. « Titan Global Climate Model: A New 3-Dimensional Version of the IPSL Titan GCM ». Icarus 218, no 1 (mars 2012): 707‑22. https://doi.org/10.1016/j.icarus.2011.11.032.&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Overview_of_the_Titan_PCM&amp;diff=2781</id>
		<title>Overview of the Titan PCM</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Overview_of_the_Titan_PCM&amp;diff=2781"/>
				<updated>2025-07-09T08:22:19Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Titan PCM (Planetary Climate Model) ==&lt;br /&gt;
In a nutshell, the Titan Planetary Climate Model is a General Circulation Model (GCM) of the titanian atmosphere. It is in fact a suite of models which may be run in various configurations: with the historical lon-lat (LMDZ) dynamics, or as a regional model using [[WRF dynamical core for LES/mesoscale simulations|'''WRF''']] (a limited area dynamical core), or even as a 1D (single column) model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Main_Page&amp;diff=2780</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Main_Page&amp;diff=2780"/>
				<updated>2025-07-09T08:13:23Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
#setlogo:Saturn_gcm2.png&lt;br /&gt;
[[File:Saturn_gcm2.png|thumb]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Welcome to the wiki of the Planetary Climate Models (PCM) family! Our numerical climate models cover a wide range of planets described below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''With the [[Overview of the Generic PCM|Generic Models]]:'''&lt;br /&gt;
# Exoplanets of all kinds (rocky planets, super-Earths, mini-Neptunes, hot Jupiters, etc.)&lt;br /&gt;
# Paleoclimates of Solar System planets (e.g., to simulate lakes and glacier on Hesperian/Noachian Mars ; snowball episodes or exploring the Faint Young Sun on Earth ; formation and stability of early ocean on Venus ; episodes of atmospheric collapse on Titan)&lt;br /&gt;
# Giant planets (Jupiter, Saturn, Uranus, Neptune)&lt;br /&gt;
* '''With the [[Overview of the Mars PCM|Mars Models]]:'''&lt;br /&gt;
# Present-day Mars climate (with water and dust cycles)&lt;br /&gt;
# Recent-Mars paleoclimates (e.g., during Amazonian epoch, to simulate low and high-obliquity epochs)&lt;br /&gt;
# Regional and local weathers on Mars (e.g. to simulate weather near Mars rover landing sites)&lt;br /&gt;
* '''With the [[Overview of the Venus PCM|Venus models]]:'''&lt;br /&gt;
# Present-day Venus climate&lt;br /&gt;
# Regional weather on Venus (e.g. to simulate the convection in the cloud layer)&lt;br /&gt;
* '''With the [[Overview of the Titan PCM|Titan Models]]:'''&lt;br /&gt;
# Present-day Titan&lt;br /&gt;
# Regional and local weather on Titan&lt;br /&gt;
* '''With the [[Overview of the Pluto PCM|Pluto/Triton models]]:'''&lt;br /&gt;
# Present-day Pluto/Triton climate&lt;br /&gt;
# Long-term volatile/ice cycling on Pluto and Triton&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#800000&amp;quot;&amp;gt; '''You can use the menu on the left to navigate across main webpages. For more specific needs, you can use the search bar (top right).''' &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that each wiki page has &amp;quot;categories&amp;quot; (visible at the bottom of the page) indicating the cases (planet, type of simulations) for which they apply. All existing categories are listed here: https://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php/Special:Categories. For instance the category 'Generic-DYNAMICO' lists all the pages that apply to numerical climate simulations performed with the Generic PCM (for exoplanets, giant planets or paleoclimates) using the 3-D icosahedral dynamical core DYNAMICO; the 'DYNAMICO' category is focused on the dynamical core only (irrespective of the physics package it might be combined to) and the 'Mars-Mesoscale' category applies to the combined use of the Mars physics package and WRF (Mesoscale) dynamics.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- this is a comment bloc; to keep track of what was initially here&lt;br /&gt;
&lt;br /&gt;
== This is the IPSL Planets wikipedia ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;MediaWiki has been installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki]&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Overview_of_the_Titan_PCM&amp;diff=2779</id>
		<title>Overview of the Titan PCM</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Overview_of_the_Titan_PCM&amp;diff=2779"/>
				<updated>2025-07-09T08:08:26Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: /* The Titan PCM (Planetary Climate Model) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Titan PCM (Planetary Climate Model) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Overview_of_the_Titan_PCM&amp;diff=2778</id>
		<title>Overview of the Titan PCM</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Overview_of_the_Titan_PCM&amp;diff=2778"/>
				<updated>2025-07-09T08:07:53Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Titan PCM (Planetary Climate Model) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Models]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Overview_of_the_Titan_PCM&amp;diff=2777</id>
		<title>Overview of the Titan PCM</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Overview_of_the_Titan_PCM&amp;diff=2777"/>
				<updated>2025-07-09T08:07:05Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: /* The Titan PCM (Planetary Climate Model) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Titan PCM (Planetary Climate Model) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Overview_of_the_Titan_PCM&amp;diff=2776</id>
		<title>Overview of the Titan PCM</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Overview_of_the_Titan_PCM&amp;diff=2776"/>
				<updated>2025-07-09T08:06:22Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: Created page with &amp;quot;== The Titan PCM (Planetary Climate Model) ==&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Titan PCM (Planetary Climate Model) ==&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=The_makelmdz_fcm_GCM_Compilation_Script&amp;diff=2651</id>
		<title>The makelmdz fcm GCM Compilation Script</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=The_makelmdz_fcm_GCM_Compilation_Script&amp;diff=2651"/>
				<updated>2025-03-11T14:32:18Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
The '''makelmdz_fcm''' script is the (bash) script (located in '''LMDZ.COMMON''' directory) to use to [[Quick_Install_and_Run#Compiling_the_GCM|compile the GCM]]. It is based on FCM and should be run, with various options (e.g which physics package to compile the model with, what grid resolution to use, etc.) to generate the sought executable.&lt;br /&gt;
&lt;br /&gt;
== makelmdz_fcm options ==&lt;br /&gt;
To list available options, run &amp;quot;makelmdz_fcm -h&amp;quot;, which should return something like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Usage :&lt;br /&gt;
makelmdz_fcm [options] -arch arch_name exec&lt;br /&gt;
[-h]                       : brief help&lt;br /&gt;
[-d [[IMx]JMx]LM]          : IM, JM, LM are the dimensions in x, y, z (default: 96x72x19)&lt;br /&gt;
[-s nscat]                 : (Generic) Number of radiatively active scatterers&lt;br /&gt;
[-b IRxVIS]                : (Generic) Number of infrared (IR) and visible (VIS) bands for radiative transfer&lt;br /&gt;
[-p PHYS]                  : set of physical parametrizations (in libf/phyPHYS), (default: lmd)&lt;br /&gt;
[-prod / -dev / -debug]    : compilation mode production (default) / developement / debug .&lt;br /&gt;
[-c false/MPI1/OMCT]       : (Earth) coupling with ocean model : MPI1/OMCT/false (default: false)&lt;br /&gt;
[-v false/orchidee2.0/orchidee1.9/true] : (Earth) version of the vegetation model to include (default: false)&lt;br /&gt;
          false       : no vegetation model&lt;br /&gt;
          orchidee2.0 : compile using ORCHIDEE 2.0 (or more recent version)&lt;br /&gt;
          orchidee1.9 : compile using ORCHIDEE up to the version including OpenMP in ORCHIDEE : tag 1.9-1.9.5(version AR5)-1.9.6&lt;br /&gt;
          true        : (obsolete; for backward compatibility) use ORCHIDEE tag 1.9-1.9.6&lt;br /&gt;
[-chimie INCA/false]       : (Earth) with INCA chemistry model or without (default: false)&lt;br /&gt;
[-cosp true/false]         : (Earth) add the cosp model (default: false)&lt;br /&gt;
[-sisvat true/false]  : (Earth) compile with/without sisvat package (default: false)&lt;br /&gt;
[-rrtm true/false]    : (Earth) compile with/without rrtm package (default: false)&lt;br /&gt;
[-dust true/false]    : (Earth) compile with/without the dust package by Boucher and co (default: false)&lt;br /&gt;
[-strataer true/false]    : (Earth) compile with/without the strat aer package by Boucher and co (default: false)&lt;br /&gt;
[-parallel none/mpi/omp/mpi_omp] : parallelism (default: none) : mpi, openmp or mixted mpi_openmp&lt;br /&gt;
[-g GRI]                   : grid configuration in dyn3d/GRI_xy.h  (default: reg, inclues a zoom)&lt;br /&gt;
[-io ioipsl/mix/xios]                   : Input/Output library (default: ioipsl)&lt;br /&gt;
[-include INCLUDES]        : extra include path to add&lt;br /&gt;
[-cpp CPP_KEY]             : additional preprocessing definitions&lt;br /&gt;
[-adjnt]                   : adjoint model, not operational ...&lt;br /&gt;
[-mem]                     : reduced memory dynamics (if in parallel mode)&lt;br /&gt;
[-filtre NOMFILTRE]        : use filtre from libf/NOMFILTRE (default: filtrez)&lt;br /&gt;
[-link LINKS]              : additional links with other libraries&lt;br /&gt;
[-j n]                     : active parallel compiling on ntask&lt;br /&gt;
[-full]                    : full (re-)compilation (from scratch)&lt;br /&gt;
[-libphy]                  : only compile physics package (no dynamics or main program)&lt;br /&gt;
[-fcm_path path]           : path to the fcm tool (default: tools/fcm/bin)&lt;br /&gt;
[-ext_src path]            : path to an additional set of routines to compile with the model&lt;br /&gt;
[-arch_path path]          : path to architecture files (default: arch)&lt;br /&gt;
 -arch arch                : target architecture &lt;br /&gt;
 exec                      : executable to build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that some options are meaningless for the Generic GCM. This is due to the fact that we try to coordinates tools like '''makelmdz_fcm''' between different physics packages.&lt;br /&gt;
&lt;br /&gt;
The only mandatory argument are '''-arch''' and '''exec''', but in practice you'll need to specify many more (as defaults rarely suit all needs)&lt;br /&gt;
 &lt;br /&gt;
== Details of main makelmdz_fcm options ==&lt;br /&gt;
&amp;lt;pre&amp;gt;-d IMxJMxLM&amp;lt;/pre&amp;gt;&lt;br /&gt;
As the default is to run on a fixed longitude-latitude grid (set when compiling), option &amp;quot;-d&amp;quot; is necessary to specify the number of grid points iimxjjmxlllm (actually iim is the number of intervals along longitude, jjm is the number of intervals along latitude and llm the number of atmospheric layers).&lt;br /&gt;
&lt;br /&gt;
If compiling one of the 1D models, then only the number of layers (llm) needs be specified, e.g. &amp;lt;code&amp;gt;-d 78&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;-prod / -dev / -debug&amp;lt;/pre&amp;gt;&lt;br /&gt;
Compilation mode. Default is &amp;lt;code&amp;gt;-prod&amp;lt;/code&amp;gt;, i.e. &amp;quot;production&amp;quot; mode, where compiler optimization are on (as defined in the arch files; see [[The_Target_Architecture_(&amp;quot;arch&amp;quot;)_Files]] for details). When checking/debugging you definitely want to set &amp;lt;code&amp;gt;-debug&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;-j n&amp;lt;/pre&amp;gt;&lt;br /&gt;
With this option one can speed up compilation by letting &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; compile simultaneously (and if possible) up to &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt; routines in parallel (note that this &amp;quot;parallel compilation&amp;quot; has nothing to do with the code being compiled for serial or parallel use as specified via option &amp;lt;code&amp;gt;-parallel ...&amp;lt;/code&amp;gt;). In practice using &amp;lt;code&amp;gt;-j 8&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-j 4&amp;lt;/code&amp;gt; works well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;-parallel none/mpi/omp/mpi_omp&amp;lt;/pre&amp;gt;&lt;br /&gt;
This option is to specify whether the model should be compiled in serial mode (default) or in parallel using MPI (&amp;lt;code&amp;gt;mpi&amp;lt;/code&amp;gt;) only, or using OpenMP (&amp;lt;code&amp;gt;omp&amp;lt;/code&amp;gt;) only, or both MPI and OpenMP (&amp;lt;code&amp;gt;mpi_omp&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
In practice, one most often needs to run in parallel and using both MPI and OpenMP, so &amp;lt;code&amp;gt;-parallel mpi_omp&amp;lt;/code&amp;gt; is advised.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;-io ioipsl/noioipsl/mix/xios&amp;lt;/pre&amp;gt;&lt;br /&gt;
This option specifies which IO (Input/Output) library is going to be used by the model. Default is &amp;lt;code&amp;gt;-io ioipsl&amp;lt;/code&amp;gt;, which is becoming depreciated for the GCM but mandatory for the 1D model. Note that when compiling with XIOS: &amp;lt;code&amp;gt;-io xios&amp;lt;/code&amp;gt; on still needs to also use the IOIPSL library (which handles the reading of the run.def and companion files). It is also possible to compile without the IOISPL or XIOS libraries by specifying &amp;lt;code&amp;gt;-io noioipsl&amp;lt;/code&amp;gt; (using an internal version of the getin() function from reading the *.def files; not recommended, but might help if building IOIPSL is a problem).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;-libphy&amp;lt;/pre&amp;gt;&lt;br /&gt;
With this option, only the physics package is compiled (the longitude-latitude dynamics routines are excluded) as a library, and no main program is generated. Building this library is a mandatory step to run with other dynamical cores like DYNAMICO or WRF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;-full&amp;lt;/pre&amp;gt;&lt;br /&gt;
Impose a full cleanup (i.e. removing past object and library files) to ensure recompiling the model from scratch.&lt;br /&gt;
&lt;br /&gt;
== Details of some specific makelmdz_fcm options ==&lt;br /&gt;
One chooses which physics package will be used using the &lt;br /&gt;
&amp;lt;pre&amp;gt;-p arg&amp;lt;/pre&amp;gt;&lt;br /&gt;
option, where &amp;lt;code&amp;gt;arg&amp;lt;/code&amp;gt; implies that the corresponding code will be found in '''LMDZ.COMMON/libf/phyarg''' and optionally also in '''LMDZ.COMMON/libf/aeronoarg'''. In practice these are just links to the package '''LMDZ.ARG/libf/phyarg''' and '''LMDZ.ARG/libf/aeronoarg''' (see [[LMDZ.COMMON directory layout and contents]], [[LMDZ.GENERIC directory layout and contents]], etc.).&lt;br /&gt;
&lt;br /&gt;
=== Generic model specific options ===&lt;br /&gt;
To compile with the Generic physics package, the adequate argument to &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;std&amp;lt;/code&amp;gt;, i.e. corresponding code will be found in '''LMDZ.COMMON/libf/phystd''' and '''LMDZ.COMMON/libf/aeronostd''', which are simply links to '''LMDZ.GENERIC/libf/phystd''' and '''LMDZ.GENERIC/libf/aeronostd''':&lt;br /&gt;
&amp;lt;pre&amp;gt;-p std&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additional options one must provide when compiling with the Generic physics include: &lt;br /&gt;
&amp;lt;pre&amp;gt;-b IRxVIS&amp;lt;/pre&amp;gt;&lt;br /&gt;
Number of bands in the InfraRed and Visible for the radiative transfer. Note that this requires that the corresponding appropriate input files are available (at run time).&lt;br /&gt;
&lt;br /&gt;
=== Mars model specific options ===&lt;br /&gt;
To compile with the Mars physics package, the adequate argument to &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;mars&amp;lt;/code&amp;gt;, i.e. corresponding code will be found in '''LMDZ.COMMON/libf/phymars''' and '''LMDZ.COMMON/libf/aeronomars''', which are simply links to '''LMDZ.MARS/libf/phymars''' and '''LMDZ.MARS/libf/aeronomars''':&lt;br /&gt;
&amp;lt;pre&amp;gt;-p mars&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Venus model specific options ===&lt;br /&gt;
To compile with the Venus physics package, the adequate argument to &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;venus&amp;lt;/code&amp;gt;, i.e. corresponding code will be found in '''LMDZ.COMMON/libf/phyvenus''', which is simply a link to '''LMDZ.VENUS/libf/phyvenus''':&lt;br /&gt;
&amp;lt;pre&amp;gt;-p venus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Titan model specific options ===&lt;br /&gt;
To compile with the Titan physics package, the adequate argument to &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;titan&amp;lt;/code&amp;gt;, i.e. corresponding code will be found in '''LMDZ.COMMON/libf/phytitan''', '''LLMDZ.COMMON/libf/muphytitan''' and '''LMDZ.COMMON/libf/chimtitan''', which are simply links to '''LMDZ.TITAN/libf/phytitan''', '''LMDZ.TITAN/libf/muphytitan''' and '''LMDZ.TITAN/libf/chimtitan''':&lt;br /&gt;
&amp;lt;pre&amp;gt;-p titan&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Generic-Model]]&lt;br /&gt;
[[Category:Mars-Model]]&lt;br /&gt;
[[Category:Venus-Model]]&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1803</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1803"/>
				<updated>2024-01-05T14:29:50Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Adapt 0_defining file ===&lt;br /&gt;
Some lines are specific to the cluster, for SPIRIT:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
archname=&amp;quot;ifort_MESOIPSL&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some lines are specific to Titan:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
version=tags/titan_les_compiles_and_runs_master_MESOIPSL # titan&lt;br /&gt;
physics=titan&lt;br /&gt;
add=&amp;quot;-d 32x48x55 -s 1 -b 23x23 -cpp OLD_COMPILO&amp;quot; # titan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/!\ The &amp;quot;inputs to script configure&amp;quot; depend on the version of WRF you use.&lt;br /&gt;
&lt;br /&gt;
=== Run install.sh ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run a simulation ==&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd titan_pbl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
&lt;br /&gt;
Update the GCM data path: in callphys.def, set datadir to the same path as the datadir defined in physiq.def (e.g. /data/mlefevre/SIMU/filephys/TITAN/datagcm).&lt;br /&gt;
&lt;br /&gt;
Then initialize and launch the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Mesoscale]]&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1802</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1802"/>
				<updated>2024-01-05T14:28:54Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Adapt 0_defining file ===&lt;br /&gt;
Some lines are specific to the cluster, for SPIRIT:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
archname=&amp;quot;ifort_MESOIPSL&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some lines are specific to Titan:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
version=tags/titan_les_compiles_and_runs_master_MESOIPSL # titan&lt;br /&gt;
physics=titan&lt;br /&gt;
add=&amp;quot;-d 32x48x55 -s 1 -b 23x23 -cpp OLD_COMPILO&amp;quot; # titan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/!\ The &amp;quot;inputs to script configure&amp;quot; depend on the version of WRF you use.&lt;br /&gt;
&lt;br /&gt;
Run install.sh:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run a simulation ==&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd titan_pbl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
&lt;br /&gt;
Update the GCM data path: in callphys.def, set datadir to the same path as the datadir defined in physiq.def (e.g. /data/mlefevre/SIMU/filephys/TITAN/datagcm).&lt;br /&gt;
&lt;br /&gt;
Then initialize and launch the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Mesoscale]]&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1801</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1801"/>
				<updated>2024-01-05T14:27:31Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: /* Adapt 0_defining file. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Adapt 0_defining file ===&lt;br /&gt;
Some lines are specific to the cluster, for SPIRIT:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
archname=&amp;quot;ifort_MESOIPSL&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some lines are specific to Titan:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
version=tags/titan_les_compiles_and_runs_master_MESOIPSL # titan&lt;br /&gt;
physics=titan&lt;br /&gt;
add=&amp;quot;-d 32x48x55 -s 1 -b 23x23 -cpp OLD_COMPILO&amp;quot; # titan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/!\ The ``inputs to script configure'' depend on the version of WRF you use.&lt;br /&gt;
&lt;br /&gt;
Run install.sh:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run a simulation ==&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd titan_pbl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
&lt;br /&gt;
Update the GCM data path: in callphys.def, set datadir to the same path as the datadir defined in physiq.def (e.g. /data/mlefevre/SIMU/filephys/TITAN/datagcm).&lt;br /&gt;
&lt;br /&gt;
Then initialize and launch the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Mesoscale]]&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1800</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1800"/>
				<updated>2024-01-05T14:27:15Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: /* Create a new branch and adapt it to Titan */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Adapt 0_defining file. ===&lt;br /&gt;
Some lines are specific to the cluster, for SPIRIT:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
archname=&amp;quot;ifort_MESOIPSL&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some lines are specific to Titan:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
version=tags/titan_les_compiles_and_runs_master_MESOIPSL # titan&lt;br /&gt;
physics=titan&lt;br /&gt;
add=&amp;quot;-d 32x48x55 -s 1 -b 23x23 -cpp OLD_COMPILO&amp;quot; # titan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/!\ The ``inputs to script configure'' depend on the version of WRF you use.&lt;br /&gt;
&lt;br /&gt;
Run install.sh:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run a simulation ==&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd titan_pbl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
&lt;br /&gt;
Update the GCM data path: in callphys.def, set datadir to the same path as the datadir defined in physiq.def (e.g. /data/mlefevre/SIMU/filephys/TITAN/datagcm).&lt;br /&gt;
&lt;br /&gt;
Then initialize and launch the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Mesoscale]]&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1799</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1799"/>
				<updated>2024-01-05T14:26:52Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch and adapt it to Titan ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Adapt 0_defining file. ===&lt;br /&gt;
Some lines are specific to the cluster, for SPIRIT:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
archname=&amp;quot;ifort_MESOIPSL&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some lines are specific to Titan:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
version=tags/titan_les_compiles_and_runs_master_MESOIPSL # titan&lt;br /&gt;
physics=titan&lt;br /&gt;
add=&amp;quot;-d 32x48x55 -s 1 -b 23x23 -cpp OLD_COMPILO&amp;quot; # titan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/!\ The ``inputs to script configure'' depend on the version of WRF you use.&lt;br /&gt;
&lt;br /&gt;
Run install.sh:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run a simulation ==&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd titan_pbl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
&lt;br /&gt;
Update the GCM data path: in callphys.def, set datadir to the same path as the datadir defined in physiq.def (e.g. /data/mlefevre/SIMU/filephys/TITAN/datagcm).&lt;br /&gt;
&lt;br /&gt;
Then initialize and launch the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Mesoscale]]&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1798</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1798"/>
				<updated>2024-01-05T14:26:06Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch and adapt it to Titan ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt 0_defining file.&lt;br /&gt;
Some lines are specific to the cluster, for SPIRIT:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
archname=&amp;quot;ifort_MESOIPSL&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some lines are specific to Titan:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
version=tags/titan_les_compiles_and_runs_master_MESOIPSL # titan&lt;br /&gt;
physics=titan&lt;br /&gt;
add=&amp;quot;-d 32x48x55 -s 1 -b 23x23 -cpp OLD_COMPILO&amp;quot; # titan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/!\ The ``inputs to script configure'' depend on the version of WRF you use.&lt;br /&gt;
&lt;br /&gt;
Run install.sh:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run a simulation ==&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd titan_pbl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
&lt;br /&gt;
Update the GCM data path: in callphys.def, set datadir to the same path as the datadir defined in physiq.def (e.g. /data/mlefevre/SIMU/filephys/TITAN/datagcm).&lt;br /&gt;
&lt;br /&gt;
Then initialize and launch the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Mesoscale]]&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1790</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1790"/>
				<updated>2024-01-02T14:47:32Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch and adapt it to Titan ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt 0_defining file to Titan.&lt;br /&gt;
&lt;br /&gt;
Run install.sh:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run a simulation ==&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd titan_pbl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
&lt;br /&gt;
Update the GCM data path: in callphys.def, set datadir to the same path as the datadir defined in physiq.def (e.g. /data/mlefevre/SIMU/filephys/TITAN/datagcm).&lt;br /&gt;
&lt;br /&gt;
Then initialize and launch the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Mesoscale]]&lt;br /&gt;
[[Category:Titan-Model]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Category:Titan-Mesoscale&amp;diff=1789</id>
		<title>Category:Titan-Mesoscale</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Category:Titan-Mesoscale&amp;diff=1789"/>
				<updated>2024-01-02T14:46:26Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: Created page with &amp;quot;The pages in this category are related to the WRF Titan model.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The pages in this category are related to the WRF Titan model.&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1788</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1788"/>
				<updated>2024-01-02T14:43:38Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch and adapt it to Titan ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt 0_defining file to Titan.&lt;br /&gt;
&lt;br /&gt;
Run install.sh:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run a simulation ==&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd titan_pbl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
&lt;br /&gt;
Update the GCM data path: in callphys.def, set datadir to the same path as the datadir defined in physiq.def (e.g. /data/mlefevre/SIMU/filephys/TITAN/datagcm).&lt;br /&gt;
&lt;br /&gt;
Then initialize and launch the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Titan-Mesoscale]]&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1787</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1787"/>
				<updated>2024-01-02T14:43:01Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch and adapt it to Titan ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt 0_defining file to Titan.&lt;br /&gt;
&lt;br /&gt;
Run install.sh:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run a simulation ==&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd titan_pbl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
&lt;br /&gt;
Update the GCM data path: in callphys.def, set datadir to the same path as the datadir defined in physiq.def (e.g. /data/mlefevre/SIMU/filephys/TITAN/datagcm).&lt;br /&gt;
&lt;br /&gt;
Then initialize and launch the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
./wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1786</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1786"/>
				<updated>2024-01-02T14:41:47Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch and adapt it to Titan ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt 0_defining file to Titan.&lt;br /&gt;
&lt;br /&gt;
Run install.sh:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run a simulation ==&lt;br /&gt;
&lt;br /&gt;
Go to a test directory, for instance:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cd titan_pbl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt the simulation parameters in namelist.input (e.g. the duration of the simulation).&lt;br /&gt;
&lt;br /&gt;
Update the GCM data path: in callphys.def, set datadir to the same path as the datadir defined in physiq.def (e.g. /data/mlefevre/SIMU/filephys/TITAN/datagcm).&lt;br /&gt;
&lt;br /&gt;
Then initialize and launch the simulation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./ideal.exe&lt;br /&gt;
./wfr.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1785</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1785"/>
				<updated>2024-01-02T14:32:52Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch and adapt it to Titan ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt 0_defining file to Titan.&lt;br /&gt;
&lt;br /&gt;
Run install.sh:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1784</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1784"/>
				<updated>2024-01-02T14:31:56Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install the code ==&lt;br /&gt;
&lt;br /&gt;
=== Load les_planet_workflow from Git ===&lt;br /&gt;
On one of the scratch disks (e.g. scratchu), do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone git@gitlab.in2p3.fr:aymeric.spiga/les_mars_project.git les_planet_workflow&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a new branch and adapt it to Titan ===&lt;br /&gt;
In the les_planet_workflow directory, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
git branch new_branch&lt;br /&gt;
git checkout new_branch&lt;br /&gt;
&amp;lt;\syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adapt 0_defining file to Titan.&lt;br /&gt;
&lt;br /&gt;
Run install.sh:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
./install.sh&lt;br /&gt;
&amp;lt;\syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1783</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1783"/>
				<updated>2024-01-02T14:20:30Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1782</id>
		<title>Installing Titan mesoscale model on spirit</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Installing_Titan_mesoscale_model_on_spirit&amp;diff=1782"/>
				<updated>2024-01-02T14:20:05Z</updated>
		
		<summary type="html">&lt;p&gt;Emoisan: Created page with &amp;quot;== Install FCM ==  On your home, do:  &amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt; mkdir TOOLS cd TOOLS svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2 cd vi .bash_profil...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Install FCM ==&lt;br /&gt;
&lt;br /&gt;
On your home, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir TOOLS&lt;br /&gt;
cd TOOLS&lt;br /&gt;
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2&lt;br /&gt;
cd&lt;br /&gt;
vi .bash_profile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your ~/.bash_profile, add:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure your ~/.bashrc ==&lt;br /&gt;
In your ~/bashrc, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
        . /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
declare -x PATH=./:$PATH&lt;br /&gt;
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&lt;br /&gt;
module purge&lt;br /&gt;
module load intel/2021.4.0&lt;br /&gt;
module load intel-mkl/2020.4.304&lt;br /&gt;
module load openmpi/4.0.7&lt;br /&gt;
module load hdf5/1.10.7-mpi&lt;br /&gt;
module load netcdf-fortran/4.5.3-mpi&lt;br /&gt;
module load netcdf-c/4.7.4-mpi&lt;br /&gt;
declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/&lt;br /&gt;
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT&lt;br /&gt;
declare -x NCDFLIB=$NETCDF/lib&lt;br /&gt;
declare -x NCDFINC=$NETCDF/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add private key ==&lt;br /&gt;
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab.&lt;br /&gt;
To do this, put your id_rsa file in the directory ~/.ssh/.&lt;br /&gt;
Then, change the rights to the file, so that only you can access and read it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod go-r ~./ssh/id_rsa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Emoisan</name></author>	</entry>

	</feed>