This is for advanced usage, since creating your own module files for software access is usually not necessary.
If you develop or install your own software, you might consider writing
a modulefile to help manage your environment variables. HPCC presently
uses the LMOD module package, developed at TACC. The following is a
typical module file with comments. Name your files with a .lua extension.
1 2 3 4 5 6 7 8 910111213141516171819202122232425
---*-lua-*-help([[Describeyoursoftwarehere.]])--commentsareprefacedwithtwodasheswhatis("Description: Name of software")whatis("URL: www.ucc.org ")localinstall_path="/mnt/home/ongbw/opt/mysoftware"--setanenvironmentvariablesetenv("MYSOFTWARE_HOME",install_path)--addtoPATHvariableprepend_path('PATH',pathJoin(install_path,"bin"))--addLibraryPathsprepend_path('LD_LIBRARY_PATH',pathJoin(install_path,"lib"))prepend_path('LIBRARY_PATH',pathJoin(install_path,"lib"))--addincludepathsprepend_path('INCLUDE',pathJoin(install_path,"include"))