Changes between Version 3 and Version 4 of Documentation/UserGuide/CompileMethods


Ignore:
Timestamp:
05/27/14 11:11:26 (7 years ago)
Author:
jgipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/CompileMethods

    v3 v4  
    1 = Compile methods = 
     1There are 2 methods for compiling ORCHIDEE.  
     2 * using standard makefiles created based on AA_make and AA_make.gdef. This is the standard methode until now.  
     3 * using a main makefile in config directory which will use the script makeorchidee_fcm based on the tool FCM.   
    24 
    3 It is possible to compile ORCHIDEE using standard makefiles created based on AA_make and AA_make.gdef. This is the standard methode until now. It is also possible to compile using the script makeorchidee_fcm based on the tool FCM.   
     5---- 
    46 
    5 == How to compile using standard makefiles == 
     7= Compile using standard makefiles = 
    68The compile options are set in modipsl/util/AA_make.gdef for all predefined environements. Using the script modipsl/util/ins_make the main makefile is created in modipsl/modeles/ORCHIDEE/Makefile. To change a compile option, it is necessary to change in AA_make.gdef and relaunch ins_make. The target machine is determined automatically by ins_make if the machine is in a predefined list. It is also possible to specify the target using the optional argument -t. Create makefiles and compile as follow: 
    79 
     
    1719 
    1820 
    19 == How to compile ORCHIDEE using with FCM method == 
    20 === Main makefile in modipsl/config/ORCHIDEE_OL === 
    21 A main makefile is found in modipsl/config/ORCHIDEE_OL directory. This makefile will first compile IOIPSL and then ORCHIDEE using the script makeorchidee_fcm.  
     21---- 
     22 
     23= Compile using with FCM method = 
     24== Main makefile in modipsl/config/ORCHIDEE_OL == 
     25A main makefile is found in modipsl/config/ORCHIDEE_OL directory or in modipsl/config/LMDZOR_v5.2 directory. This makefile will first compile IOIPSL and then ORCHIDEE using the script makeorchidee_fcm.  
    2226 
    2327 
     
    5054 
    5155 
    52 === makeorchidee_fcm ===  
    53 The script [https://forge.ipsl.jussieu.fr/orchidee/browser/trunk/ORCHIDEE/makeorchidee_fcm makeorchidee_fcm] compiles ORCHIDEE using the FCM, a software developed by the Hadley Centre.  
     56== makeorchidee_fcm ==  
     57The script [https://forge.ipsl.jussieu.fr/orchidee/browser/trunk/ORCHIDEE/makeorchidee_fcm makeorchidee_fcm] compiles ORCHIDEE using the FCM, a software developed by the Hadley Centre. 
    5458While using this script the dependencies between fortran modules do not need to be set in advance. Fcm determines the dependencies. Fcm is stored in tools/ directory. 
     59 
     60makeorchidee_fcm is launched by the main makefile in config directory but it can also be launched manually from modeles directory. In the later case, IOIPSL must have been compiled previously.  
    5561 
    5662Compile options for different target machines or compilers are defined in the directory ''arch/''. For each target machine two files must exist : archname.fcm and archname.path. Use ''./makeorchidee_fcm -h'' to get information about available arguments. See here the main arguments [[BR]]