Commit 803b59df authored by remy's avatar remy
Browse files

Merge branch 'master' of gitlab.mbb.univ-montp2.fr:mbb/modulefiles

parents 65ab3188 1dff23c5
#%Module######################################################################
#
# 20210520 R-3.5.3 updated modulefile
#
proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use R-3.5.3"
puts stderr "The program R-3.5.3"
puts stderr "is added to PATH."
}
set rel [uname release]
global prodlist
set prodlist { singularity/3.7.3 }
set is_module_rm [module-info mode remove]
catch {set modulehomes $env(MODULEPATH)}
if { [ module-info mode load ] } {
foreach prod $prodlist {
foreach mfilehome [ split $modulehomes :] {
if { [file exists $mfilehome/$prod] } {
module load $prod
}
}
}
}
if { [ module-info mode remove ] } {
foreach prod $prodlist {
foreach mfilehome [ split $modulehomes :] {
if { [file exists $mfilehome/$prod] } {
module unload $prod
unset-alias R
unset-alias Rscript
}
}
}
}
set R_LEVEL 3.5.3
# aliases not passing through SGE. Would need to source a file...
prepend-path PATH /share/apps/sing-images/3.7.3
append-path PE_PRODUCT_LIST R-$R_LEVEL
#%Module######################################################################
#
# 20210413 R-4.0.5 modulefile
#
proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use R-4.0.5"
puts stderr "The program R-4.0.5"
puts stderr "is added to PATH."
}
set rel [uname release]
global prodlist
set prodlist { singularity/3.7.3 }
set is_module_rm [module-info mode remove]
catch {set modulehomes $env(MODULEPATH)}
if { [ module-info mode load ] } {
foreach prod $prodlist {
foreach mfilehome [ split $modulehomes :] {
if { [file exists $mfilehome/$prod] } {
module load $prod
}
}
}
}
if { [ module-info mode remove ] } {
foreach prod $prodlist {
foreach mfilehome [ split $modulehomes :] {
if { [file exists $mfilehome/$prod] } {
module unload $prod
unset-alias R
unset-alias Rscript
}
}
}
}
set R_LEVEL 4.0.5
# aliases not passing through SGE. Would need to source a file...
prepend-path PATH /share/apps/sing-images/3.7.3
append-path PE_PRODUCT_LIST R-$R_LEVEL
#%Module######################################################################
#
# golang 1.14 20210412
#
proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use Go (golang) version 1.14"
puts stderr "Please adjust your GOPATH because Go checker does not"
puts stderr "like the tilde character '~'"
puts stderr "The program Go 1.14"
puts stderr "is added to PATH."
}
set is_module_rm [module-info mode remove]
unsetenv LD_LIBRARY_PATH
set GO_LEVEL 1.14
#set GO_SUBLVL 1
set GO_CURPATH /share/apps/bin/golang/$GO_LEVEL/go
set userhome $env(HOME)
prepend-path PATH $GO_CURPATH/bin/
prepend-path LD_LIBRARY_PATH $GO_CURPATH/lib/
prepend-path MANPATH $GO_CURPATH/share/man
setenv GOPATH $userhome/go
setenv GOROOT $GO_CURPATH
setenv GO111MODULE off
append-path PE_PRODUCT_LIST Golang.$GO_LEVEL
#%Module######################################################################
#
# golang 1.16.3 20210412
#
proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use Go (golang) version 1.16.3"
puts stderr "Please adjust your GOPATH because Go checker does not"
puts stderr "like the tilde character '~'"
puts stderr "The program Go 1.16.3"
puts stderr "is added to PATH."
}
set is_module_rm [module-info mode remove]
unsetenv LD_LIBRARY_PATH
set GO_LEVEL 1.16
set GO_SUBLVL 3
set GO_CURPATH /share/apps/bin/golang/$GO_LEVEL.$GO_SUBLVL/go
set userhome $env(HOME)
prepend-path PATH $GO_CURPATH/bin/
prepend-path LD_LIBRARY_PATH $GO_CURPATH/lib/
prepend-path MANPATH $GO_CURPATH/share/man
setenv GOPATH $userhome/go
setenv GOROOT $GO_CURPATH
setenv GO111MODULE off
append-path PE_PRODUCT_LIST Golang.$GO_LEVEL.$GO_SUBLVL
#%Module######################################################################
#
# 20210412 singularity 3.7.3 modulefile
#
proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use singularity 3.7.3"
puts stderr "The program singularity 3.7.3"
puts stderr "is added to PATH."
}
set is_module_rm [module-info mode remove]
unsetenv LD_LIBRARY_PATH
set SING_LEVEL 3.7.3
set SING_CURPATH /share/apps/bin/singularity/$SING_LEVEL/
set SING_IMG /share/apps/sing-images/$SING_LEVEL/
prepend-path PATH $SING_CURPATH/bin/
prepend-path PATH $SING_IMG
prepend-path LD_LIBRARY_PATH $SING_CURPATH/lib/
prepend-path MANPATH $SING_CURPATH/share/man
append-path PE_PRODUCT_LIST Singularity.$SING_LEVEL
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment