656 | | In your workdir copy the target installation : |
657 | | |
658 | | [wiki:DocLfaq#HowdoIuseadifferentversionoflibIGCM? toto] |
| 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). |
| 660 | |
| 661 | Clean the libraries and executables:[[BR]] |
| 662 | in `NewInstall/modipsl/config/[YourConfig]` do a `gmake clean`. |
| 663 | |
| 664 | Generate the new makefiles:[[BR]] |
| 665 | in `NewInstall/modipsl/util` do a `./ins_make`. |
| 666 | |
| 667 | Update your libIGCM installation:[[BR]] |
| 668 | either install the latest version of libIGCM by following these [wiki:DocLfaq#HowdoIuseadifferentversionoflibIGCM explanations],[[BR]] |
| 669 | or remove and regenerate the .job files in your libIGCM directory as follows.[[BR]] |
| 670 | |
| 671 | Do a `rm NewInstall/modipsl/libIGCM/*.job`.[[BR]] |
| 672 | |
| 673 | Prepare a new experiment as usual and launch `ins_job` to generate the `.job` files in your `libIGCM` directory and your experiment directory.[[BR]] |
| 674 | Depending on your `libIGCM` version you will have to launch `NewInstall/modipsl/libIGCM/ins_job` or `NewInstall/modipsl/util/ins_job` for older versions. |
| 675 | |
| 676 | Check that the `.job` files are properly generated in `NewInstall/modipsl/libIGCM/` and you are set. |
| 677 | |
| 678 | |