8
edits
(Marked this version for translation) |
(Correct HDF5 workaround for 1.6+) |
||
Line 25: | Line 25: | ||
<!--T:6--> | <!--T:6--> | ||
If we were to omit the <code>Libdl.DL_LOAD_PATH</code> line from the above example, it would happen to work on Graham because Graham has HDF5 installed system-wide. It would fail on Cedar because Cedar does not. The best practice on ''any'' Compute Canada system, though, is that shown above: Load the appropriate [[Utiliser_des_modules/en | module]] first, and use the environment variable defined by the module (<code>HDF5_DIR</code> in this example) to extend <code>Libdl.DL_LOAD_PATH</code>. This will work uniformly on all systems. | If we were to omit the <code>Libdl.DL_LOAD_PATH</code> line from the above example, it would happen to work on Graham because Graham has HDF5 installed system-wide. It would fail on Cedar because Cedar does not. The best practice on ''any'' Compute Canada system, though, is that shown above: Load the appropriate [[Utiliser_des_modules/en | module]] first, and use the environment variable defined by the module (<code>HDF5_DIR</code> in this example) to extend <code>Libdl.DL_LOAD_PATH</code>. This will work uniformly on all systems. | ||
Note that the above no longer applies for Julia/1.6.1, it loads and uses JLD and HDF5 packages from within Julia, without the need for changes in library path or loading the HDF5 module. | |||
= Package files and storage quotas = <!--T:7--> | = Package files and storage quotas = <!--T:7--> |
edits