<?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=Evos</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=Evos"/>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php/Special:Contributions/Evos"/>
		<updated>2026-06-10T18:19:43Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Using_Adastra&amp;diff=1538</id>
		<title>Using Adastra</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Using_Adastra&amp;diff=1538"/>
				<updated>2023-06-15T08:24:29Z</updated>
		
		<summary type="html">&lt;p&gt;Evos: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page provides a summary of examples and tools designed to help you get used with the Adastra environment.&lt;br /&gt;
&lt;br /&gt;
== Getting access to the cluster ==&lt;br /&gt;
For people on the &amp;quot;Atmosphères Planétaires&amp;quot; GENCI project who need to open an account on Adastra, here is the procedure:&lt;br /&gt;
&lt;br /&gt;
# Go to https://www.edari.fr/utilisateur and log in via Janus or create an account if you don't have a Janus login. If this doesn't work, you can create a new eDARI account. (Make sure your profile is fully up to date including nationality)&lt;br /&gt;
# Click on &amp;quot;se rattacher à un dossier ayant obtenu des resources&amp;quot; or &amp;quot;Attach yourself to an application file that has obtained resources&amp;quot;&lt;br /&gt;
# &amp;quot;Atmosphères Planétaires&amp;quot; project number to provide:  A0140110391&lt;br /&gt;
# Ehouarn then receives an email to allow you to join the project. Once he has validated it, you receive a confirmation mail.&lt;br /&gt;
# Once approved, you have to request for an account, click on &amp;quot;CINES: créer une demande d'ouverture de compte&amp;quot;&lt;br /&gt;
# fill in the forms: name, contract end date, CINES, your lab information (LMD is the default)&lt;br /&gt;
# Access IP address  134.157.47.46 , FQDN (Fully Qualified Domain Name): ssh-out.lmd.jussieu.fr &lt;br /&gt;
# Add a second adress : 134.157.176.129 , FQDN: ciclad.ipsl.upmc.fr&lt;br /&gt;
# click on option to have access to CCFR (only important if you have access to other GENCI machines)&lt;br /&gt;
# Security officer is Julien Lenseigne for LMD (his informations are all pre-filled, except phone: +33169335172)&lt;br /&gt;
# YOU MUST THEN VALIDATE THE REQUEST: click on the &amp;quot;Valider la saisie des informations&amp;quot;&lt;br /&gt;
# You then receive an automatic mail, but it's only to tell you to go to the next step: You must now download the pre-filled form from e-dari: find &amp;quot;télécharger la demande&amp;quot; and download the pdf. Sign it, and upload it on e-dari &amp;quot;déposer la demande de création de compte&amp;quot;.&lt;br /&gt;
# Wait for your application to be preprocessed by the system... &lt;br /&gt;
&lt;br /&gt;
== A couple of pointers ==&lt;br /&gt;
&lt;br /&gt;
* Connecting to Adastra: For those who had an account on Occigen, we have retained group and login credentials from then; To connect to Adastra you need first go through the LMD gateway (hakim) or the IPSL (Ciclad/Spirit) gateway and then&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ssh your_cines_login@adastra.cines.fr&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
And then you will probably want to switch project using the myproject command, e.g. to switch to &amp;quot;lmd1167&amp;quot; (the old &amp;quot;Atmosphères Planétaires&amp;quot; GENCI project)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
myproject -a lmd1167&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
and to switch to &amp;quot;cin0391&amp;quot; (the 2023-2024 &amp;quot;Atmosphères Planétaires&amp;quot; GENCI project)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
myproject -a cin0391&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
WARNING: when you switch projects, you also switch HOME directory etc.&lt;br /&gt;
&lt;br /&gt;
To get all the info about dedicated environment variables (e.g. paths to SCRATCH, STORE, etc.) you can use&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
myproject -c&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Changing the password of your CINES account&lt;br /&gt;
When your password is close to expiring, CINES asks you to change it on this website : https://rosetta.cines.fr&lt;br /&gt;
&lt;br /&gt;
Please note that you can access this website only if you are on a machine that you declared as a gateway for Adastra. At LMD, we have generally declared hakim.lmd.jussieu.fr (aka ssh-out) and ciclad.ipsl.jussieu.fr as gateway machines. Hakim doesn't have any browser installed, but you can launch &amp;lt;code&amp;gt;firefox&amp;lt;/code&amp;gt; on Ciclad and connect to the rosetta website.&lt;br /&gt;
If that doesn't work, you will have to mail svp@cines.fr&lt;br /&gt;
&lt;br /&gt;
* Link to the Adastra technical documentation: https://dci.dci-gitlab.cines.fr/webextranet/&lt;br /&gt;
&lt;br /&gt;
== Submitting jobs ==&lt;br /&gt;
It's done using SLURM; you need to write up a job script and submit it using '''sbatch'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sbatch myjob&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
You must specify in the header of the job which project ressources you are using (&amp;quot;cin0391&amp;quot; in our case):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#SBATCH --account=cin0391&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example of an MPI job to launch a simulation ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH --job-name=job_mpi&lt;br /&gt;
#SBATCH --account=cin0391&lt;br /&gt;
### GENOA nodes accommodate 96 cores &lt;br /&gt;
#SBATCH --constraint=GENOA&lt;br /&gt;
### Number of Nodes to use&lt;br /&gt;
#SBATCH --nodes=1&lt;br /&gt;
### Number of MPI tasks per node&lt;br /&gt;
#SBATCH --ntasks-per-node=48 &lt;br /&gt;
### Number of OpenMP threads per MPI task&lt;br /&gt;
#SBATCH --cpus-per-task=1&lt;br /&gt;
#SBATCH --threads-per-core=1&lt;br /&gt;
###SBATCH --exclusive&lt;br /&gt;
#SBATCH --output=job_mpi_%A.out&lt;br /&gt;
#SBATCH --time=00:45:00 &lt;br /&gt;
&lt;br /&gt;
#source env modules:&lt;br /&gt;
source ../trunk/LMDZ.COMMON/arch.env &lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
srun --cpu-bind=threads --label gcm_96x96x78_phyvenus_para.e &amp;gt; gcm.out 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example of a mixed MPI/OpenMP job to launch a simulation ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH --job-name=job_mpi_omp&lt;br /&gt;
#SBATCH --account=cin0391&lt;br /&gt;
### GENOA nodes accommodate 96 cores &lt;br /&gt;
#SBATCH --constraint=GENOA&lt;br /&gt;
### Number of Nodes to use&lt;br /&gt;
#SBATCH --nodes=1&lt;br /&gt;
### Number of MPI tasks per node&lt;br /&gt;
#SBATCH --ntasks-per-node=24 &lt;br /&gt;
### Number of OpenMP threads per MPI task&lt;br /&gt;
#SBATCH --cpus-per-task=4&lt;br /&gt;
#SBATCH --threads-per-core=1&lt;br /&gt;
###SBATCH --exclusive&lt;br /&gt;
#SBATCH --output=job_mpi_omp_%A.out&lt;br /&gt;
#SBATCH --time=00:30:00 &lt;br /&gt;
&lt;br /&gt;
#source env modules:&lt;br /&gt;
source ../trunk/LMDZ.COMMON/arch.env &lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
### OMP_NUM_THREADS value must match &amp;quot;#SBATCH --cpus-per-task&amp;quot;&lt;br /&gt;
export OMP_NUM_THREADS=4&lt;br /&gt;
export OMP_STACKSIZE=400M&lt;br /&gt;
&lt;br /&gt;
srun --cpu-bind=threads --label gcm_64x48x54_phymars_para.e &amp;gt; gcm.out 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;/div&gt;</summary>
		<author><name>Evos</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Using_Adastra&amp;diff=1537</id>
		<title>Using Adastra</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Using_Adastra&amp;diff=1537"/>
				<updated>2023-06-15T07:16:12Z</updated>
		
		<summary type="html">&lt;p&gt;Evos: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page provides a summary of examples and tools designed to help you get used with the Adastra environment.&lt;br /&gt;
&lt;br /&gt;
== Getting access to the cluster ==&lt;br /&gt;
For people on the &amp;quot;Atmosphères Planétaires&amp;quot; GENCI project who need to open an account on Adastra, here is the procedure:&lt;br /&gt;
&lt;br /&gt;
# Go to https://www.edari.fr/utilisateur and log in via Janus or create an account if you don't have a Janus login. If this doesn't work, you can create a new eDARI account.&lt;br /&gt;
# Click on &amp;quot;se rattacher à un dossier ayant obtenu des resources&amp;quot; or &amp;quot;Attach yourself to an application file that has obtained resources&amp;quot;&lt;br /&gt;
# &amp;quot;Atmosphères Planétaires&amp;quot; project number to provide:  A0140110391&lt;br /&gt;
# Ehouarn then receives an email to allow you to join the project. Once he has validated it, you receive a confirmation mail.&lt;br /&gt;
# Once approved, you have to request for an account, click on &amp;quot;CINES: créer une demande d'ouverture de compte&amp;quot;&lt;br /&gt;
# fill in the forms: name, contract end date, CINES, your lab information (LMD is the default)&lt;br /&gt;
# Access IP address  134.157.47.46 , FQDN (Fully Qualified Domain Name): ssh-out.lmd.jussieu.fr &lt;br /&gt;
# Add a second adress : 134.157.176.129 , FQDN: ciclad.ipsl.upmc.fr&lt;br /&gt;
# click on option to have access to CCFR (only important if you have access to other GENCI machines)&lt;br /&gt;
# Security officer is Julien Lenseigne for LMD (his informations are all pre-filled, except phone: +33169335172)&lt;br /&gt;
# YOU MUST THEN VALIDATE THE REQUEST: click on the &amp;quot;Valider la saisie des informations&amp;quot;&lt;br /&gt;
# You then receive an automatic mail, but it's only to tell you to go to the next step: You must now download the pre-filled form from e-dari: find &amp;quot;télécharger la demande&amp;quot; and download the pdf. Sign it, and upload it on e-dari &amp;quot;déposer la demande de création de compte&amp;quot;.&lt;br /&gt;
# Wait for your application to be preprocessed by the system... &lt;br /&gt;
&lt;br /&gt;
== A couple of pointers ==&lt;br /&gt;
&lt;br /&gt;
* Connecting to Adastra: For those who had an account on Occigen, we have retained group and login credentials from then; To connect to Adastra you need first go through the LMD gateway (hakim) or the IPSL (Ciclad/Spirit) gateway and then&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ssh your_cines_login@adastra.cines.fr&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
And then you will probably want to switch project using the myproject command, e.g. to switch to &amp;quot;lmd1167&amp;quot; (the old &amp;quot;Atmosphères Planétaires&amp;quot; GENCI project)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
myproject -a lmd1167&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
and to switch to &amp;quot;cin0391&amp;quot; (the 2023-2024 &amp;quot;Atmosphères Planétaires&amp;quot; GENCI project)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
myproject -a cin0391&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
WARNING: when you switch projects, you also switch HOME directory etc.&lt;br /&gt;
&lt;br /&gt;
To get all the info about dedicated environment variables (e.g. paths to SCRATCH, STORE, etc.) you can use&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
myproject -c&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Changing the password of your CINES account&lt;br /&gt;
When your password is close to expiring, CINES asks you to change it on this website : https://rosetta.cines.fr&lt;br /&gt;
&lt;br /&gt;
Please note that you can access this website only if you are on a machine that you declared as a gateway for Adastra. At LMD, we have generally declared hakim.lmd.jussieu.fr (aka ssh-out) and ciclad.ipsl.jussieu.fr as gateway machines. Hakim doesn't have any browser installed, but you can launch &amp;lt;code&amp;gt;firefox&amp;lt;/code&amp;gt; on Ciclad and connect to the rosetta website.&lt;br /&gt;
If that doesn't work, you will have to mail svp@cines.fr&lt;br /&gt;
&lt;br /&gt;
* Link to the Adastra technical documentation: https://dci.dci-gitlab.cines.fr/webextranet/&lt;br /&gt;
&lt;br /&gt;
== Submitting jobs ==&lt;br /&gt;
It's done using SLURM; you need to write up a job script and submit it using '''sbatch'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sbatch myjob&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
You must specify in the header of the job which project ressources you are using (&amp;quot;cin0391&amp;quot; in our case):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#SBATCH --account=cin0391&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example of an MPI job to launch a simulation ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH --job-name=job_mpi&lt;br /&gt;
#SBATCH --account=cin0391&lt;br /&gt;
### GENOA nodes accommodate 96 cores &lt;br /&gt;
#SBATCH --constraint=GENOA&lt;br /&gt;
### Number of Nodes to use&lt;br /&gt;
#SBATCH --nodes=1&lt;br /&gt;
### Number of MPI tasks per node&lt;br /&gt;
#SBATCH --ntasks-per-node=48 &lt;br /&gt;
### Number of OpenMP threads per MPI task&lt;br /&gt;
#SBATCH --cpus-per-task=1&lt;br /&gt;
#SBATCH --threads-per-core=1&lt;br /&gt;
###SBATCH --exclusive&lt;br /&gt;
#SBATCH --output=job_mpi_%A.out&lt;br /&gt;
#SBATCH --time=00:45:00 &lt;br /&gt;
&lt;br /&gt;
#source env modules:&lt;br /&gt;
source ../trunk/LMDZ.COMMON/arch.env &lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
srun --cpu-bind=threads --label gcm_96x96x78_phyvenus_para.e &amp;gt; gcm.out 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example of a mixed MPI/OpenMP job to launch a simulation ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH --job-name=job_mpi_omp&lt;br /&gt;
#SBATCH --account=cin0391&lt;br /&gt;
### GENOA nodes accommodate 96 cores &lt;br /&gt;
#SBATCH --constraint=GENOA&lt;br /&gt;
### Number of Nodes to use&lt;br /&gt;
#SBATCH --nodes=1&lt;br /&gt;
### Number of MPI tasks per node&lt;br /&gt;
#SBATCH --ntasks-per-node=24 &lt;br /&gt;
### Number of OpenMP threads per MPI task&lt;br /&gt;
#SBATCH --cpus-per-task=4&lt;br /&gt;
#SBATCH --threads-per-core=1&lt;br /&gt;
###SBATCH --exclusive&lt;br /&gt;
#SBATCH --output=job_mpi_omp_%A.out&lt;br /&gt;
#SBATCH --time=00:30:00 &lt;br /&gt;
&lt;br /&gt;
#source env modules:&lt;br /&gt;
source ../trunk/LMDZ.COMMON/arch.env &lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
### OMP_NUM_THREADS value must match &amp;quot;#SBATCH --cpus-per-task&amp;quot;&lt;br /&gt;
export OMP_NUM_THREADS=4&lt;br /&gt;
export OMP_STACKSIZE=400M&lt;br /&gt;
&lt;br /&gt;
srun --cpu-bind=threads --label gcm_64x48x54_phymars_para.e &amp;gt; gcm.out 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;/div&gt;</summary>
		<author><name>Evos</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Using_Adastra&amp;diff=1536</id>
		<title>Using Adastra</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Using_Adastra&amp;diff=1536"/>
				<updated>2023-06-15T07:14:08Z</updated>
		
		<summary type="html">&lt;p&gt;Evos: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page provides a summary of examples and tools designed to help you get used with the Adastra environment.&lt;br /&gt;
&lt;br /&gt;
== Getting access to the cluster ==&lt;br /&gt;
For people on the &amp;quot;Atmosphères Planétaires&amp;quot; GENCI project who need to open an account on Adastra, here is the procedure:&lt;br /&gt;
&lt;br /&gt;
# Go to https://www.edari.fr/utilisateur and log in via Janus or create an account if you don't have a Janus login. If this doesn't work, you can create a new eDARI account.&lt;br /&gt;
# Click on &amp;quot;se rattacher à un dossier ayant obtenu des ressources&amp;quot;&lt;br /&gt;
# &amp;quot;Atmosphères Planétaires&amp;quot; project number to provide:  A0140110391&lt;br /&gt;
# Ehouarn then receives an email to allow you to join the project. Once he has validated it, you receive a confirmation mail.&lt;br /&gt;
# Once approved, you have to request for an account, click on &amp;quot;CINES: créer une demande d'ouverture de compte&amp;quot;&lt;br /&gt;
# fill in the forms: name, contract end date, CINES, your lab information (LMD is the default)&lt;br /&gt;
# Access IP address  134.157.47.46 , FQDN (Fully Qualified Domain Name): ssh-out.lmd.jussieu.fr &lt;br /&gt;
# Add a second adress : 134.157.176.129 , FQDN: ciclad.ipsl.upmc.fr&lt;br /&gt;
# click on option to have access to CCFR (only important if you have access to other GENCI machines)&lt;br /&gt;
# Security officer is Julien Lenseigne for LMD (his informations are all pre-filled, except phone: +33169335172)&lt;br /&gt;
# YOU MUST THEN VALIDATE THE REQUEST: click on the &amp;quot;Valider la saisie des informations&amp;quot;&lt;br /&gt;
# You then receive an automatic mail, but it's only to tell you to go to the next step: You must now download the pre-filled form from e-dari: find &amp;quot;télécharger la demande&amp;quot; and download the pdf. Sign it, and upload it on e-dari &amp;quot;déposer la demande de création de compte&amp;quot;.&lt;br /&gt;
# Wait for your application to be preprocessed by the system... &lt;br /&gt;
&lt;br /&gt;
== A couple of pointers ==&lt;br /&gt;
&lt;br /&gt;
* Connecting to Adastra: For those who had an account on Occigen, we have retained group and login credentials from then; To connect to Adastra you need first go through the LMD gateway (hakim) or the IPSL (Ciclad/Spirit) gateway and then&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ssh your_cines_login@adastra.cines.fr&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
And then you will probably want to switch project using the myproject command, e.g. to switch to &amp;quot;lmd1167&amp;quot; (the old &amp;quot;Atmosphères Planétaires&amp;quot; GENCI project)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
myproject -a lmd1167&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
and to switch to &amp;quot;cin0391&amp;quot; (the 2023-2024 &amp;quot;Atmosphères Planétaires&amp;quot; GENCI project)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
myproject -a cin0391&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
WARNING: when you switch projects, you also switch HOME directory etc.&lt;br /&gt;
&lt;br /&gt;
To get all the info about dedicated environment variables (e.g. paths to SCRATCH, STORE, etc.) you can use&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
myproject -c&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Changing the password of your CINES account&lt;br /&gt;
When your password is close to expiring, CINES asks you to change it on this website : https://rosetta.cines.fr&lt;br /&gt;
&lt;br /&gt;
Please note that you can access this website only if you are on a machine that you declared as a gateway for Adastra. At LMD, we have generally declared hakim.lmd.jussieu.fr (aka ssh-out) and ciclad.ipsl.jussieu.fr as gateway machines. Hakim doesn't have any browser installed, but you can launch &amp;lt;code&amp;gt;firefox&amp;lt;/code&amp;gt; on Ciclad and connect to the rosetta website.&lt;br /&gt;
If that doesn't work, you will have to mail svp@cines.fr&lt;br /&gt;
&lt;br /&gt;
* Link to the Adastra technical documentation: https://dci.dci-gitlab.cines.fr/webextranet/&lt;br /&gt;
&lt;br /&gt;
== Submitting jobs ==&lt;br /&gt;
It's done using SLURM; you need to write up a job script and submit it using '''sbatch'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sbatch myjob&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
You must specify in the header of the job which project ressources you are using (&amp;quot;cin0391&amp;quot; in our case):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#SBATCH --account=cin0391&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example of an MPI job to launch a simulation ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH --job-name=job_mpi&lt;br /&gt;
#SBATCH --account=cin0391&lt;br /&gt;
### GENOA nodes accommodate 96 cores &lt;br /&gt;
#SBATCH --constraint=GENOA&lt;br /&gt;
### Number of Nodes to use&lt;br /&gt;
#SBATCH --nodes=1&lt;br /&gt;
### Number of MPI tasks per node&lt;br /&gt;
#SBATCH --ntasks-per-node=48 &lt;br /&gt;
### Number of OpenMP threads per MPI task&lt;br /&gt;
#SBATCH --cpus-per-task=1&lt;br /&gt;
#SBATCH --threads-per-core=1&lt;br /&gt;
###SBATCH --exclusive&lt;br /&gt;
#SBATCH --output=job_mpi_%A.out&lt;br /&gt;
#SBATCH --time=00:45:00 &lt;br /&gt;
&lt;br /&gt;
#source env modules:&lt;br /&gt;
source ../trunk/LMDZ.COMMON/arch.env &lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
srun --cpu-bind=threads --label gcm_96x96x78_phyvenus_para.e &amp;gt; gcm.out 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example of a mixed MPI/OpenMP job to launch a simulation ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH --job-name=job_mpi_omp&lt;br /&gt;
#SBATCH --account=cin0391&lt;br /&gt;
### GENOA nodes accommodate 96 cores &lt;br /&gt;
#SBATCH --constraint=GENOA&lt;br /&gt;
### Number of Nodes to use&lt;br /&gt;
#SBATCH --nodes=1&lt;br /&gt;
### Number of MPI tasks per node&lt;br /&gt;
#SBATCH --ntasks-per-node=24 &lt;br /&gt;
### Number of OpenMP threads per MPI task&lt;br /&gt;
#SBATCH --cpus-per-task=4&lt;br /&gt;
#SBATCH --threads-per-core=1&lt;br /&gt;
###SBATCH --exclusive&lt;br /&gt;
#SBATCH --output=job_mpi_omp_%A.out&lt;br /&gt;
#SBATCH --time=00:30:00 &lt;br /&gt;
&lt;br /&gt;
#source env modules:&lt;br /&gt;
source ../trunk/LMDZ.COMMON/arch.env &lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
### OMP_NUM_THREADS value must match &amp;quot;#SBATCH --cpus-per-task&amp;quot;&lt;br /&gt;
export OMP_NUM_THREADS=4&lt;br /&gt;
export OMP_STACKSIZE=400M&lt;br /&gt;
&lt;br /&gt;
srun --cpu-bind=threads --label gcm_64x48x54_phymars_para.e &amp;gt; gcm.out 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;/div&gt;</summary>
		<author><name>Evos</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Mars_Dynamico_Installation_manual&amp;diff=1535</id>
		<title>Mars Dynamico Installation manual</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Mars_Dynamico_Installation_manual&amp;diff=1535"/>
				<updated>2023-06-13T13:20:37Z</updated>
		
		<summary type="html">&lt;p&gt;Evos: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page follows a manual for installing Mars Dynamico&lt;br /&gt;
&lt;br /&gt;
1. Install the LMDZ Mars GCM and newstart&lt;br /&gt;
  a) make sure u have the datafir and all of the *.def files. &lt;br /&gt;
  b) create start.nc and startfi.nc&lt;br /&gt;
2.  Compile start2archive_SSO&lt;br /&gt;
  a) run : makelmdz_fcm -arch &amp;lt;archive&amp;gt; -d &amp;lt;dimensions (lonxlatxalt)&amp;gt;  -p mars start2archive_SSO to create start_archive&lt;br /&gt;
  b) run strart2archice_SSO &lt;br /&gt;
  c) cp start_archive.nc to the dynamico_runs folder&lt;br /&gt;
3. Install Dynamico &lt;br /&gt;
  a) use the following link to access the wiki page of Dynamico    https://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php/The_DYNAMICO_dynamical_core&lt;br /&gt;
  b)  git clone https://gitlab.in2p3.fr/ipsl/projets/dynamico/dynamico.git&lt;br /&gt;
  c) install XIOS, follow this link to access the wiki page of XIOS&lt;br /&gt;
     1. if the make_xios dont work try this : ./make_xios --prod  --arch ifort_MESOIPSL --arch_path ../ARCH --job 8 --full&lt;br /&gt;
  d) move back to dynamico folder and run  ./make_icosa -parallel &amp;lt;parralel_component&amp;gt; -with_xios -arch &amp;lt;archive&amp;gt; -job 8&lt;br /&gt;
     if it doesnt work again add the arch path to ../ARCH&lt;br /&gt;
4. Create an initial condiations files for dynamico by running a  dynamico simulation without the physics.&lt;br /&gt;
  a) Compile make_icosa_lmdz in trunk/ICOSA_LMDZ&lt;br /&gt;
  b) Copy from icosa_lmdz/bin/icosa_lmdz.exe to a dynamico_runs folder&lt;br /&gt;
  c) Copy the xml files and the start files and the def files in the dynamico_runs directory and have access to the datadir.&lt;br /&gt;
     input file start_archive.nc need be converted to NetCDF4 format&lt;br /&gt;
     nccopy -k 4 start_archive.nc start_archive_nc4.nc&lt;br /&gt;
5. run dynamic.&lt;br /&gt;
  a) In run_icosa.def change to run_length=1500, etat_isothermal_temp=200, etat=isothermal and startphy_file=false(not start_file)&lt;br /&gt;
  b) copy datadir to the running directory&lt;br /&gt;
  c) run icosa_lmdz.exe &lt;br /&gt;
  d) copy the files outputed by icosa_lmdz.exe&lt;br /&gt;
      1. cp restartfi.nc startphy_icosa_ref.nc&lt;br /&gt;
      2. cp restart_icosa.nc start_icosa_ref.nc&lt;br /&gt;
6. move to LMDZ.mars/util/startarchive2icosa then change compile script to adapt for the right location of XIOS and run compile u should get start_archive2icosa and rearrange_startphy&lt;br /&gt;
  a) copy start_archive2icosa and rearrange_startphy to the dynamico_runs folder.&lt;br /&gt;
  b) Create surface_nc4.nc and copy it dynamico_runs folder&lt;br /&gt;
  c) source arch.env&lt;br /&gt;
  d) run  ./start_archive2icosa as a job (requires a lot of memory) and make sure that Iodef.xml is the one for compile.&lt;br /&gt;
  e) the script create start_icosa_prefinalize.nc and  startfi_prefinalize.nc&lt;br /&gt;
  f) copy icosa_finalize script form /trunk/LMDZ.MARS/util/startarchive2icosa/icosa_finalize.bash to dynamico_runs folder&lt;br /&gt;
  g) change the XIOS and the for startfi0.nc  paths in icosa_finalize.bash and run it. It adds and changes variables in the startfiles.&lt;br /&gt;
  h) The scripts outputs startfi.nc and start_icosa.nc&lt;br /&gt;
  &lt;br /&gt;
7. update the tracer name in startfi for each tracer for example: ncrename -v ccn_number_surf,ccn_number startfi.nc&lt;br /&gt;
&lt;br /&gt;
8. Run Dynamico simulation&lt;br /&gt;
  a) change the iodef.xml&lt;br /&gt;
  b) change in run_icosa.def etat0=start_file and add etat0_start_file_colocated=true&lt;br /&gt;
&lt;br /&gt;
[[Category:Mars-DYNAMICO]]&lt;/div&gt;</summary>
		<author><name>Evos</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Mars_Dynamico_Installation_manual&amp;diff=1512</id>
		<title>Mars Dynamico Installation manual</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Mars_Dynamico_Installation_manual&amp;diff=1512"/>
				<updated>2023-05-30T15:55:34Z</updated>
		
		<summary type="html">&lt;p&gt;Evos: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page follows a manual for installing Mars Dynamico&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Install the LMDZ Mars GCM and newstart&lt;br /&gt;
  a) make sure u have the datafir and all of the *.def files. &lt;br /&gt;
  b) create start.nc and startfi.nc&lt;br /&gt;
2.  Compile start2archive_SSO&lt;br /&gt;
  a) run : makelmdz_fcm -arch &amp;lt;archive&amp;gt; -d &amp;lt;dimensions (lonxlatxalt)&amp;gt;  -p mars start2archive_SSO to create start_archive&lt;br /&gt;
  b) run strart2archice_SSO &lt;br /&gt;
  c) cp start_archive.nc to the dynamico_runs folder&lt;br /&gt;
3. Install Dynamico &lt;br /&gt;
  a) use the following link to access the wiki page of Dynamico    https://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php/The_DYNAMICO_dynamical_core&lt;br /&gt;
  b)  git clone https://gitlab.in2p3.fr/ipsl/projets/dynamico/dynamico.git&lt;br /&gt;
  c) install XIOS, follow this link to access the wiki page of XIOS&lt;br /&gt;
     1. if the make_xios dont work try this : ./make_xios --prod  --arch ifort_MESOIPSL --arch_path ../ARCH --job 8 --full&lt;br /&gt;
  d) move back to dynamico folder and run  ./make_icosa -parallel &amp;lt;parralel_component&amp;gt; -with_xios -arch &amp;lt;archive&amp;gt; -job 8&lt;br /&gt;
     if it doesnt work again add the arch path to ../ARCH&lt;br /&gt;
4. Create an initial condiations files for dynamico by running a  dynamico simulation without the physics.&lt;br /&gt;
  a) Compile make_icosa_lmdz in trunk/ICOSA_LMDZ&lt;br /&gt;
  b) Copy from icosa_lmdz/bin/icosa_lmdz.exe to a dynamico_runs folder&lt;br /&gt;
  c) Copy the xml files and the start files and the def files in the dynamico_runs directory and have access to the datadir.&lt;br /&gt;
     variable &amp;quot;nivsigs&amp;quot; needs be renamed &amp;quot;sigs&amp;quot; (XIOS requires CF-compliant files) (RV: No neeeded anymore)&lt;br /&gt;
     ncrename -vnivsigs,sigs start_archive.nc&lt;br /&gt;
     input file start_archive.nc need be converted to NetCDF4 format&lt;br /&gt;
     nccopy -k 4 start_archive.nc start_archive_nc4.nc&lt;br /&gt;
5. run dynamic.&lt;br /&gt;
  a) In run_icosa.def change to run_length=1500, etat_isothermal_temp=200, etat=isothermal and startphy_file=false(not start_file)&lt;br /&gt;
  b) copy datadir to the running directory&lt;br /&gt;
  c) run icosa_lmdz.exe &lt;br /&gt;
  d) copy the files outputed by icosa_lmdz.exe&lt;br /&gt;
      1. cp restartfi.nc startphy_icosa_ref.nc&lt;br /&gt;
      2. cp restart_icosa.nc start_icosa_ref.nc&lt;br /&gt;
6. move to LMDZ.mars/util/startarchive2icosa then change compile script to adapt for the right location of XIOS and run compile u should get start_archive2icosa and rearrange_startphy&lt;br /&gt;
  a) copy start_archive2icosa and rearrange_startphy to the dynamico_runs folder.&lt;br /&gt;
  b) Create surface_nc4.nc and copy it dynamico_runs folder&lt;br /&gt;
  c) source arch.env&lt;br /&gt;
  d) run  ./start_archive2icosa as a job (requires a lot of memory) and make sure that Iodef.xml is the one for compile.&lt;br /&gt;
  e) the script create start_icosa_prefinalize.nc and  startfi_prefinalize.nc&lt;br /&gt;
  f) copy icosa_finalize script form /trunk/LMDZ.MARS/util/startarchive2icosa/icosa_finalize.bash to dynamico_runs folder&lt;br /&gt;
  g) change the XIOS and the for startfi0.nc  paths in icosa_finalize.bash and run it. It adds and changes variables in the startfiles.&lt;br /&gt;
  h) The scripts outputs startfi.nc and start_icosa.nc&lt;br /&gt;
  &lt;br /&gt;
7. update the tracer name in startfi for each tracer for example: ncrename -v ccn_number_surf,ccn_number startfi.nc&lt;br /&gt;
&lt;br /&gt;
8. Run Dynamico simulation&lt;br /&gt;
  a) change the iodef.xml&lt;br /&gt;
  b) change in run_icosa.def etat0=start_file and add etat0_start_file_colocated=true&lt;br /&gt;
&lt;br /&gt;
[[Category:Mars-DYNAMICO]]&lt;/div&gt;</summary>
		<author><name>Evos</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Mars_Dynamico_Installation_manual&amp;diff=1511</id>
		<title>Mars Dynamico Installation manual</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Mars_Dynamico_Installation_manual&amp;diff=1511"/>
				<updated>2023-05-30T15:03:18Z</updated>
		
		<summary type="html">&lt;p&gt;Evos: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page follows a manual for installing Mars Dynamico&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Install the LMDZ Mars GCM and newstart&lt;br /&gt;
  a) make sure u have the datafir and all of the *.def files. &lt;br /&gt;
  b) create start.nc and startfi.nc&lt;br /&gt;
2.  Compile start2archive_SSO&lt;br /&gt;
  a) run : makelmdz_fcm -arch &amp;lt;archive&amp;gt; -d &amp;lt;dimensions (lonxlatxalt)&amp;gt;  -p mars start2archive_SSO to create start_archive&lt;br /&gt;
  b) run strart2archice_SSO &lt;br /&gt;
  c) cp start_archive.nc to the dynamico_runs folder&lt;br /&gt;
3. Install Dynamico &lt;br /&gt;
  a) use the following link to access the wiki page of Dynamico    https://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php/The_DYNAMICO_dynamical_core&lt;br /&gt;
  b)  git clone https://gitlab.in2p3.fr/ipsl/projets/dynamico/dynamico.git&lt;br /&gt;
  c) install XIOS, follow this link to access the wiki page of XIOS&lt;br /&gt;
     1. if the make_xios dont work try this : ./make_xios --prod  --arch ifort_MESOIPSL --arch_path ../ARCH --job 8 --full&lt;br /&gt;
  d) move back to dynamico folder and run  ./make_icosa -parallel &amp;lt;parralel_component&amp;gt; -with_xios -arch &amp;lt;archive&amp;gt; -job 8&lt;br /&gt;
     if it doesnt work again add the arch path to ../ARCH&lt;br /&gt;
4. Create an initial condiations files for dynamico by running a  dynamico simulation without the physics.&lt;br /&gt;
  a) Compile make_icosa_lmdz in trunk/ICOSA_LMDZ&lt;br /&gt;
  b) Copy from icosa_lmdz/bin/icosa_lmdz.exe to a dynamico_runs folder&lt;br /&gt;
  c) Copy the xml files and the start files and the def files in the dynamico_runs directory and have access to the datadir.&lt;br /&gt;
     variable &amp;quot;nivsigs&amp;quot; needs be renamed &amp;quot;sigs&amp;quot; (XIOS requires CF-compliant files) (RV: No neeeded anymore)&lt;br /&gt;
     ncrename -vnivsigs,sigs start_archive.nc&lt;br /&gt;
     input file start_archive.nc need be converted to NetCDF4 format&lt;br /&gt;
     nccopy -k 4 start_archive.nc start_archive_nc4.nc&lt;br /&gt;
5. run dynamic.&lt;br /&gt;
  a) In run_icosa.def change to run_length=1500, etat_isothermal_temp=200, etat=isothermal and startphy_file=false(not start_file)&lt;br /&gt;
  b) copy datadir to the running directory&lt;br /&gt;
  c) run icosa_lmdz.exe &lt;br /&gt;
  d) copy the files outputed by icosa_lmdz.exe&lt;br /&gt;
      1. cp restartfi.nc startphy_icosa_ref.nc&lt;br /&gt;
      2. cp restart_icosa.nc start_icosa_ref.nc&lt;br /&gt;
6. move to LMDZ.mars/util/startarchive2icosa then change compile script to adapt for the right location of XIOS and run compile u should get start_archive2icosa and rearrange_startphy&lt;br /&gt;
  a) copy start_archive2icosa and rearrange_startphy to the dynamico_runs folder.&lt;br /&gt;
  b) Create surface_nc4.nc and copy it dynamico_runs folder&lt;br /&gt;
  c) source arch.env&lt;br /&gt;
  d) run  ./start_archive2icosa as a job (requires a lot of memory) and make sure that Iodef.xml is the one for compile.&lt;br /&gt;
  e) the script create start_icosa_prefinalize.nc and  startfi_prefinalize.nc&lt;br /&gt;
  f) copy icosa_finalize script form /trunk/LMDZ.MARS/util/startarchive2icosa/icosa_finalize.bash to dynamico_runs folder&lt;br /&gt;
  g) change the XIOS and the for startfi0.nc  paths in icosa_finalize.bash and run it. It adds and changes variables in the startfiles.&lt;br /&gt;
  h) The scripts outputs startfi.nc and start_icosa.nc&lt;br /&gt;
  i) In the current version of Dynamico, the variable q for tracer is needed but unused. To create this unused variable simply run this short python code&lt;br /&gt;
     1. go into python&lt;br /&gt;
     2. import numpy as np&lt;br /&gt;
     3. import netCDF4 as nc&lt;br /&gt;
     4. fn = 'start_icosa.nc'&lt;br /&gt;
     5. ds = nc.Dataset(fn, 'a', format='NETCDF4')&lt;br /&gt;
     6. nq = ds.createDimension('nq', 7)&lt;br /&gt;
     7. q = ds.createVariable('q', 'f8', ('nq','lev', 'cell_mesh',))&lt;br /&gt;
     8. nqq = ds.createVariable('nq', 'f8', ('nq',))&lt;br /&gt;
     9. q[:,:,:]=0.&lt;br /&gt;
     10. q.online_operation = &amp;quot;once&amp;quot;&lt;br /&gt;
     11. q.coordinates = &amp;quot;lat lon&amp;quot;&lt;br /&gt;
     12. ds.close()&lt;br /&gt;
7. update the tracer name in startfi for each tracer for example: ncrename -v ccn_number_surf,ccn_number startfi.nc&lt;br /&gt;
&lt;br /&gt;
8. Run Dynamico simulation&lt;br /&gt;
  a) change the iodef.xml&lt;br /&gt;
  b) change in run_icosa.def etat0=start_file and add etat0_start_file_colocated=true&lt;br /&gt;
  c) *sometimes weird variables can be missing like W and geopot : ncks -A -v geopot restart_icosa.nc start_icosa.nc&lt;br /&gt;
&lt;br /&gt;
[[Category:Mars-DYNAMICO]]&lt;/div&gt;</summary>
		<author><name>Evos</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Mars_Dynamico_Installation_manual&amp;diff=1440</id>
		<title>Mars Dynamico Installation manual</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Mars_Dynamico_Installation_manual&amp;diff=1440"/>
				<updated>2023-05-01T08:44:03Z</updated>
		
		<summary type="html">&lt;p&gt;Evos: Created page with &amp;quot;This page follows a manual for installing Mars Dynamico   1. Install the LMDZ Mars GCM and newstart   a) make sure u have the datafir and all of the *.def files.    b) create...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page follows a manual for installing Mars Dynamico&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Install the LMDZ Mars GCM and newstart&lt;br /&gt;
  a) make sure u have the datafir and all of the *.def files. &lt;br /&gt;
  b) create start.nc and startfi.nc&lt;br /&gt;
2.  Compile start2archive_SSO&lt;br /&gt;
  a) run : makelmdz_fcm -arch &amp;lt;archive&amp;gt; -d &amp;lt;dimensions (lonxlatxalt)&amp;gt;  -p mars start2archive_SSO to create start_archive&lt;br /&gt;
  b) run strart2archice_SSO &lt;br /&gt;
  c) cp start_archive.nc to the dynamico_runs folder&lt;br /&gt;
3. Install Dynamico &lt;br /&gt;
  a) use the following link to access the wiki page of Dynamico    https://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php/The_DYNAMICO_dynamical_core&lt;br /&gt;
  b)  git clone https://gitlab.in2p3.fr/ipsl/projets/dynamico/dynamico.git&lt;br /&gt;
  c) install XIOS, follow this link to access the wiki page of XIOS&lt;br /&gt;
     1. if the make_xios dont work try this : ./make_xios --prod  --arch ifort_MESOIPSL --arch_path ../ARCH --job 8 --full&lt;br /&gt;
  d) move back to dynamico folder and run  ./make_icosa -parallel &amp;lt;parralel_component&amp;gt; -with_xios -arch &amp;lt;archive&amp;gt; -job 8&lt;br /&gt;
     if it doesnt work again add the arch path to ../ARCH&lt;br /&gt;
4. Create an initial condiations files for dynamico by running a  dynamico simulation without the physics.&lt;br /&gt;
  a) Compile make_icosa_lmdz in trunk/ICOSA_LMDZ&lt;br /&gt;
  b) Copy from icosa_lmdz/bin/icosa_lmdz.exe to a dynamico_runs folder&lt;br /&gt;
  c) Copy the xml files and the start files and the def files in the dynamico_runs directory and have access to the datadir.&lt;br /&gt;
     variable &amp;quot;nivsigs&amp;quot; needs be renamed &amp;quot;sigs&amp;quot; (XIOS requires CF-compliant files) (RV: No neeeded anymore)&lt;br /&gt;
     ncrename -vnivsigs,sigs start_archive.nc&lt;br /&gt;
     input file start_archive.nc need be converted to NetCDF4 format&lt;br /&gt;
     nccopy -k 4 start_archive.nc start_archive_nc4.nc&lt;br /&gt;
5. run dynamic.&lt;br /&gt;
  a) In run_icosa.def change to run_length=1500, etat_isothermal_temp=200, etat=isothermal and startphy_file=false(not start_file)&lt;br /&gt;
  b) copy datadir to the running directory&lt;br /&gt;
  c) run icosa_lmdz.exe &lt;br /&gt;
  d) copy the files outputed by icosa_lmdz.exe&lt;br /&gt;
      1. cp restartfi.nc startphy_icosa_ref.nc&lt;br /&gt;
      2. cp start_icosa0.nc start_icosa_ref.nc&lt;br /&gt;
6. move to LMDZ.mars/util/startarchive2icosa then change compile script to adapt for the right location of XIOS and run compile u should get start_archive2icosa and rearrange_startphy&lt;br /&gt;
  a) copy start_archive2icosa and rearrange_startphy to the dynamico_runs folder.&lt;br /&gt;
  b) Create surface_nc4.nc and copy it dynamico_runs folder&lt;br /&gt;
  c) source arch.env&lt;br /&gt;
  d) run  ./start_archive2icosa as a job (requires a lot of memory) and make sure that Iodef.xml is the one for compile.&lt;br /&gt;
  e) the script create start_icosa_prefinalize.nc and  startfi_prefinalize.nc&lt;br /&gt;
  f) copy icosa_finalize script form /trunk/LMDZ.MARS/util/startarchive2icosa/icosa_finalize.bash to dynamico_runs folder&lt;br /&gt;
  g) change the XIOS and the for startfi0.nc  paths in icosa_finalize.bash and run it. It adds and changes variables in the startfiles.&lt;br /&gt;
  h) The scripts outputs startfi.nc and start_icosa.nc&lt;br /&gt;
  i) In the current version of Dynamico, the variable q for tracer is needed but unused. To create this unused variable simply run this short python code&lt;br /&gt;
     1. go into python&lt;br /&gt;
     2. import numpy as np&lt;br /&gt;
     3. import netCDF4 as nc&lt;br /&gt;
     4. fn = 'start_icosa.nc'&lt;br /&gt;
     5. ds = nc.Dataset(fn, 'a', format='NETCDF4')&lt;br /&gt;
     6. nq = ds.createDimension('nq', 7)&lt;br /&gt;
     7. q = ds.createVariable('q', 'f8', ('nq','lev', 'cell_mesh',))&lt;br /&gt;
     8. nqq = ds.createVariable('nq', 'f8', ('nq',))&lt;br /&gt;
     9. q[:,:,:]=0.&lt;br /&gt;
     10. q.online_operation = &amp;quot;once&amp;quot;&lt;br /&gt;
     11. q.coordinates = &amp;quot;lat lon&amp;quot;&lt;br /&gt;
     12. ds.close()&lt;br /&gt;
7. update the tracer name in startfi for each tracer for example: ncrename -v ccn_number_surf,ccn_number startfi.nc&lt;br /&gt;
&lt;br /&gt;
8. Run Dynamico simulation&lt;br /&gt;
  a) change the iodef.xml&lt;br /&gt;
  b) change in run_icosa.def etat0=start_file and add etat0_start_file_colocated=true&lt;br /&gt;
  c) *sometimes weird variables can be missing like W and geopot : ncks -A -v geopot restart_icosa.nc start_icosa.nc&lt;br /&gt;
&lt;br /&gt;
[[Category:Mars-DYNAMICO]]&lt;/div&gt;</summary>
		<author><name>Evos</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=1D_PEM&amp;diff=1337</id>
		<title>1D PEM</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=1D_PEM&amp;diff=1337"/>
				<updated>2023-03-22T14:59:37Z</updated>
		
		<summary type="html">&lt;p&gt;Evos: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1D PEM (under develpoment)&lt;br /&gt;
&lt;br /&gt;
Run the 1D GCM for two years and then split the output to different years. &lt;br /&gt;
For example, I will take the output called diagfi.nc and will divide some variables (co2ice, h2o_ics_s ...) from it into 2 years.&lt;br /&gt;
&lt;br /&gt;
ncks -v co2ice,h2o_ice_s,ps,tsurf -d Time,1,32111 diagfi.nc diagfi1.nc &lt;br /&gt;
&lt;br /&gt;
ncks -v co2ice,h2o_ice_s,ps,tsurf -d Time,32112,64223 diagfi.nc diagfi2.nc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Most of the physical variables in the 1D are stored in the def files so the PEM will update these files.&lt;/div&gt;</summary>
		<author><name>Evos</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=1D_PEM&amp;diff=1336</id>
		<title>1D PEM</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=1D_PEM&amp;diff=1336"/>
				<updated>2023-03-22T13:33:30Z</updated>
		
		<summary type="html">&lt;p&gt;Evos: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1D PEM (under develpoment)&lt;br /&gt;
&lt;br /&gt;
Run the 1D GCM for two years and then split the output to different years. &lt;br /&gt;
For example, I will take the output called diagfi.nc and will divide some variables (co2ice, h2o_ics_s ...) from it into 2 years.&lt;br /&gt;
&lt;br /&gt;
ncks -v co2ice,h2o_ice_s,ps,tsurf -d Time,1,32111 diagfi.nc diagfi1.nc &lt;br /&gt;
&lt;br /&gt;
ncks -v co2ice,h2o_ice_s,ps,tsurf -d Time,32112,64223 diagfi.nc diagfi2.nc&lt;/div&gt;</summary>
		<author><name>Evos</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=1D_PEM&amp;diff=1335</id>
		<title>1D PEM</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=1D_PEM&amp;diff=1335"/>
				<updated>2023-03-22T13:33:14Z</updated>
		
		<summary type="html">&lt;p&gt;Evos: Created page with &amp;quot;1D PEM (under develpoment)  Run the 1D GCM for two years and then split the output to different years.  For example, I will take the output called diagfi.nc and will divide so...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1D PEM (under develpoment)&lt;br /&gt;
&lt;br /&gt;
Run the 1D GCM for two years and then split the output to different years. &lt;br /&gt;
For example, I will take the output called diagfi.nc and will divide some variables (co2ice, h2o_ics_s ...) from it into 2 years.&lt;br /&gt;
&lt;br /&gt;
ncks -v co2ice,h2o_ice_s,ps,tsurf -d Time,1,32111 diagfi.nc diagfi1.nc &lt;br /&gt;
ncks -v co2ice,h2o_ice_s,ps,tsurf -d Time,32112,64223 diagfi.nc diagfi2.nc&lt;/div&gt;</summary>
		<author><name>Evos</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=User:Evos&amp;diff=1334</id>
		<title>User:Evos</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=User:Evos&amp;diff=1334"/>
				<updated>2023-03-22T13:29:50Z</updated>
		
		<summary type="html">&lt;p&gt;Evos: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Evos</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=User:Evos&amp;diff=1333</id>
		<title>User:Evos</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=User:Evos&amp;diff=1333"/>
				<updated>2023-03-22T13:28:44Z</updated>
		
		<summary type="html">&lt;p&gt;Evos: 1D PEM (under develpoment)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1D PEM (under develpoment)&lt;br /&gt;
&lt;br /&gt;
Run the 1D GCM for two years and then split the output to different years.&lt;br /&gt;
For example, I will take the output called diagfi.nc and will divide some variables (co2ice, h2o_ics_s ...) from it into 2 years.&lt;br /&gt;
&lt;br /&gt;
ncks  -v co2ice,h2o_ice_s,ps,tsurf -d Time,1,32111  diagfi.nc diagfi1.nc&lt;br /&gt;
ncks  -v co2ice,h2o_ice_s,ps,tsurf -d Time,32112,64223  diagfi.nc diagfi2.nc&lt;/div&gt;</summary>
		<author><name>Evos</name></author>	</entry>

	</feed>