Contents
Overview
The PRISM system provides a comprehensive and flexible set of tools for model compilation. The tools can be used for all models on all platforms provided that the source code is managed in the way described above. PRISM compilation is based on the GNU "make" software. This allows a design that requires only a minimum of recompilation. This is particularly interesting in the developing phase. Only the modified code and the code depending on it is recompiled. To keep platform specific binaries strictly separated from the source code all compiler output is moved to a build directory.
Makefiles are required for each directory containing source code. They can be generated with the help of a PRISM tool ("Append_dependencies") which detects the directories that have to be searched for prerequisites. It also generates the prerequisite list for all compilation objects. The dependency checking searches through all source code directories of a model. The order of compilation has no impact and there is no need to keep FORTRAN modules in an extra directory.
Compile scripts are generated by a PRISM tool called "Create_COMP_cpl_mod.frm". The only mandatory input parameter for this tool is the coupled model name. It creates a set of compile scripts specific for the component models running in the coupled configuration and for the platform. For compilation the scripts loop over all source code directories and run the make command for all Makefiles. The compile script sets all configurable and all non-portable parameters and exports them to the fully portable Makefiles.
All libraries have a common compile script. Each time a model is compiled the model's compile script launches the library compile script with the list of all libraries used by the model. This includes model specific and general PRISM software libraries. The library compile script checks whether or not the listed libraries are up-to-date. This guarantees the consistency of all software components.
More information can also be found on the old FP5 PRISM project pages
. These pages give an overview of the SCE and SRE development activities during the PRISM project. [Please note: These pages are not updated anymore and as a result not all links are still active.]
Download
The last version of the Standard Compile Environment, SCE_prism_2-4, is available on CERFACS anonymous ftp.
To get the sources:>ftp ftp.cerfacs.fr
>Name (ftp.cerfacs.fr:xxxxx): anonymous
>Password: your_complete_email_address
>cd pub/globc/exchanges/oasis/oasis3_prism_2-4
In this directory, you will find the SCE tarball:
- SCE_prism_2-4.tar.gz
To get the compiling environment relevant for OASIS3 which is the PRISM Standard Compile Environment tagged "prism_2-4" (33 KB)
Documentation and publications
For more information on the SCE, please refer to the PRISM Standard Compile Environment handbook
.
Reference
If you feel that your research has benefited from the use of the SCE software, we will greatly appreciate your reference to the following report:
"S. Legutke and V. Gayler, 2004: The PRISM Standard Compile Environment (prism_2-4). PRISM Report Series, No 4."

