Table of Contents | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
...
A separate page is dedicated for explaining how to manage and install local modules in the user’s home/project paths using EasyBuild → Local module & EasyBuild (In progress)
Useful compiler flags
...
3. Adding software paths
The Linux OS will not be able to find your program if it is not in its search paths. The commonly used ones are namely PATH
(for executable/binary), LD_LIBRARY_PATH
(for shared library), and PYTHONPATH
(for python packages). Users MUST append them using syntax such as export PATH=<software-bin-path>:${PATH}
, otherwise, prior search paths added by module load
and others will disappear.
If <your-install-location>
is where your software is installed, then putting the below commands in your job script should be sufficient in most casecases.
Code Block | ||
---|---|---|
| ||
export PATH=<your-install-location>/bin:${PATH} export LD_LIBRARY_PATH=<your-install-location>/lib:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH=<your-install-location>/lib64:${LD_LIBRARY_PATH} |
...
If your software asks for a case directory where all inputs must be in, you may need to submit your job inside that directory, or use -D, --chdir
option.
...
Example
Installation gulide
...