Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mbb
modulefiles
Commits
345a53bd
Commit
345a53bd
authored
Apr 09, 2020
by
remy
Browse files
R-3.6.3
parent
f158932b
Changes
1
Hide whitespace changes
Inline
Side-by-side
envfiles/R/3.6.3
0 → 100644
View file @
345a53bd
#%Module######################################################################
#
# 20200409 R-3.6.3 modulefile
#
proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use R-3.6.3"
puts stderr "The program R-3.6.3"
puts stderr "is added to PATH."
}
set rel [uname release]
global prodlist
set prodlist { singularity/3.5.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.5.3
append-path PE_PRODUCT_LIST R-$R_LEVEL
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment