This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision |
technical:recipes:telemac [2021-02-15 10:21] – [Test job] anita | technical:recipes:telemac [2021-04-11 10:29] (current) – [Compilation] anita |
---|
| |
<WRAP center round important 80%> | <WRAP center round important 80%> |
If the installation is not meant to be available to all workgroup users (e.g. installed to ''$HOME'' rather than ''$WORKDIR'') the package definition should be in ''~/.valet/telemac.vpkg_yaml''. | If the installation is not meant to be available to all workgroup users (e.g. installed to ''$HOME'' rather than ''$WORKDIR'') the VALET package definition should be in ''~/.valet/telemac.vpkg_yaml''. |
</WRAP> | </WRAP> |
| |
===== Compilation ===== | ===== Compilation ===== |
| |
Once the problem is partitioned, the executable can be built. This step should not be run on compute nodes since they lack a base development environment in the OS((This step could be run on a node in the **devel** partition on Caviness. DARWIN nodes all have a full base development environment in the OS, so the jobs can be run in a single step -- see the "Single-step runs" section detailing that mode of operation.)). | Once the problem is partitioned, the executable can be built. This step should not be run on compute nodes since they lack a base development environment in the OS((This step could be run on a node in the **devel** partition on Caviness. DARWIN nodes all have a full base development environment in the OS, so the jobs can be run in a single step -- see the "[[technical:recipes:telemac#single-step-runs|Single-step runs]]" section detailing that mode of operation.)). |
| |
<code bash> | <code bash> |
$ vpkg_require telemac/v8p2r0:batch | $ vpkg_require telemac/v8p2r0:batch |
(/work/workgroup/sw/telemac/v8p2r0) $ runcode.py \ | (/work/workgroup/sw/telemac/v8p2r0) $ runcode.py \ |
--use-link --run --workdirectory $(pwd)/test_run \ | --use-link --merge --workdirectory $(pwd)/test_run \ |
--jobname telemac_test-merge \ | --jobname telemac_test-merge \ |
--ncsize 2 \ | --ncsize 2 \ |