Changes between Version 38 and Version 39 of Doc/FAQ


Ignore:
Timestamp:
03/14/16 15:53:36 (8 years ago)
Author:
snguyen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/FAQ

    v38 v39  
    652652}}} 
    653653 
    654 ## How do I copy a model installation directory instead of downloading from the forge ? ## 
    655  
    656 In your workdir, copy the target installation:[[BR]] 
    657 `cp -r OldInstall NewInstall`. 
    658  
    659 You will need to regenerate the makefiles to account for the new path and recompile the executable (anyway you probably copied the installation to make modifications to the source). 
     654## How do I copy a model installation directory instead of downloading from the forge (or move a directory)? ## 
     655 
     656In your workdir, copy or move the target installation:[[BR]] 
     657`cp -r OldInstall NewInstall`(1) or `mv OldInstall NewInstall`(2). 
     658 
     659In any case you need to regenerate the makefiles to account for the new path.[[BR]] 
     660If you copied the installation to make modifications to the source you will also need to recompile. 
     661 
     662'' Only for case (1) ''[[BR]] 
    660663 
    661664Clean the libraries and executables:[[BR]] 
    662665in `NewInstall/modipsl/config/[YourConfig]` do a `gmake clean`. 
    663666 
     667'' Cases (1) and (2)''[[BR]] 
     668 
    664669Generate the new makefiles:[[BR]] 
    665 in `NewInstall/modipsl/util` do a `./ins_make`. 
     670in `NewInstall/modipsl/util` do a `./ins_make`.[[BR]] 
     671You might not need it if you use the old executables - case (2)- but its safer if you have to use the makefile scripts later on. 
     672 
     673'' Case (1) ''[[BR]] 
     674 
     675When sources are ready, recompile as usual:[[BR]] 
     676in `NewInstall/modipsl/config/[YourConfig]`do a `gmake`. 
     677 
     678'' Cases (1) and (2) ''[[BR]] 
    666679 
    667680Update your libIGCM installation:[[BR]]