Server IP : 66.29.132.122 / Your IP : 3.147.70.247 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/usr/share/Modules/modulefiles/ |
Upload File : |
#%Module1.0##################################################################### ## ## use.own modulefile ## proc ModulesHelp { } { puts stderr "\tThis module file will add \$HOME/privatemodules to the" puts stderr "\tlist of directories that the module command will search" puts stderr "\tfor modules. Place your own module files here." puts stderr "\tThis module, when loaded, will create this directory" puts stderr "\tif necessary." } module-whatis "adds your own modulefiles directory to MODULEPATH" eval set [ array get env HOME ] set ownmoddir $HOME/privatemodules # create directory if necessary if [ module-info mode load ] { if { ! [ file exists $ownmoddir ] } { file mkdir $ownmoddir set null [open $ownmoddir/null w] puts $null "#%Module########################################################################" puts $null "##" puts $null "## null modulefile" puts $null "##" puts $null "proc ModulesHelp { } {" puts $null " puts stderr \"\tThis module does absolutely nothing.\"" puts $null " puts stderr \"\tIt's meant simply as a place holder in your\"" puts $null " puts stderr \"\tdot file initialization.\"" puts $null "}" puts $null "" puts $null "module-whatis \"does absolutely nothing\"" } } module use --append $ownmoddir