Changes between Version 4 and Version 5 of Documentation/UserGuide/InstallingORCHIDEE


Ignore:
Timestamp:
2013-02-18T14:44:56+01:00 (11 years ago)
Author:
jgipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/InstallingORCHIDEE

    v4 v5  
    99== 1.a Installing netcdf library (package installation) (not tested) == 
    1010 
    11 Now, netcdf is available as a package for linux distribution. For Ubuntu, a package exists. This installation was not tested, 
     11Now, netcdf is available as a package for linux distribution. For Ubuntu, a package exists. Make sure that the netcdf is compiled with the same compiler as you'll compile ORCHIDEE (here gfotran compiler). This installation was not tested, 
    1212but it is OK, go to step 2 ! 
    1313 
     
    115115}}} 
    116116 
    117 Then go to : 
     117You can install a public or a private version of ORCHIDEE. [wiki:HowTo/InstallingORCHIDEEBasic Read more about installing different versions of ORCHIDEE.] To install the latest tagged version : 
    118118{{{ 
    119       >  cd MY_ORCHIDEE/util 
     119      > cd MY_ORCHIDEE/util 
     120      > ./model ORCHIDEE_TAG 
    120121}}} 
    121122 
    122 You can install a public version on your laptop. Execute : 
    123123 
    124 {{{ 
    125       > ./model ORCHIDEE_TAG 
    126 }}} 
    127 If you are a developer of ORCHIDEE, you can download your own version with the script recup_my_ORCHIDEE (see SVN course for that). 
    128 Nearly the end ! Edit AA_make.gdef and replace the following line by : 
    129 {{{ 
    130 #-Q- gfortran  F_C = gfortran -c 
    131 }}} 
    132 by  
    133 {{{ 
    134 #-Q- gfortran  F_C = gfortran -c -cpp 
    135  
    136 }}} 
    137 and execute the script called ins_make : 
     124Create makefiles with the specific target for compiler gfortran : 
    138125{{{ 
    139126    >  ./ins_make -t gfortran 
    140127}}} 
    141 Then go to modeles/ORCHIDEE_OL : 
     128 
     129Then compile the modele : 
    142130{{{ 
    143     >  cd ../modeles/ORCHIDEE_OL 
    144 }}} 
    145 and finally compile : 
    146 {{{ 
     131   >  cd ../modeles/ORCHIDEE_OL 
    147132   >  make; make teststomate; make forcesoil 
    148133}}} 
     134 
     135If you extracted the trunk version of ORCHIDEE and all versions containing ORCHIDEE/src_driver directory, then compile as follow : 
     136{{{ 
     137   >  cd ../modeles/ORCHIDEE 
     138   >  make driver 
     139}}} 
     140 
    149141 
    150142CONGRATULATIONS, it's done !