Changes between Version 9 and Version 10 of Documentation/UserGuide/CompileMethods


Ignore:
Timestamp:
2015-09-04T11:04:57+02:00 (9 years ago)
Author:
luyssaert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/CompileMethods

    v9 v10  
    136136= Compatibility = 
    137137Compiling using makeorchidee_fcm is possible using the trunk ORCHIDEE at least since rev 1369. A detailed comparison between the 2 methods has been done using the trunk rev 2149 after updating compile options to have the same as in AA_make.gdef. 
     138 
     139 
     140= Hacking the script - Skip the compilation of teststomate (Ferenc Pasztor, Josfine Ghattas & Betrand Guennet)= 
     141The standard compilation scripts compile orchidee, forcesoil and teststomate at the same time. Although forcesoil and teststomate are still required for some branches to speed up the compilation. For several other branches they became obsolete. If you want to compile your changes to orchidee without updating teststomate you should change the compilation script: 
     142 
     143in makeorchidee_fcm, remove teststomate.exe to have 
     144 
     145{{{ 
     146TARGET="liborchidee_ol.a dim2_driver.exe forcesoil.exe" 
     147}}} 
     148 
     149Then remove copy further down : 
     150{{{ 
     151cp bin/teststomate.exe ../../bin/teststomate 
     152}}} 
     153 
     154Now compile. 
     155 
     156If you are using the old compilation method you should do the following (not tested): 
     157use 
     158{{{ 
     159gmake 
     160}}} 
     161instead of 
     162{{{ 
     163gmake driver 
     164}}} 
     165then the compilation script will only compile orchidee (and thus skip the compilation of teststomate and forcesoil. If, however, you need forcesoil and orchidee then you should go in src_driver and remove in the Makefile all the lines related to teststomate.