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
1dff23c5
Commit
1dff23c5
authored
May 20, 2021
by
remy
Browse files
adding R modulefile for a new version of 3.5.3
parent
039bd0a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
envfiles/R/3.5.3.modified
0 → 100644
View file @
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
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