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 ... |
| 55 | 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. If TARGET file and LINK_NAME are on different file systems, the TARGET file will be copied instead (and the advantage of using the {{{ln}}} command is lost). |
| 56 | |
| 57 | Most computing centers provide a file systems for fast I/O and this should be used as '''mrun's''' temporary working directory, which can be set in the configuration file by environment variable {{{tmp_user_catalog}}}. Since the LINK_NAME should be on the same file system, the user should provide a directory on that file system for storing the large files. Respective settings in the configuration file could be (example for Cray-XC40 at HLRN): |
| 58 | {{{ |
| 59 | # |
| 60 | # folder in which mrun's temporary working catalog is created (will be deleted after end of job) |
| 61 | %tmp_user_catalog /gfs2/work/<replace by username> lccrayh parallel |
| 62 | # |
| 63 | # folder in which large binary files shall be stored |
| 64 | %tmp_data_catalog /gfs2/work/<replace by username> lccrayh parallel |
| 65 | # |
| 66 | # file connection statements for restart files |
| 67 | BININ in:loc:lnpe d3f $tmp_data_catalog/$fname/RESTART _d3d |
| 68 | BINOUT out:loc:lnpe restart $tmp_data_catalog/$fname/RESTART _d3d |
| 69 | }}} |
| 70 | Such fast file systems are generally not allowed to store files for a longer time, so the user has to take care for archiving himself. |
| 71 | |
| 72 | '''Attention:'''\\ |
| 73 | The {{{ln}}} file attribute and the above described method for storing large binary files has been introduced with revision number r2262. {{{mrun}}} does not create empty files/directories for restart files in the folder given with the file connection statement any more, as it was done with feature "fl" before. |