<?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=Cl%C3%A9ment+Petetin</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=Cl%C3%A9ment+Petetin"/>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php/Special:Contributions/Cl%C3%A9ment_Petetin"/>
		<updated>2026-05-30T12:13:39Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php?title=Quick_Install_and_Run_Titan_PCM&amp;diff=3181</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=3181"/>
				<updated>2026-01-14T10:50:02Z</updated>
		
		<summary type="html">&lt;p&gt;Clément Petetin: /* Compiling the Titan PCM */&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 gcm&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>Clément Petetin</name></author>	</entry>

	</feed>