<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>http://wiki.cima.fcen.uba.ar/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Daira.rosales</id>
	<title>Wikicima - Contribuciones del usuario [es]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.cima.fcen.uba.ar/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Daira.rosales"/>
	<link rel="alternate" type="text/html" href="http://wiki.cima.fcen.uba.ar/index.php/Especial:Contribuciones/Daira.rosales"/>
	<updated>2026-04-13T20:21:17Z</updated>
	<subtitle>Contribuciones del usuario</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>http://wiki.cima.fcen.uba.ar/index.php?title=ORCHIDEE&amp;diff=3454</id>
		<title>ORCHIDEE</title>
		<link rel="alternate" type="text/html" href="http://wiki.cima.fcen.uba.ar/index.php?title=ORCHIDEE&amp;diff=3454"/>
		<updated>2025-03-21T20:02:48Z</updated>

		<summary type="html">&lt;p&gt;Daira.rosales: /* Test: let&amp;#039;s look at Marcos Juárez, Córdoba, Argentina */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= ORCHIDEE =&lt;br /&gt;
&lt;br /&gt;
This manual provides the information about the land-surface model [https://orchidee.ipsl.fr/ ORCHIDEE] (technical page for [http://forge.ipsl.jussieu.fr/orchidee advanced users]) from &#039;&#039;Institute Pierre Simone Laplace&#039;&#039; ([https://www.ipsl.fr/en IPSL]). Its installation on the HPC of the CIMA called &amp;lt;code&amp;gt;hydra&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
= Model description =&lt;br /&gt;
&lt;br /&gt;
* ORCHIDEE: sechiba &amp;amp; stomate&lt;br /&gt;
* Two major modes of simulations: Off-line  (no feedback) / on-line (LMDZ, WRF)&lt;br /&gt;
&lt;br /&gt;
All forcing data to run ORCHIDEE is located here in CIMA&#039;s HPC:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
${ORforcing}=/share/DATA/ORCHIDEE/IGCM/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Off-line atmospheric forcings ==&lt;br /&gt;
Desdcribed here: [https://forge.ipsl.jussieu.fr/orchidee/wiki/Documentation/Forcings ORforcings]&lt;br /&gt;
&lt;br /&gt;
Atmoshperic variables required by ORCHIDEE: &amp;lt;code&amp;gt;LWdown, PSurf, Qair, Rainf, SWdown, Snowf, Tair, Wind_E, Wind_N&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Available data-bases in hydra:&lt;br /&gt;
* WFDE5 CRU GPCC (v1, 0.5&amp;amp;deg;): mixing ERA5 CRU and GPCC: &amp;lt;code&amp;gt;WFDE5_CRU_GPCC_[YYYY].nc&amp;lt;/code&amp;gt; at &amp;lt;code&amp;gt;hydra&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;${ORforcing}/METEO/WFDE5_CRU_GPCC/v1/&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Morphological forcings as data-base ==&lt;br /&gt;
Installed in CIMA&#039;s HPC hydra at&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/share/DATA/ORCHIDEE/IGCM/SRF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To be interpolated to the domain of simulation (region and resolution) at the first time step (done by ORCHIDEE)&lt;br /&gt;
Mandatory:&lt;br /&gt;
&lt;br /&gt;
=== PFT map ===&lt;br /&gt;
&lt;br /&gt;
15 PFT, percentage of each by grid-point (&amp;lt;code&amp;gt;maxvegetfrac&amp;lt;/code&amp;gt;, see table for equivalencies of PFT)&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! num &lt;br /&gt;
! description&lt;br /&gt;
|- &lt;br /&gt;
| 1 || bare ground&lt;br /&gt;
|- &lt;br /&gt;
| 2 || tropical broad-leaved evergreen&lt;br /&gt;
|- &lt;br /&gt;
| 3 || tropical broad-leaved raingreen&lt;br /&gt;
|-&lt;br /&gt;
| 4 || temperate needleleaf evergreen&lt;br /&gt;
|-&lt;br /&gt;
|  5 || temperate broad-leaved evergreen&lt;br /&gt;
|-&lt;br /&gt;
|  6 || temperate broad-leaved summergreen&lt;br /&gt;
|-&lt;br /&gt;
|  7 || boreal needleleaf evergreen&lt;br /&gt;
|-&lt;br /&gt;
|  8 || boreal broad-leaved summergreen&lt;br /&gt;
|-&lt;br /&gt;
|  9 || boreal needleleaf summergreen&lt;br /&gt;
|-&lt;br /&gt;
|  10 || C3 grass&lt;br /&gt;
|-&lt;br /&gt;
|  11 || C4 grass&lt;br /&gt;
|-&lt;br /&gt;
|  12 || C3 agriculture&lt;br /&gt;
|-&lt;br /&gt;
|  13 || C4 agriculture&lt;br /&gt;
|-&lt;br /&gt;
|  14 || C3 tropical natural grassland &lt;br /&gt;
|-&lt;br /&gt;
|  15 || C4 boreal natural grassland&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;PFTmap_IPCC_[YYYY].nc&amp;lt;/code&amp;gt; (0.5&amp;amp;deg;, basic), a file per/year ESA-LUH2, v2 at:&lt;br /&gt;
&amp;lt;pre&amp;gt;${ORforcing}/PFTMAPS/CMIP6/ESA-LUH2v2/historical/15PFT.v2/PFTmap_2000.nc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;carteveg5km.nc&amp;lt;/code&amp;gt; (Olson&#039;s global classification of 94 PFT, 5km transformation)&lt;br /&gt;
&lt;br /&gt;
No temporal evolution at:&lt;br /&gt;
&amp;lt;pre&amp;gt;${ORforcing}/PFTMAPS/&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Olson_vegetmap.png|frame|50px|Global Olson vegetation at 5 km of resolution Homolosine projection]]&lt;br /&gt;
&lt;br /&gt;
=== Soil characterisitcs ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;soilcolor&amp;lt;/code&amp;gt; used to define background-albedo: albedowet, albedodry (using values from 1 to 8). To be find in &amp;lt;code&amp;gt;soils_param.nc, soils_param_zobler.nc&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;soiltexture&amp;lt;/code&amp;gt; to define soil type, to be grouped as 3 types: corse, medium, fine (from 7 values). 3 different sources: &lt;br /&gt;
* &amp;lt;code&amp;gt;soils_param.nc&amp;lt;/code&amp;gt; (1.&amp;amp;deg;, basic)&lt;br /&gt;
* &amp;lt;code&amp;gt;soils_param_zobler.nc&amp;lt;/code&amp;gt;: 7 types (1&amp;amp;deg;)&lt;br /&gt;
* &amp;lt;code&amp;gt;soils_param_usda.nc&amp;lt;/code&amp;gt;: 12 types (0.08331404&amp;amp;deg;)&lt;br /&gt;
&lt;br /&gt;
=== WOODHARVEST ===&lt;br /&gt;
&amp;lt;!-- /prodigfs/ipslfs/igcmg/IGCM/SRF/WOODHARVEST/LUH2v2/historical4/woodharvest_2014.nc --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== SOIL_BULK ===&lt;br /&gt;
&amp;lt;!-- igcmg/IGCM/SRF/SOIL/soil_bulk_and_ph.nc --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional ===&lt;br /&gt;
* LAI: on runs without &amp;lt;code&amp;gt;stomate&amp;lt;/code&amp;gt; (otherwise, LAI is dynamic), one needs to provide climatologies of the LAI: 13 LAI values which evolves along time (monthly climatology) &amp;lt;code&amp;gt;lai2D_[00/01/03].nc&amp;lt;/code&amp;gt;&lt;br /&gt;
* Albedo: on runs without &amp;lt;code&amp;gt;stomate&amp;lt;/code&amp;gt; (otherwise, albedo is dynamic) new maps only for the bare soil albedo at higher resolution to avoid the use of &amp;lt;code&amp;gt;soilcolor&amp;lt;/code&amp;gt; from &amp;lt;code&amp;gt;soils_param.nc&amp;lt;/code&amp;gt;. Fixed values for wet/dry background albedo. Or a new file &lt;br /&gt;
** &amp;lt;code&amp;gt;alb_bg_jrctip.nc&amp;lt;/code&amp;gt;: albedos climatologies retrieved from MODIS satellite JRC-TIP package&lt;br /&gt;
** &amp;lt;code&amp;gt;alb_bg_modisopt_2D.nc&amp;lt;/code&amp;gt;: Another non.climatological albedo from MODIS&lt;br /&gt;
&amp;lt;pre&amp;gt;${ORforcing}/albedo&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Routing: &amp;lt;code&amp;gt;routing.nc&amp;lt;/code&amp;gt;: worldwide data-base of river basins at 0.5&amp;amp;deg;: 1-8 direction, &amp;lt;89 point at the sea, ... (&amp;lt;code&amp;gt;trip&amp;lt;/code&amp;gt;), riverID (&amp;lt;code&amp;gt;basins&amp;lt;/code&amp;gt;), water retention (&amp;lt;code&amp;gt;topoind&amp;lt;/code&amp;gt;), etc..., &amp;lt;code&amp;gt;cartepente2d_15min.nc&amp;lt;/code&amp;gt; topography slope (0.25&amp;amp;deg;)&lt;br /&gt;
* Floodplains: &amp;lt;code&amp;gt;floodplain.nc&amp;lt;/code&amp;gt; To account for maximum flooded area: &amp;lt;code&amp;gt;lake, dam, swamp, saline, pond, irrig&amp;lt;/code&amp;gt;&lt;br /&gt;
* Chemistry: &amp;lt;code&amp;gt;orchidee_fertilizer_1995.nc&amp;lt;/code&amp;gt; with fertilization (for N&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;) for rice and the others&lt;br /&gt;
* Reference Temperature: To be used as a reference temperature for the soil (&amp;lt;code&amp;gt;reftemp.nc&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
All ORCHIDEE configuration is controlled by &amp;lt;code&amp;gt;run.def&amp;lt;/code&amp;gt;.: Domain, period, physics activation, sechiba/stomate, routing, floodplains, ... [https://forge.ipsl.jussieu.fr/orchidee/wiki/Documentation/OrchideeParameters ORparameters]&lt;br /&gt;
&lt;br /&gt;
I/O controlled by &amp;lt;code&amp;gt;*.xml&amp;lt;/code&amp;gt; files from [http://forge.ipsl.jussieu.fr/ioserver/ XIOS] libraries&lt;br /&gt;
* &amp;lt;code&amp;gt;iodef.xml&amp;lt;/code&amp;gt;: main XIOS configuration&lt;br /&gt;
* &amp;lt;code&amp;gt;context_orchidee.xml&amp;lt;/code&amp;gt;: I/O global configuration for ORCHIDEE&lt;br /&gt;
* &amp;lt;code&amp;gt;field_def_orchidee.xml&amp;lt;/code&amp;gt;: definition of I/O variables (names, units, dimensions, long-name, ...)&lt;br /&gt;
* &amp;lt;code&amp;gt;file_def_orchidee.xml&amp;lt;/code&amp;gt;: definition of variables at each file (output frequency, level of output, ...)&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
This installation guide is based on the installation in different machines from CIMA/DCAO computational resources:&lt;br /&gt;
* CIMA&#039;s HPC [[ORcompHYDRA hydra]]&lt;br /&gt;
* DCAO&#039;s computational classroom [[ORcompDCAO DCAO]]&lt;br /&gt;
&lt;br /&gt;
which it must have pre-installed: netCDF libraries (netcdf-dev, netcdff), MPI libraries (mpi, mpich), Fortan and C compilers (gcc, gcc++ gfortran), pre-processing tools (cpp), subversion repository code tool (svn), Makefile (make, gmake), shells (ksh, csh)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; NOTE &#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Each new version of the code, has its own XIOS files! Make sure that you&#039;re using the right ones!! (otherwise, you would have an error...)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Running the model =&lt;br /&gt;
ORCHIDEE can run in a large variety of forms. Here is desribed a simple way to run a year of simulation using the off-line configuration and the trunk branch.&lt;br /&gt;
&lt;br /&gt;
== Benchmark ==&lt;br /&gt;
&lt;br /&gt;
Following this [https://forge.ipsl.jussieu.fr/orchidee/wiki/Documentation/UserGuide/TestCase1 instructions] we downloaded the necessary forcings in &amp;lt;code&amp;gt; /share/DATA/ORCHIDEE/benchmark &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this experiment, our &amp;lt;code&amp;gt;WORKDIR&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/lluis.fita/estudios/ORbenchmark&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linking all data:&lt;br /&gt;
&amp;lt;pre type=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
ln -s /share/DATA/ORCHIDEE/benchmark/link_ORbenchmark_files.bash ./&lt;br /&gt;
./link_ORbenchmark_files.bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configuring XIOS:&lt;br /&gt;
&amp;lt;pre type=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
cp /share/ORCHIDEE/modipsl/modeles/ORCHIDEE/src_xml/* ./&lt;br /&gt;
&lt;br /&gt;
diff file_def_orchidee.xml /share/ORCHIDEE/modipsl/modeles/ORCHIDEE/src_xml/file_def_orchidee.xml&lt;br /&gt;
44c44&lt;br /&gt;
&amp;lt;   &amp;lt;file id=&amp;quot;sechiba1&amp;quot; name=&amp;quot;sechiba_history&amp;quot; output_level=&amp;quot;10&amp;quot; output_freq=&amp;quot;1d&amp;quot; enabled=&amp;quot;.TRUE.&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
&amp;gt;   &amp;lt;file id=&amp;quot;sechiba1&amp;quot; name=&amp;quot;sechiba_history&amp;quot; output_level=&amp;quot;_AUTO_&amp;quot; output_freq=&amp;quot;_AUTO_&amp;quot; enabled=&amp;quot;_AUTO_&amp;quot;&amp;gt;&lt;br /&gt;
391c391&lt;br /&gt;
&amp;lt;   &amp;lt;file id=&amp;quot;sechiba2&amp;quot; name=&amp;quot;sechiba_out_2&amp;quot; output_level=&amp;quot;10&amp;quot; output_freq=&amp;quot;1d&amp;quot; enabled=&amp;quot;.TRUE.&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
&amp;gt;   &amp;lt;file id=&amp;quot;sechiba2&amp;quot; name=&amp;quot;sechiba_out_2&amp;quot; output_level=&amp;quot;_AUTO_&amp;quot; output_freq=&amp;quot;_AUTO_&amp;quot; enabled=&amp;quot;_AUTO_&amp;quot;&amp;gt;&lt;br /&gt;
633c633&lt;br /&gt;
&amp;lt;   &amp;lt;file id=&amp;quot;sechiba3&amp;quot; name=&amp;quot;sechiba_history_4dim&amp;quot; output_level=&amp;quot;10&amp;quot; output_freq=&amp;quot;1d&amp;quot; enabled=&amp;quot;.TRUE.&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
&amp;gt;   &amp;lt;file id=&amp;quot;sechiba3&amp;quot; name=&amp;quot;sechiba_history_4dim&amp;quot; output_level=&amp;quot;_AUTO_&amp;quot; output_freq=&amp;quot;_AUTO_&amp;quot; enabled=&amp;quot;_AUTO_&amp;quot;&amp;gt;&lt;br /&gt;
837c837&lt;br /&gt;
&amp;lt;   &amp;lt;file id=&amp;quot;stomate1&amp;quot; name=&amp;quot;stomate_history&amp;quot; output_level=&amp;quot;10&amp;quot; output_freq=&amp;quot;1d&amp;quot; enabled=&amp;quot;.TRUE.&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
&amp;gt;   &amp;lt;file id=&amp;quot;stomate1&amp;quot; name=&amp;quot;stomate_history&amp;quot; output_level=&amp;quot;_AUTO_&amp;quot; output_freq=&amp;quot;_AUTO_&amp;quot; enabled=&amp;quot;_AUTO_&amp;quot;&amp;gt;&lt;br /&gt;
1246c1246&lt;br /&gt;
&amp;lt;   &amp;lt;file id=&amp;quot;stomate2&amp;quot; name=&amp;quot;stomate_ipcc_history&amp;quot; output_level=&amp;quot;10&amp;quot; output_freq=&amp;quot;1d&amp;quot; enabled=&amp;quot;.TRUE.&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
&amp;gt;   &amp;lt;file id=&amp;quot;stomate2&amp;quot; name=&amp;quot;stomate_ipcc_history&amp;quot; output_level=&amp;quot;_AUTO_&amp;quot; output_freq=&amp;quot;_AUTO_&amp;quot; enabled=&amp;quot;_AUTO_&amp;quot;&amp;gt;&lt;br /&gt;
1329c1329&lt;br /&gt;
&amp;lt;   &amp;lt;file id=&amp;quot;stomate3&amp;quot; name=&amp;quot;stomate_history_4dim&amp;quot; output_level=&amp;quot;10&amp;quot; output_freq=&amp;quot;1d&amp;quot; enabled=&amp;quot;.TRUE.&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
&amp;gt;   &amp;lt;file id=&amp;quot;stomate3&amp;quot; name=&amp;quot;stomate_history_4dim&amp;quot; output_level=&amp;quot;_AUTO_&amp;quot; output_freq=&amp;quot;_AUTO_&amp;quot; enabled=&amp;quot;_AUTO_&amp;quot;&amp;gt;&lt;br /&gt;
1407c1407&lt;br /&gt;
&amp;lt;   &amp;lt;file id=&amp;quot;stomate4&amp;quot; name=&amp;quot;stomate_fixed_dia&amp;quot; output_level=&amp;quot;10&amp;quot; output_freq=&amp;quot;1d&amp;quot; enabled=&amp;quot;.TRUE.&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
&amp;gt;   &amp;lt;file id=&amp;quot;stomate4&amp;quot; name=&amp;quot;stomate_fixed_dia&amp;quot; output_level=&amp;quot;_AUTO_&amp;quot; output_freq=&amp;quot;_AUTO_&amp;quot; enabled=&amp;quot;_AUTO_&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Getting the configuration and modifying its values:&lt;br /&gt;
&amp;lt;pre type=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
cp /share/ORCHIDEE/modipsl/config/ORCHIDEE_OL/OOL_SEC_STO_FG2/PARAM/run.def ./&lt;br /&gt;
diff run.def /share/ORCHIDEE/modipsl/config/ORCHIDEE_OL/OOL_SEC_STO_FG2/PARAM/run.def&lt;br /&gt;
12c12&lt;br /&gt;
&amp;lt; TIME_LENGTH = 1D&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; TIME_LENGTH = _AUTO_&lt;br /&gt;
17c17&lt;br /&gt;
&amp;lt; TIME_SKIP = 0&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; TIME_SKIP = _AUTO_&lt;br /&gt;
21c21&lt;br /&gt;
&amp;lt; DRIVER_reset_time = n&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; DRIVER_reset_time = _AUTO_&lt;br /&gt;
24c24&lt;br /&gt;
&amp;lt; RESTART_FILEIN = NONE&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; RESTART_FILEIN = _AUTOBLOCKER_&lt;br /&gt;
28c28&lt;br /&gt;
&amp;lt; ATM_CO2 = 350.&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; ATM_CO2 = _AUTO_: DEFAULT = 350.&lt;br /&gt;
33,36c33,36&lt;br /&gt;
&amp;lt; LIMIT_WEST=-5&lt;br /&gt;
&amp;lt; LIMIT_NORTH=5&lt;br /&gt;
&amp;lt; LIMIT_SOUTH=40&lt;br /&gt;
&amp;lt; LIMIT_EAST=55&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; #LIMIT_WEST=8&lt;br /&gt;
&amp;gt; #LIMIT_NORTH=48&lt;br /&gt;
&amp;gt; #LIMIT_SOUTH=46&lt;br /&gt;
&amp;gt; #LIMIT_EAST=10&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Getting orchidee&#039;s configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE STYLE=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
cp /share/ORCHIDEE/modipsl/config/ORCHIDEE_OL/OOL_SEC_STO_FG2/PARAM/orchidee.def ./&lt;br /&gt;
diff orchidee.def /share/ORCHIDEE/modipsl/config/ORCHIDEE_OL/OOL_SEC_STO_FG2/PARAM/orchidee.def&lt;br /&gt;
41c41&lt;br /&gt;
&amp;lt; SECHIBA_restart_in = NONE&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; SECHIBA_restart_in = _AUTOBLOCKER_&lt;br /&gt;
45c45&lt;br /&gt;
&amp;lt; STOMATE_RESTART_FILEIN = NONE&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; STOMATE_RESTART_FILEIN = _AUTOBLOCKER_&lt;br /&gt;
52c52&lt;br /&gt;
&amp;lt; XIOS_ORCHIDEE_OK = y&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; XIOS_ORCHIDEE_OK = _AUTOBLOCKER_&lt;br /&gt;
56c56&lt;br /&gt;
&amp;lt; SECHIBA_HISTFILE2 = n&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; SECHIBA_HISTFILE2 = _AUTO_&lt;br /&gt;
61c61&lt;br /&gt;
&amp;lt; WRITE_STEP = 0&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; WRITE_STEP = _AUTO_&lt;br /&gt;
65c65&lt;br /&gt;
&amp;lt; WRITE_STEP2 = 0&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; WRITE_STEP2 = _AUTO_ &lt;br /&gt;
69c69&lt;br /&gt;
&amp;lt; STOMATE_HIST_DT = 0&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; STOMATE_HIST_DT = _AUTO_&lt;br /&gt;
74c74&lt;br /&gt;
&amp;lt; STOMATE_IPCC_HIST_DT = 0&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; STOMATE_IPCC_HIST_DT = _AUTO_&lt;br /&gt;
135c135&lt;br /&gt;
&amp;lt; RIVER_DESC = n&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; RIVER_DESC = _AUTO_&lt;br /&gt;
146c146&lt;br /&gt;
&amp;lt; VEGET_UPDATE = 0Y&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; VEGET_UPDATE = _AUTO_&lt;br /&gt;
196c196&lt;br /&gt;
&amp;lt; STOMATE_OK_STOMATE = y&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; STOMATE_OK_STOMATE = _AUTOBLOCKER_ &lt;br /&gt;
206c206&lt;br /&gt;
&amp;lt; NINPUT_UPDATE = 0Y&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; NINPUT_UPDATE = _AUTO_&lt;br /&gt;
209c209&lt;br /&gt;
&amp;lt; STOMATE_IMPOSE_CN = n&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; STOMATE_IMPOSE_CN = _AUTO_&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And ORCHIDEE&#039;s PFTs&lt;br /&gt;
&amp;lt;PRE STYLE=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
cp /share/ORCHIDEE/modipsl/config/ORCHIDEE_OL/OOL_SEC_STO_FG2/PARAM/orchidee_pft.def_15pft.1ac ./orchidee_pft.def&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Getting the basic PBS job to run ORCHIDEE:&lt;br /&gt;
&amp;lt;pre type=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
cp /share/ORCHIDEE/launch_orchidee.pbs ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Launching&lt;br /&gt;
&amp;lt;pre type=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
qsub launch_orchidee.pbs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test: let&#039;s look at Marcos Juárez, Córdoba, Argentina ==&lt;br /&gt;
&lt;br /&gt;
Assuming a working directory &amp;lt;code&amp;gt;${WORKDIR}&amp;lt;/code&amp;gt; (e.g.: &amp;lt;code&amp;gt;/home/lluis.fita/estudios/SensLuLc_MarcosJuarez/trunk&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Writing of a simple &amp;lt;code&amp;gt;run.def&amp;lt;/code&amp;gt; with stomate and routing activated for the 1980 year (the meaning and default values of all parameters are available [https://forge.ipsl.jussieu.fr/orchidee/wiki/Documentation/OrchideeParameters here]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
*****************************************************************************&lt;br /&gt;
START_DATE = 2001-01-01 00:00:00&lt;br /&gt;
END_DATE = 2001-12-31 24:00:00&lt;br /&gt;
TIME_LENGTH = 1Y&lt;br /&gt;
DT_SECHIBA = 900&lt;br /&gt;
#SPREAD_PREC_SEC = 3600 # The default is half the forcing time step&lt;br /&gt;
FORCING_FILE = forcing_yearm1.nc forcing_year.nc forcing_yearp1.nc&lt;br /&gt;
&lt;br /&gt;
GRID_FILE = NONE&lt;br /&gt;
# South America&lt;br /&gt;
#LIMIT_WEST = -90.0&lt;br /&gt;
#LIMIT_EAST = -30.0&lt;br /&gt;
#LIMIT_SOUTH = -60.0&lt;br /&gt;
#LIMIT_NORTH = 15.0&lt;br /&gt;
# Marcos Juarez&lt;br /&gt;
LIMIT_WEST = -64.0&lt;br /&gt;
LIMIT_EAST = -60.0&lt;br /&gt;
LIMIT_SOUTH = -34.0&lt;br /&gt;
LIMIT_NORTH = -30.0&lt;br /&gt;
#*****************************************************************************&lt;br /&gt;
&lt;br /&gt;
# Activate Stomate component (default y)&lt;br /&gt;
STOMATE_OK_STOMATE= y&lt;br /&gt;
STOMATE_OK_NCYCLE=FALSE&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Parameters related to the restart file and the start date&lt;br /&gt;
#**************************************************************************&lt;br /&gt;
# Time in the forcing file at which the model start if start date is not set by the forcing file (default 0)&lt;br /&gt;
TIME_SKIP = 0&lt;br /&gt;
&lt;br /&gt;
# Time length for one intergration&lt;br /&gt;
# (default full lenght of forcing file)&lt;br /&gt;
#TIME_LENGTH = _AUTO_&lt;br /&gt;
&lt;br /&gt;
# If DRIVER_reset_time=y, read the year from forcing file instead of taking it from restart file (default n)&lt;br /&gt;
#DRIVER_reset_time = _AUTO_&lt;br /&gt;
&lt;br /&gt;
# Name of restart file for the driver (default NONE)&lt;br /&gt;
RESTART_FILEIN = NONE&lt;br /&gt;
&lt;br /&gt;
# Name of restart file for sechiba part of the model (default NONE)&lt;br /&gt;
#SECHIBA_restart_in = _AUTOBLOCKER_&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Name of restart file for stomate part of the model (default NONE)&lt;br /&gt;
#STOMATE_RESTART_FILEIN = _AUTOBLOCKER_&lt;br /&gt;
&lt;br /&gt;
# Parameters related to the diagnostic output files&lt;br /&gt;
#**************************************************************************&lt;br /&gt;
# Use XIOS for writing diagnostics file (default y)&lt;br /&gt;
XIOS_ORCHIDEE_OK = n&lt;br /&gt;
&lt;br /&gt;
# Flag to activate sechiba_out_2.nc history file when using IOIPSL for SECHIBA (defulat n)&lt;br /&gt;
SECHIBA_HISTFILE2 = n&lt;br /&gt;
&lt;br /&gt;
# Writefrequency in seconds in sechiba_history.nc when using IOIPSL (default 86400)&lt;br /&gt;
# If WRITE_STEP=0 then all IOIPSL output are deactivated&lt;br /&gt;
WRITE_STEP = 0&lt;br /&gt;
&lt;br /&gt;
# Writefrequency in seconds sechiba_out_2.nc when using IOIPSL (default 1800)&lt;br /&gt;
WRITE_STEP2 = 0&lt;br /&gt;
&lt;br /&gt;
# Writefrequency in days in stomate_history.nc when using IOIPSL (default 10)&lt;br /&gt;
STOMATE_HIST_DT = 0&lt;br /&gt;
&lt;br /&gt;
# Writefrequency in days or -1 for monthly output in stomate_ipcc_history.nc when using IOIPSL (default 0)&lt;br /&gt;
STOMATE_IPCC_HIST_DT = 0&lt;br /&gt;
&lt;br /&gt;
PRINTLEV=1000&lt;br /&gt;
&lt;br /&gt;
# Hydrology parameters&lt;br /&gt;
#**************************************************************************&lt;br /&gt;
# Activate the multi-layer diffusion scheme adapted from CWRR (default y)&lt;br /&gt;
HYDROL_CWRR = y&lt;br /&gt;
&lt;br /&gt;
# Activate river routing (default y)&lt;br /&gt;
RIVER_ROUTING = n&lt;br /&gt;
ROUTING_METHOD = highres&lt;br /&gt;
ROUTING_FILE = routing.nc&lt;br /&gt;
DT_ROUTING = 900&lt;br /&gt;
# Activate creation of river_desc.nc file&lt;br /&gt;
# RIVER_DESC will be activated only the first execution in the simulation&lt;br /&gt;
RIVER_DESC = y&lt;br /&gt;
&lt;br /&gt;
# SOILTYPE_CLASSIF :  Type of classification used for the map of soil types (default zobler)&lt;br /&gt;
SOILTYPE_CLASSIF = zobler&lt;br /&gt;
&lt;br /&gt;
# Parameters related to vegetation map&lt;br /&gt;
#**************************************************************************&lt;br /&gt;
# Update vegetation frequency (default 0Y)&lt;br /&gt;
VEGET_UPDATE = 0Y&lt;br /&gt;
&lt;br /&gt;
# Read lai map (default n)&lt;br /&gt;
LAI_MAP = n&lt;br /&gt;
&lt;br /&gt;
# Prescribed vegetation (default n)&lt;br /&gt;
IMPOSE_VEG = n&lt;br /&gt;
&lt;br /&gt;
# Parameters related to surface and thermal physical properties&lt;br /&gt;
#************************************************************************&lt;br /&gt;
# ROUGH_DYN : Account for a dynamic roughness height (activation of Su et al. parametrization) (default y)&lt;br /&gt;
ROUGH_DYN=y&lt;br /&gt;
&lt;br /&gt;
# OK_FREEZE :  Activate the complet soil freezing scheme (default y)&lt;br /&gt;
OK_FREEZE=y&lt;br /&gt;
&lt;br /&gt;
# OK_EXPLICITSNOW :  Activate explict snow scheme (default y)&lt;br /&gt;
OK_EXPLICITSNOW=y&lt;br /&gt;
&lt;br /&gt;
# Carbon related parameters&lt;br /&gt;
#**************************************************************************&lt;br /&gt;
# Analytic spinup (default n)&lt;br /&gt;
SPINUP_ANALYTIC = n&lt;br /&gt;
SPINUP_PERIOD = -1&lt;br /&gt;
&lt;br /&gt;
# Value for atmospheric CO2 (default=350)&lt;br /&gt;
ATM_CO2 = 350&lt;br /&gt;
&lt;br /&gt;
# Activate harvest of wood (default y)&lt;br /&gt;
DO_WOOD_HARVEST=y&lt;br /&gt;
&lt;br /&gt;
# Deactivate fire (default FIRE_DISABLE=y)&lt;br /&gt;
FIRE_DISABLE=y&lt;br /&gt;
&lt;br /&gt;
# Optimized parameters to be used with PFTmap with 15 pfts such as&lt;br /&gt;
# files in IGCM/SRF/PFTMAPS/CMIP6/ESA-LUH2v2/historical/15PFT.v1&lt;br /&gt;
#**************************************************************************&lt;br /&gt;
# Use 15 PFTs. Note that PFTmap.nc must contains 15PFTs.&lt;br /&gt;
# PFT=10, 14 and 15 share the same parametrization except for VCMAX25, LAI_MAX, FRAC_GROWTHRESP,&lt;br /&gt;
# MAINT_RESP_SLOPE_C and ALWAYS_INIT specified below.&lt;br /&gt;
# (default NVM=13)&lt;br /&gt;
NVM=15&lt;br /&gt;
PFT_TO_MTC=1,2,3,4,5,6,7,8,9,10,11,12,13,10,10&lt;br /&gt;
PFT_NAME__10=&#039;temperate C3           grass      &#039;&lt;br /&gt;
PFT_NAME__14=&#039;tropical  C3           grass      &#039;&lt;br /&gt;
PFT_NAME__15=&#039;boreal    C3           grass      &#039;&lt;br /&gt;
&lt;br /&gt;
VCMAX25__10 = 50.0&lt;br /&gt;
VCMAX25__14 = 50.0&lt;br /&gt;
VCMAX25__15 = 40.0&lt;br /&gt;
&lt;br /&gt;
LAI_MAX__10 = 2.5&lt;br /&gt;
LAI_MAX__14 = 2.5&lt;br /&gt;
LAI_MAX__15 = 2.0&lt;br /&gt;
&lt;br /&gt;
FRAC_GROWTHRESP__10 = 0.28&lt;br /&gt;
FRAC_GROWTHRESP__14 = 0.35&lt;br /&gt;
FRAC_GROWTHRESP__15 = 0.35&lt;br /&gt;
&lt;br /&gt;
MAINT_RESP_SLOPE_C__10 = 0.16&lt;br /&gt;
MAINT_RESP_SLOPE_C__14 = 0.12&lt;br /&gt;
MAINT_RESP_SLOPE_C__15 = 0.25&lt;br /&gt;
&lt;br /&gt;
ALWAYS_INIT__10 = y&lt;br /&gt;
ALWAYS_INIT__14 = n&lt;br /&gt;
ALWAYS_INIT__15 = y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linking atomspheric forcing files (0.5&amp;amp;deg; WFDE5 CRU GPCC v1 files)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ln -s ${ORforcing}/METEO/WFDE5_CRU_GPCC/v1/WFDE5_CRU_GPCC_2000.nc ./forcing_yearm1.nc&lt;br /&gt;
ln -s ${ORforcing}/METEO/WFDE5_CRU_GPCC/v1/WFDE5_CRU_GPCC_2001.nc ./forcing_year.nc&lt;br /&gt;
ln -s ${ORforcing}/METEO/WFDE5_CRU_GPCC/v1/WFDE5_CRU_GPCC_2002.nc ./forcing_yearp1.nc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linking the routing data-base&lt;br /&gt;
&amp;lt;pre&amp;gt;ln -s ${ORforcing}/routing.nc ./&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linking the topographical slope&lt;br /&gt;
&amp;lt;pre&amp;gt;ln -s ${ORforcing}/cartepente2d_15min.nc ./&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Initial temperature of the soil&lt;br /&gt;
&amp;lt;pre&amp;gt;ln -s /share/DATA/ORCHIDEE/IGCM/SRF/reftemp.nc ./&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linking the morphological files&lt;br /&gt;
&amp;lt;pre&amp;gt;ln -s ${ORforcing}/SOIL/soils_param_zobler.nc ./soils_param.nc&lt;br /&gt;
ln -s ${ORforcing}/PFTMAPS/CMIP6/ESA-LUH2v2/historical/15PFT.v2/PFTmap_1980.nc ./PFTmap.nc&lt;br /&gt;
ln -s /share/DATA/ORCHIDEE/IGCM/SRF/SOIL/soil_bulk_and_ph.nc ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linking the files related with the Nitrogen&#039;s cycle (with &amp;lt;code&amp;gt;R_IN=/share/ORCHIDEE/IGCM/, simYR=2001&amp;lt;/code&amp;gt;)&lt;br /&gt;
&amp;lt;pre type=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
ln -s ${R_IN}/SRF/NITROGEN/N_FERTILISATION/NMIP/synthetic/historical/Nfer_pasture_${simYR}.nc ./nfer_pasture.nc&lt;br /&gt;
ln -s ${R_IN}/SRF/NITROGEN/N_FERTILISATION/NMIP/synthetic/historical/Nfer_cropland_${simYR}.nc ./nfer_cropland.nc&lt;br /&gt;
ln -s ${R_IN}/SRF/NITROGEN/N_FERTILISATION/NMIP/manure/historical/Nmanure_pasture_${simYR}.nc ./nmanure_pasture.nc&lt;br /&gt;
ln -s ${R_IN}/SRF/NITROGEN/N_FERTILISATION/NMIP/manure/historical/Nmanure_cropland_${simYR}.nc ./nmanure_cropland_${simYR}.nc&lt;br /&gt;
ln -s ${R_IN}/SRF/NITROGEN/N_DEPOSITION/CCMI_ndep/historical/CCMI_ndep_nhx_${simYR}.nc ./ndep_nhx.nc&lt;br /&gt;
ln -s ${R_IN}/SRF/NITROGEN/N_DEPOSITION/CCMI_ndep/historical/CCMI_ndep_noy_${simYR}.nc ./ndep_noy.nc&lt;br /&gt;
ln -s ${R_IN}/SRF/NITROGEN/BNF/bnf_1850.nc ./bnf.nc&lt;br /&gt;
ln -s ${R_IN}/SRF/NITROGEN/N_DEPOSITION/CMIP6.2/historical/nhx__${simYR}.nc ./Nammonium.nc&lt;br /&gt;
ln -s ${R_IN}/SRF/NITROGEN/N_DEPOSITION/CMIP6.2/historical/noy__${simYR}.nc ./Nnitrate.nc&lt;br /&gt;
ln -s ${R_IN}/SRF/NITROGEN/N_FERTILISATION/NMIP2/synthetic/historical/nfer_crop_nh4_${simYR}.nc ./Nfert_ammo_cropland.nc&lt;br /&gt;
ln -s ${R_IN}/SRF/NITROGEN/N_FERTILISATION/NMIP2/synthetic/historical/nfer_pas_nh4_${simYR}.nc ./Nfert_ammo_pasture.nc&lt;br /&gt;
ln -s ${R_IN}/SRF/NITROGEN/N_FERTILISATION/NMIP2/synthetic/historical/nfer_crop_no3_${simYR}.nc ./Nfert_nitr_cropland.nc&lt;br /&gt;
ln -s ${R_IN}/SRF/NITROGEN/N_FERTILISATION/NMIP2/synthetic/historical/nfer_pas_no3_${simYR}.nc ./Nfert_nitr_pasture.nc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Getting the XIOS files (they might be version-dependant, therfore, it is recommended to get them directly from the same folder where the compiled version of ORCHIDEE is located, INSTALLDIR=/share/ORCHIDEE/)&lt;br /&gt;
&amp;lt;pre&amp;gt;cp $INSTALLDIR/modipsl/modeles/ORCHIDEE/src_xml/*xml ./&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit the &amp;lt;code&amp;gt;file_def_orchidee.xml&amp;lt;/code&amp;gt; to define output frequency and level of of output (remove all the &amp;lt;code&amp;gt;_AUTO_&amp;lt;/code&amp;gt;)&lt;br /&gt;
&amp;lt;pre&amp;gt;vim file_def_orchidee.xml&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final configuration gets:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ cat file_def_orchidee.xml | grep &#039;file id&#039; &lt;br /&gt;
 &amp;lt;file id=&amp;quot;sechiba1&amp;quot; name=&amp;quot;sechiba_history&amp;quot; output_level=&amp;quot;11&amp;quot; output_freq=&amp;quot;1d&amp;quot; enabled=&amp;quot;.TRUE.&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file id=&amp;quot;sechiba2&amp;quot; name=&amp;quot;sechiba_out_2&amp;quot; output_level=&amp;quot;2&amp;quot; output_freq=&amp;quot;1mo&amp;quot; enabled=&amp;quot;.FALSE.&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file id=&amp;quot;sechiba3&amp;quot; name=&amp;quot;sechiba_history_4dim&amp;quot; output_level=&amp;quot;11&amp;quot; output_freq=&amp;quot;1d&amp;quot; enabled=&amp;quot;.TRUE.&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file id=&amp;quot;sechiba1_alma&amp;quot; name=&amp;quot;sechiba_history_alma&amp;quot; output_level=&amp;quot;10&amp;quot; output_freq=&amp;quot;1mo&amp;quot; enabled=&amp;quot;.FALSE.&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file id=&amp;quot;sechiba2_alma&amp;quot; name=&amp;quot;sechiba_out_2_alma&amp;quot; output_level=&amp;quot;10&amp;quot; output_freq=&amp;quot;1d&amp;quot; enabled=&amp;quot;.FALSE.&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file id=&amp;quot;sechiba4&amp;quot; name=&amp;quot;sechiba_interp_diag&amp;quot; output_level=&amp;quot;3&amp;quot; output_freq=&amp;quot;1d&amp;quot; enabled=&amp;quot;.TRUE.&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file id=&amp;quot;stomate1&amp;quot; name=&amp;quot;stomate_history&amp;quot; output_level=&amp;quot;10&amp;quot; output_freq=&amp;quot;1d&amp;quot; enabled=&amp;quot;.TRUE.&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file id=&amp;quot;stomate2&amp;quot; name=&amp;quot;stomate_ipcc_history&amp;quot; output_level=&amp;quot;1&amp;quot; output_freq=&amp;quot;1mo&amp;quot; enabled=&amp;quot;.FALSE.&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file id=&amp;quot;stomate3&amp;quot; name=&amp;quot;stomate_history_4dim&amp;quot; output_level=&amp;quot;11&amp;quot; output_freq=&amp;quot;1d&amp;quot; enabled=&amp;quot;.TRUE.&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file id=&amp;quot;stomate4&amp;quot; name=&amp;quot;stomate_fixed_dia&amp;quot; output_level=&amp;quot;4&amp;quot; output_freq=&amp;quot;1d&amp;quot; enabled=&amp;quot;.FALSE.&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Linking the ORCHIDEE executable&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ln -s $INSTALLDIR/modipsl/bin/orchideedriver_prod ./orchideedriver&lt;br /&gt;
$ ln -s /share/ORCHIDEE/modipsl/bin/xios_server_prod.exe ./xios.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Getting the PBS scheduling job to run ORCHIDEE&lt;br /&gt;
&amp;lt;pre&amp;gt;$ cp /share/ORCHIDEE/launch_orchidee.pbs ./&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Launching the model&lt;br /&gt;
&amp;lt;pre&amp;gt;$ qsub launch_orchidee.pbs&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a problem with the meteorological forcing data &amp;lt;code&amp;gt;IGCM/SRF/METEO/WFDE5_CRU_GPCC/v1/WFDE5_CRU_GPCC_[nnnn].nc&amp;lt;/code&amp;gt;, its time axis is units are: &amp;lt;code&amp;gt;&#039;hours since 1900-01-01 00:00:00&#039;&amp;lt;/code&amp;gt;. But this gives an &amp;lt;code&amp;gt;IOIPSL&amp;lt;/code&amp;gt; error from &amp;lt;code&amp;gt;flinopen_work&amp;lt;/code&amp;gt; subroutine from &amp;lt;code&amp;gt;IOIPSL/src/flincom.f90&amp;lt;/code&amp;gt; (lines #586-600):&lt;br /&gt;
&amp;lt;pre style=&amp;quot;Fortran&amp;quot;&amp;gt;&lt;br /&gt;
!---&lt;br /&gt;
!-- 5.1 Find the time axis. Prefered method is the &#039;timestep since&#039;&lt;br /&gt;
!---&lt;br /&gt;
    gdtmaf_id = -1&lt;br /&gt;
    gdtt_id = -1&lt;br /&gt;
    old_id = -1&lt;br /&gt;
    DO iv=1,ncnbva(fid_out)&lt;br /&gt;
      name=&#039;&#039;&lt;br /&gt;
      iret = NF90_INQUIRE_VARIABLE (fid, iv, name=name)&lt;br /&gt;
      units=&#039;&#039;&lt;br /&gt;
      iret = NF90_GET_ATT (fid, iv, &#039;units&#039;, units)&lt;br /&gt;
      IF (INDEX(units,&#039;seconds since&#039;) &amp;gt; 0) gdtmaf_id = iv&lt;br /&gt;
      IF (INDEX(units,&#039;timesteps since&#039;) &amp;gt; 0) gdtt_id = iv&lt;br /&gt;
      IF (INDEX(name, &#039;tstep&#039;) &amp;gt; 0 .OR. INDEX(name,&#039;time&#039;) &amp;gt; 0 ) old_id = iv&lt;br /&gt;
    ENDDO&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Therefore, axis time units have to changed to &amp;lt;code&amp;gt;&#039;seconds since 1900-01-01 00:00:00&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
python3 $pyHOME3/nc_var.py -o valmod -S mulc,3600 -f ~/sandbox/get/WFDE5_CRU_GPCC_2002.nc -v time&lt;br /&gt;
python3 $pyHOME3/nc_var.py -o varaddattrk -S &#039;units|seconds!since!1900-01-01!00:00:00|S&#039; -v time -f sandbox/get/WFDE5_CRU_GPCC_2002.nc&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If everything went fine, one should have (at least)&lt;br /&gt;
=== single file output ===&lt;br /&gt;
&amp;lt;pre&amp;gt;orout/sechiba_history.nc  orout/sechiba_history_4dim.nc  stomate_history.nc&amp;lt;/pre&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;sechiba_history.nc&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sechiba_history_4dim.nc&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;stomate_history.nc&amp;lt;/code&amp;gt;: Outputs (optional, only when stomate is activated)&lt;br /&gt;
* &amp;lt;code&amp;gt;sechiba_rest_out.nc&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;stomate_restart.nc&amp;lt;/code&amp;gt;: restarts for &amp;lt;code&amp;gt;sechiba&amp;lt;code&amp;gt; and &amp;lt;code&amp;gt;stomate&amp;lt;/code&amp;gt; (optional, only when stomate is activated)&lt;br /&gt;
* &amp;lt;code&amp;gt;out_orchidee_[nnnn]&amp;lt;/code&amp;gt;: standard output files for each process &lt;br /&gt;
* &amp;lt;code&amp;gt;river_desc.nc&amp;lt;/code&amp;gt;: output with river description (optional, only when routing is activated)&lt;br /&gt;
&lt;br /&gt;
=== multiple file output ===&lt;br /&gt;
In case we run without XIOS, each processor will produce an output file. We need to use the &amp;lt;code&amp;gt;rebuild&amp;lt;/code&amp;gt; utility for that&lt;br /&gt;
&amp;lt;pre style=&amp;quot;sell&amp;quot;&amp;gt;&lt;br /&gt;
sechiba_history_[nnnn].nc, sechiba_interp_diag_[nnnn].nc, stomate_history_[nnnn].nc, stomate_history_4dim_[nnnn].nc&lt;br /&gt;
$ /share/ORCHIDEE/modipsl/modeles/IOIPSL/bin/rebuild -h&lt;br /&gt;
&lt;br /&gt;
&amp;quot;rebuild&amp;quot;&lt;br /&gt;
  rebuild a model_file from several input files.&lt;br /&gt;
Each input file contains the model_data for a domain.&lt;br /&gt;
&lt;br /&gt;
Usage :&lt;br /&gt;
  rebuild [-h]&lt;br /&gt;
  rebuild [-v level] [-f] -o output_file_name input_file_names&lt;br /&gt;
&lt;br /&gt;
Options :&lt;br /&gt;
  -h         : help&lt;br /&gt;
  -v O/1/2/3 : verbose mode (verbosity increasing with level)&lt;br /&gt;
  -f         : executing mode&lt;br /&gt;
               (execute the program even if the number of input files&lt;br /&gt;
                is not equal to the total number of domains)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
We reconstruct:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
/share/ORCHIDEE/modipsl/modeles/IOIPSL/bin/rebuild -o sechiba_history.nc sechiba_history_????.nc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running the model in DCAO&#039;s computational lab ==&lt;br /&gt;
Follow this link [[runORDCAO]] to set-up the runs in the machines of DCAO&#039;s computational laboratory&lt;br /&gt;
&lt;br /&gt;
= OR4L: L. Fita&#039;s work-flow management for ORCHIDEE =&lt;br /&gt;
ORCHIDEE should be run with [http://forge.ipsl.jussieu.fr/libigcm libIGCM] which is a work-flow management for ORCHIDEE developed at the IPSL.&lt;br /&gt;
&lt;br /&gt;
However, L. Fita developed an independent simpler and less potent work-flow called OR4L. See how it works in this wiki page [[ORCHIDEE/OR4L OR4L]]&lt;br /&gt;
&lt;br /&gt;
= OR_1proc: DCAO&#039;s 1-proc work-flow management for ORCHIDEE =&lt;br /&gt;
DCAO&#039;s computational lab machines are 1 processors standard machines. A new work-flow management has been created for such cases. Mostly related to the UMI &amp;amp; DCAO course of [[http://www.cima.fcen.uba.ar/UMI/wrk/modelado-2019.php land-atmosphere interaction and its modelling]]. All the iformation is available in the wiki page [[OR1proc OR 1proc]]&lt;/div&gt;</summary>
		<author><name>Daira.rosales</name></author>
	</entry>
</feed>