Changes between Version 13 and Version 14 of Documentation/UserGuide/CompileMethods


Ignore:
Timestamp:
2019-05-02T14:08:12+02:00 (5 years ago)
Author:
jgipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/CompileMethods

    v13 v14  
    22 
    33There are 2 methods for compiling ORCHIDEE.  
     4 * '''''Current default method:'' A main makefile in config directory which will launch the script makeorchidee_fcm based on the tool FCM.'''  
     5  - Full compiling is done from modipsl/config/ORCHIDEE_OL directory 
     6  - Specific platform dependent compile options are set in modipsl/modeles/ORCHIDEE/arch directory 
    47 * '''''Old obsolete method:'' Standard makefiles created based on AA_make and AA_make.gdef.'''  
    58  - Full compiling is done from modipsl/modeles/ORCHIDEE directory 
    69  - Specific platform dependent compile options are set in modipsl/util/AA_make.gdef 
    7  * '''''Current default method:'' A main makefile in config directory which will launch the script makeorchidee_fcm based on the tool FCM.'''  
    8   - Full compiling is done from modipsl/config/ORCHIDEE_OL directory 
    9   - Specific platform dependent compile options are set in modipsl/modeles/ORCHIDEE/arch directory 
    10  
    11 ---- 
    12  
    13 = Compile using standard makefiles (old method) = 
    14 The 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: 
    15  
    16  
    17 {{{ 
    18 cd modipsl/util 
    19 ./ins_make [-t target] 
    20 cd ../modeles/ORCHIDEE 
    21 gmake driver 
    22 }}} 
    23  
    24  
    25  
    2610 
    2711---- 
     
    171155 
    172156You can now compile as before. 
     157 
     158 
     159 
     160= Compile using standard makefiles (old method) = 
     161The 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: 
     162 
     163 
     164{{{ 
     165cd modipsl/util 
     166./ins_make [-t target] 
     167cd ../modeles/ORCHIDEE 
     168gmake driver 
     169}}} 
     170 
     171 
     172