Difference between revisions of "Update the TELEMAC system"
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
To update the TELEMAC system, just type from the <code>/path/to/systel90</code> folder: | To update the TELEMAC system, just type from the <code>/path/to/systel90</code> folder: | ||
<code><pre> | <code><pre> | ||
− | svn update | + | $ svn update |
</pre></code> | </pre></code> | ||
Line 21: | Line 21: | ||
The option "<code>-p</code>" is used to rebuild the parallel library, remove it if necessary. | The option "<code>-p</code>" is used to rebuild the parallel library, remove it if necessary. | ||
Also, add the option "<code>-c</code>" to rebuild entirely the libraries instead of recompiling only the new files. | Also, add the option "<code>-c</code>" to rebuild entirely the libraries instead of recompiling only the new files. | ||
+ | |||
+ | If you are more than one version of the TELEMAC system installed, you will need to recompile them too. For instance, just change v5p7 with v5p8 in the listing above to recompile version v5p8. | ||
+ | |||
+ | That's it, you're ready to get started with an updated TELEMAC system now! |
Latest revision as of 10:42, 24 August 2007
To update the TELEMAC system, just type from the /path/to/systel90
folder:
$ svn update
This will fetch all updated files from the subversion server at Bristol University. Note that different versions of the TELEMAC system can be updated. This is because old bugs in old versions are sometimes fixed too.
Attention, if you have modified files, either in the sources, the dictionaries or the scripts, this might create conflicts which you would need to fix by hand.
When the update has finished, the build_systel
script can be used to recompile the libraries that have been updated. Assuming that you have version v5p7 installed you can do:
$ v5p7
Switched to TELEMAC version: v5p7
$ cfgmak
File '/path/to/systel90/configv5p7/cfgmak.mak' updated.
$ build_systel -v v5p7 -p
...
The option "-p
" is used to rebuild the parallel library, remove it if necessary.
Also, add the option "-c
" to rebuild entirely the libraries instead of recompiling only the new files.
If you are more than one version of the TELEMAC system installed, you will need to recompile them too. For instance, just change v5p7 with v5p8 in the listing above to recompile version v5p8.
That's it, you're ready to get started with an updated TELEMAC system now!