Changes between Version 4 and Version 5 of Doc/ComputingCenters/LocalPC


Ignore:
Timestamp:
02/26/20 17:15:28 (4 years ago)
Author:
jgipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/ComputingCenters/LocalPC

    v4 v5  
    1515 
    1616 
    17 Some configurations can be installed without [wiki:Doc/Tools#XIOS XIOS]. 
     17Only some configurations can be installed without [wiki:Doc/Tools#XIOS XIOS]. 
    1818 
    19 ## Choose a target in AA_make.gdef ## 
     19## Compilation with script for configurations _v6.2 and newer ## 
     20Compilation of each component included in the configuration must be adapted. Each component has a arch folder containing 2 files specific for each machine: arch-NEW_ARCH.fcm and arch-NEW_ARCH.path. These files must be added in each arch folder. Use one of the existing target machines as example. For example for LMDZOR_v6.2 configuration, following files must be added: 
     21{{{ 
     22 modipsl/modeles/IOIPSL/arch/arch-NEW_ARCH.fcm 
     23 modipsl/modeles/IOIPSL/arch/arch-NEW_ARCH.path 
     24 modipsl/modeles/XIOS/arch/arch-NEW_ARCH.fcm 
     25 modipsl/modeles/XIOS/arch/arch-NEW_ARCH.path 
     26 modipsl/modeles/ORCHIDEE/arch/arch-NEW_ARCH.fcm 
     27 modipsl/modeles/ORCHIDEE/arch/arch-NEW_ARCH.path 
     28 modipsl/modeles/LMDZ/arch/arch-NEW_ARCH.fcm 
     29 modipsl/modeles/LMDZ/arch/arch-NEW_ARCH.path 
     30}}} 
     31 
     32Add also the file arch-NEW_ARCH.env containing modules in the config/ARCH folder. For LMDZOR_v6.2, add following file:  
     33{{{ 
     34 modipsl/config/LMDZOR/ARCH/arch-NEW_ARCH.path 
     35}}} 
     36 
     37Launch the compilation by specifing '''-arch NEW_ARCH''' as argument to the compilation script.  
     38For LMDZOR_v6.2, launch as follow:  
     39{{{ 
     40 cd modipsl/config/LMDZOR 
     41 ./compile_lmdzor.sh -arch NEW_ARCH 
     42}}} 
     43 
     44 
     45## Compilation with main Makefile for configurations _v6 and _v6.1.* ## 
     46### Choose a target in AA_make.gdef ### 
    2047The `ins_make` script from modipsl will not recognize your local PC to create makefiles. You must specify an existing target or create a new target in the `util/AA_make`.gdef file. Adapt this target to your computing environment (compiler, options, path to netcdf, etc), and create a new makefile specifying this target:  
    2148{{{ 
     
    2552One of the important variables given is `FCM_ARCH`. Set for example `FCM_ARCH=NEW-ARCH`. `FCM_ARCH` gives the name of the arch files used for the different models, see next section.  
    2653 
    27 ## Adapt compilation for each model ## 
     54### Adapt compilation for each model ### 
    2855Please refer to the model managers of your model configuration to learn more about how to compile the IPSL models on a local PC and which compilers can be used with the specific models you need. See some information here below. 
    2956 
    3057Most of the IPSL models uses compilation based on fcm ([wiki:Doc/Compile#Compilingenvironment for more informations on fcm]) and the compiling options are set in arch files. Depending on the version of the models and between the models the file `arch-target.path` might have different syntaxes. For each model, take as example one existing target machine and adapt for your PC. The files are stored in the folder `modipsl/modeles/MODEL/arch/arch-NEW_ARCH.fcm/.path/.env`. The name `NEW_ARCH` can be changed but must be the same for all modeles and set in AA_make.gdef. 
    3158 
    32 ## Example for installing ORCHIDEE offline ## 
     59## Example for ORCHIDEE_2_2 offline version ## 
    3360Before installing [wiki:Doc/Models/ORCHIDEE ORCHIDEE], make a test installation of [wiki:Doc/Tools#XIOS XIOS], see guide here: http://forge.ipsl.jussieu.fr/ioserver/wiki/documentation . If this fails, it is still possible to install [wiki:Doc/Models/ORCHIDEE ORCHIDEE] without [wiki:Doc/Tools#XIOS XIOS], see notes below.  
    3461 
     
    3865 
    3966 
    40 # 2. Install the configuration ORCHIDEE_trunk 
     67# 2. Install the configuration ORCHIDEE_2_2 
    4168cd modipsl/util 
    42 ./model ORCHIDEE_trunk 
     69./model ORCHIDEE_2_2 
    4370 
    4471 
     
    85112 
    86113 
    87 ## Example for installing LMDZOR_v5.2 sequential mode with gfortran ## 
     114## Example for LMDZOR_v5.2 sequential mode with gfortran ## 
    88115{{{ 
    89116# 1. Install configuration LMDZOR_v5.2 in a new modipsl