source: CPL/oasis3-mct/branches/OASIS3-MCT_2.0_branch/doc/UG0_Stepbystep_overview.tex @ 4775

Last change on this file since 4775 was 4775, checked in by aclsce, 4 years ago
  • Imported oasis3-mct from Cerfacs svn server (not suppotred anymore).

The version has been extracted from https://oasis3mct.cerfacs.fr/svn/branches/OASIS3-MCT_2.0_branch/oasis3-mct@1818

  • Property svn:executable set to *
File size: 11.9 KB
Line 
1\newpage
2\chapter{Introduction}
3\label{sec_step}
4
5In 1991, CERFACS started the development of
6a software interface to couple existing ocean and atmosphere numerical General
7Circulation Models. Today, different versions of the
8OASIS coupler are used by about 35 modelling groups in Europe, Australia, Asia and
9North America on the different computing platforms \citep{valcke8}\footnote{The list of
10coupled models realized with OASIS can be found at https://verc.enes.org/oasis/oasis-dedicated-user-support-1/some-current-users}.
11OASIS sustained development is ensured by a collaboration
12between CERFACS and the Centre National de la Recherche Scientifique
13(CNRS) and its maintainance and user support is presently reinforced
14with additional resources coming from the IS-ENES2 project funded by the EU.
15
16The current OASIS3-MCT is interfaced with MCT, the Model
17Coupling Toolkit\footnote{www.mcs.anl.gov/research/projects/mct/} \citep{mct_larson} \newline \citep{mct_jacob}, developed by the Argonne National Laboratory in the USA. MCT implements fully parallel regridding, as a parallel matrix vector
18multiplication, and parallel distributed exchanges of the coupling
19fields, based on pre-computed regridding weights and addresses.
20Its design philosophy, based on flexibility and minimal invasiveness,
21is close to the OASIS approach.
22MCT has proven parallel performance and is, most notably, the
23underlying coupling software used in National Center for Atmospheric
24Research Community Earth System Model 1 (NCAR CESM1).
25
26OASIS3-MCT is a portable set of Fortran 77, Fortran 90 and C routines. Low-intrusiveness, portability and flexibility are OASIS3-MCT key design concepts. After compilation OASIS3-MCT is a coupling library that needs to be linked to the component models, and which main function is to interpolate and exchange the coupling fields between them to form a coupled system.  OASIS3-MCT supports  coupling of 2D logically-rectangular fields but 3D fields and 1D fields expressed on unstructured grids are also supported using a one dimension degeneration of the structures. Thanks to MCT, all transformations, including regridding, are executed in parallel on the set of source or target component processes and all couplings are now executed in parallel directly between the components via Message Passing Interface
27(MPI). OASIS3-MCT also supports file I/O using netcdf. 
28
29In spite of the significant changes in underlying implementation, usage of OASIS3-MCT in the codes has largely remained unchanged with respect to OASIS3.3.
30To communicate with another model, or to perform I/O actions, a component model needs to include few specific calls to the OASIS3-MCT coupling library, which Application Programmig Interface (API) used in component models is unchanged.  The use
31statement has been updated and now requires a single ``use\ mod\_prism'' or ``use mod\_oasis'' statement instead of the various use statements required in prior
32OASIS3 versions.  The {\it namcouple} configuration file is also largely unchanged
33relative to OASIS3, although several options are either not used
34or not supported.  There is a new transformation in {\it namcouple}
35i.e. {\tt MAPPING} which allows a user to specify a mapping
36file generated externally.  The changes between OASIS3.3 and OASIS3-MCT are lilsted in appendix \ref{sec_changes}.
37 
38First tests done with up to
398000 cores on the Bullx Curie machine at the TGCC are very encouraging
40and it is therefore very likely that OASIS3-MCT will provide an efficient and
41easy-to-use coupling solution for many climate modelling groups in the few years to come.
42
43%See appendix \ref{sec_changes} for a more detailed list of changes in this %version.
44
45\section{Step-by-step use of OASIS3-MCT}
46
47To use OASIS3-MCT for coupling models (and/or perform I/O
48actions), one has to follow these steps:
49\begin{enumerate}
50\item Obtain OASIS3-MCT source code (see chapter \ref{sec_Obtaining}).
51\item Get familiar with OASIS3-MCT by going through the tutorial steps. The tutorial sources are given in directory {\tt
52  examples/tutorial} and all explanations are provided in the document {\tt tutorial\_oasis3-mct.pdf} therein.
53
54\item Identify the coupling or I/O fields and adapt the component
55  models to allow their exchange with the OASIS3-MCT coupling library based on MPI1 message passing.
56  The OASIS3-MCT coupling library uses NetCDF and therefore can be used to perform I/O actions
57  from/to disk files.  For more detail on how to interface a model
58  with OASIS3-MCT, see chapter \ref{sec_modelinterfacing}.
59
60\item Define all coupling and I/O parameters and the transformations
61  required to adapt each coupling field from the source model grid to
62  the target model grid; on this basis, prepare OASIS3-MCT configuring file
63  {\it namcouple} (see chapter \ref{sec_namcouple}).
64  OASIS3-MCT supports different interpolation algorithms as described in
65  chapter \ref{sec_transformations}.  Regridding files can be computed
66  online using the SCRIP options or offline and read using the MAPPING
67  transformation.
68
69{\bf We strongly recommend to tests off-line the quality of the chosen transformations and regriddings} using the environment available in {\tt
70  examples/test\_interpolation} and explanations provided in the document {\tt test\_interpolation\_oasis3-mct.pdf} therein.
71
72\item Generate required auxiliary data files (see chapter
73  \ref{sec_auxiliary}).
74\item Compile OASIS3-MCT, the component models and start the coupled
75  experiment. Details on how to compile and run a coupled model with OASIS3-MCT can be found in section \ref{sec_compilationrunning}.
76
77\end{enumerate}
78
79If you need extra help, do not hesitate to contact us (see contact
80details on the back of the cover page).
81
82\section{OASIS3-MCT sources}
83\label{sec_Obtaining}
84OASIS3-MCT sources are available from CERFACS SVN server. To obtain more detail on downloading
85the sources, please fill in the registration form at
86https://verc.enes.org/oasis/download/oasis-registration-form .
87
88OASIS3-MCT directory structure is the following one:
89
90\begin{verbatim}
91 - oasis3-mct/lib/psmile         OASIS3-MCT coupling library
92                 /scrip          SCRIP interpolation library
93                 /mct            Model Coupling Toolkit Coupling Software
94                 
95 - oasis3-mct/doc                OASIS3-MCT User Guide
96
97 - oasis3-mct/util/make_dir      Utilities to compile OASIS3-MCT
98
99 - oasis3-mct/examples           Environment to run the tutorial and
100                                 test_interpolation toy coupled models.
101\end{verbatim}
102\newpage
103\section{Licenses and Copyrights}
104 
105\subsection{OASIS3-MCT license and copyright statement}
106
107Copyright © 2013 Centre Europ\'een de Recherche et Formation
108Avanc\'ee en Calcul Scientifique (CERFACS). 
109
110This software and ancillary information called OASIS3-MCT is free
111software.  CERFACS has rights to use, reproduce, and distribute
112OASIS3-MCT. The public may copy, distribute, use, prepare derivative works and
113publicly display OASIS3-MCT under the terms of the Lesser GNU General
114Public License (LGPL) as published by the Free Software Foundation,
115provided that this notice and any statement of authorship are
116reproduced on all copies. If OASIS3-MCT is modified to produce derivative
117works, such modified software should be clearly marked, so as not to
118confuse it with the OASIS3-MCT version available from CERFACS.
119
120The developers of the OASIS3-MCT software are researchers attempting to
121build a modular and user-friendly coupler accessible to the climate
122modelling community. Although we use the tool ourselves and have made
123every effort to ensure its accuracy, we can not make any
124guarantees. We provide the software to you for free. In return,
125you--the user--assume full responsibility for use of the software. The
126OASIS3-MCT software comes without any warranties (implied or expressed) and
127is not guaranteed to work for you or on your computer. Specifically,
128CERFACS and the various individuals involved in development and
129maintenance of the OASIS3-MCT software are not responsible for any damage
130that may result from correct or incorrect use of this software.
131
132\subsection{MCT copyright statement}
133\label{sec_MCT}
134
135                            Modeling Coupling Toolkit (MCT) Software
136
137Copyright © 2011, UChicago Argonne, LLC as Operator of Argonne National Laboratory. All rights reserved.
138
139Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
140\begin{enumerate}
141\item Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
142\item Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
143\item The end-user documentation included with the redistribution, if any, must include the following acknowledgment: "This product includes software developed by the UChicago Argonne, LLC, as Operator of Argonne National Laboratory." Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear.
144
145This software was authored by:
146\begin{itemize}
147\item Argonne National Laboratory Climate Modeling Group, Mathematics and Computer Science Division, Argonne National Laboratory, Argonne IL 60439
148\item Robert Jacob, tel: (630) 252-2983, E-mail: jacob@mcs.anl.gov
149\item Jay Larson, E-mail: larson@mcs.anl.gov
150\item Everest Ong
151\item Ray Loy
152\end{itemize}
153
154\item WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY OF ANY KIND. THE COPYRIGHT HOLDER, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND THEIR EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE OR NON-IN- FRINGEMENT, (2) DO NOT ASSUME ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR-FREE OR THAT ANY ERRORS WILL BE CORRECTED.
155
156\item LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDER, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE, INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS OR LOSS OF DATA, FOR ANY REASON WHATSOEVER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT (INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR OTHERWISE, EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGES.
157
158\end{enumerate}
159
160\subsection{The SCRIP 1.4 license copyright statement}
161\label{sec_SCRIP}
162
163The SCRIP 1.4 copyright statement reads as follows:
164
165``Copyright © 1997, 1998 the Regents of the University of California.
166This software and ancillary information (herein called SOFTWARE)
167called SCRIP is made available under the terms described here. The
168SOFTWARE has been approved for release with associated LA-CC Number
16998-45. Unless otherwise indicated, this SOFTWARE has been authored by
170an employee or employees of the University of California, operator of
171Los Alamos National Laboratory under Contract No. W-7405-ENG-36 with
172the United States Department of Energy. The United States Government
173has rights to use, reproduce, and distribute this SOFTWARE. The public
174may copy, distribute, prepare derivative works and publicly display
175this SOFTWARE without charge, provided that this Notice and any
176statement of authorship are reproduced on all copies. Neither the
177Government nor the University makes any warranty, express or implied,
178or assumes any liability or responsibility for the use of this
179SOFTWARE. If SOFTWARE is modified to produce derivative works, such
180modified SOFTWARE should be clearly marked, so as not to confuse it
181with the version available from Los Alamos National Laboratory.''
Note: See TracBrowser for help on using the repository browser.