Changes between Version 38 and Version 39 of Doc/FAQ
- Timestamp:
- 03/14/16 15:53:36 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/FAQ
v38 v39 652 652 }}} 653 653 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 656 In your workdir, copy or move the target installation:[[BR]] 657 `cp -r OldInstall NewInstall`(1) or `mv OldInstall NewInstall`(2). 658 659 In any case you need to regenerate the makefiles to account for the new path.[[BR]] 660 If you copied the installation to make modifications to the source you will also need to recompile. 661 662 '' Only for case (1) ''[[BR]] 660 663 661 664 Clean the libraries and executables:[[BR]] 662 665 in `NewInstall/modipsl/config/[YourConfig]` do a `gmake clean`. 663 666 667 '' Cases (1) and (2)''[[BR]] 668 664 669 Generate the new makefiles:[[BR]] 665 in `NewInstall/modipsl/util` do a `./ins_make`. 670 in `NewInstall/modipsl/util` do a `./ins_make`.[[BR]] 671 You 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 675 When sources are ready, recompile as usual:[[BR]] 676 in `NewInstall/modipsl/config/[YourConfig]`do a `gmake`. 677 678 '' Cases (1) and (2) ''[[BR]] 666 679 667 680 Update your libIGCM installation:[[BR]]