Commit 1dff23c5 authored by remy's avatar remy
Browse files

adding R modulefile for a new version of 3.5.3

parent 039bd0a7
#%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
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