41 | | Therefore restart jobs can not only be started automatically through '''mrun''', but also manually by the user. This is necessary e.g. whenever after the end of a job chain it is decided that the simulation must be continued further, because the phenomenon which should be examined did not reach the desired state yet. In such cases the '''mrun''' options completely correspond to those of the initial call; simply the {{{"#"}}} characters in the arguments of options {{{-r}}}, {{{-i}}} and {{{-o}}} must be replaced by {{{"f"}}}. |
| 41 | Therefore restart jobs can not only be started automatically through '''mrun''', but also manually by the user. This is necessary e.g. whenever after the end of a job chain it is decided that the simulation must be continued further, because the phenomenon which should be examined did not reach the desired state yet. In such cases the '''mrun''' options completely correspond to those of the initial call; simply the {{{"#"}}} characters in the arguments of options {{{-r}}}, {{{-i}}} and {{{-o}}} must be replaced by {{{"f"}}}.\\\\ |
| 42 | |
| 43 | = Handling of large binary restart- or output-files = |
| 44 | |
| 45 | In case of very large files, the copy of data from and to PALM's temporary working directory may need a long time. The CPU cores requested for the job run idle during that time and may consume significant amount of the job time without doing anything. The time required for copying can be spared by using a file link instead of copying the data. |
| 46 | {{{ |
| 47 | cp large_local_file large_permanent file # may take long time |
| 48 | ln ............ # is done immediately, i.e. requires almost no time |
| 49 | }}} |
| 50 | You can tell '''mrun''' to use {{{ld}}} instead of {{{cp}}} by giving the file attribute {{{ln}}} in the respective file connection statement: |
| 51 | {{{ |
| 52 | bla |
| 53 | }}} |
| 54 | However, performing a link requires that the link to a TARGET file with the name LINK_NAME must be located on the same physical file system as the TARGET file ... |