Differences
This shows you the differences between two versions of the page.
installation_on_windows_with_cygwin [2020/06/29 08:48] y.audouin |
installation_on_windows_with_cygwin [2020/06/29 09:49] (current) y.audouin |
||
---|---|---|---|
Line 22: | Line 22: | ||
Going froward in the the installation and also to run telemac we will be using the Cygwin terminal (mintty.exe). | Going froward in the the installation and also to run telemac we will be using the Cygwin terminal (mintty.exe). | ||
It should be on your desktop otherwise it should be in the cygwin directory (C:\cygwin64\bin\mintty.exe if you used default installation folder) | It should be on your desktop otherwise it should be in the cygwin directory (C:\cygwin64\bin\mintty.exe if you used default installation folder) | ||
+ | |||
+ | Within the cygwin terminal the "C:\" folder path is "/cygdrive/c". | ||
Line 94: | Line 96: | ||
===== Getting Telemac sources ===== | ===== Getting Telemac sources ===== | ||
+ | Follow the procedure described [[http://wiki.opentelemac.org/doku.php?id=installation_on_linux#get_the_source_code|here]] | ||
===== Compiling Telemac ===== | ===== Compiling Telemac ===== | ||
+ | In the explication below: | ||
+ | * "root" refers to path to your TELEMAC_MASCARET | ||
+ | |||
+ | Copy "root"/configs/pysource.template.sh into "root"/configs/pysource.win.sh | ||
+ | Edit the file and replace: | ||
+ | * <path-to-install> by "root" | ||
+ | * <your-config> by win | ||
+ | |||
+ | Source the file (if run from "root" otherwise change the path to the pysource file): | ||
+ | <code bash> | ||
+ | source configs/pysource.win.sh | ||
+ | </code> | ||
+ | |||
+ | Try running: | ||
+ | <code bash> | ||
+ | config.py | ||
+ | </code> | ||
+ | |||
+ | You should get something like that: | ||
+ | <code> | ||
+ | $ config.py | ||
+ | |||
+ | |||
+ | Loading Options and Configurations | ||
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
+ | |||
+ | _ _ | ||
+ | | | | | | ||
+ | | |_ _ __ _ _ _ __ | | __ | ||
+ | | __|| '__|| | | || '_ \ | |/ / | ||
+ | | |_ | | | |_| || | | || < | ||
+ | \__||_| \__,_||_| |_||_|\_\ | ||
+ | |||
+ | |||
+ | |||
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
+ | |||
+ | win: | ||
+ | |||
+ | |||
+ | +> Windows 8 with gfortran and mpich (from automatic installer) | ||
+ | |||
+ | +> root: /cygdrive/c/opentelemac/trunk | ||
+ | +> module: ad / api / artemis / bief | ||
+ | damocles / gaia / gretel / hermes | ||
+ | identify_liq_bnd / khione / mascaret / nestor | ||
+ | parallel / partel / postel3d / sisyphe | ||
+ | special / stbtel / telemac2d / telemac3d | ||
+ | tomawac / waqtel | ||
+ | |||
+ | |||
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
+ | |||
+ | |||
+ | |||
+ | My work is done | ||
+ | </code> | ||
+ | |||
+ | If this is ok run: | ||
+ | <code> | ||
+ | compile_telemac.py | ||
+ | </code> | ||
+ | |||
+ | ===== Running Telemac ===== | ||
+ | |||
+ | To check that everything is okay run a test case: | ||
+ | <code bash> | ||
+ | cd $HOMETEL/examples/telemac2d/gouttedo | ||
+ | telemac2d.py t2d_gouttedo.cas --ncsize=2 | ||
+ | </code> |