Changes between Version 15 and Version 16 of Doc/Compile


Ignore:
Timestamp:
03/08/18 16:43:45 (6 years ago)
Author:
jgipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/Compile

    v15 v16  
    158158# How to compile? # 
    159159 
    160  
    161 [[NoteBox(warn, If you are working with configuration IPSLCM6.0.14-LR or IPSLCM6.0.15-LR you need to modify your environment, 600px)]] 
     160## Special case at curie for configuration IPSLCM6.0.14-LR or IPSLCM6.0.15-LR ## 
     161[[NoteBox(warn, If you are working with configuration IPSLCM6.0.14-LR or IPSLCM6.0.15-LR at curie you need to modify your environment, 600px)]] 
     162At curie, if you work with configuration IPSLCM6.0.14-LR or IPSLCM6.0.15-LR you need to change environment before the compilation. Do following in the terminal were you will compile: 
    162163{{{ 
    163164module purge 
     
    165166. /ccc/cont003/home/dsm/p86ipsl/.env_netcdf4.3.3.1_curie 
    166167}}} 
    167  
    168 [[NoteBox(warn, End of warning for configuration IPSLCM6.0.14-LR and IPSLCM6.0.15-LR, 600px)]] 
    169  
    170  
     168This is done to change the version of the compiler to a newer one. It can be used for other configurations at curie as well but it is only mandatory for the here specified configurations. During run time, libIGCM will find out with which compiler version has been used and libIGCM will source the corresponding modules.  
     169 
     170 
     171## For all configurations ## 
    171172Once you chose a resolution you can start compiling: 
    172173{{{ 
    173174#!sh 
     175gmake 
     176or 
    174177gmake my_resolution 
    175178}}} 
     
    192195[[NoteBox(note,Once the file '''.resol''' is created\, you can recompile your configuration using the gmake script without specifying the resolution., 600px)]] 
    193196 
    194  
     197For ORCHIDEE_OL, the resolution is not specified during run time. Compiler using only '''gmake'''. The file .resol will not be created. 
    195198# How to change compile options for debugging or optimization of the model? # 
    196199 * You can change your optimization options for IOIPSL models in the AA_make.gdef file. To this end you must find your target machine and change the associated lines. You will have to recreate the Makefile.