diff --git a/envfiles/R/3.5.3.modified b/envfiles/R/3.5.3.modified new file mode 100644 index 0000000000000000000000000000000000000000..b12673a1a4b413c9048efa6841b13dce060abe7f --- /dev/null +++ b/envfiles/R/3.5.3.modified @@ -0,0 +1,49 @@ +#%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 diff --git a/envfiles/R/4.0.5 b/envfiles/R/4.0.5 new file mode 100644 index 0000000000000000000000000000000000000000..d5faf86782b792e54f319319bd14ab1dc9d085dc --- /dev/null +++ b/envfiles/R/4.0.5 @@ -0,0 +1,49 @@ +#%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 diff --git a/envfiles/golang/1.14 b/envfiles/golang/1.14 new file mode 100644 index 0000000000000000000000000000000000000000..ee4caec5d3e4dcb5c27c15b669f284cda5d6a5b3 --- /dev/null +++ b/envfiles/golang/1.14 @@ -0,0 +1,31 @@ +#%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 diff --git a/envfiles/golang/1.16.3 b/envfiles/golang/1.16.3 new file mode 100644 index 0000000000000000000000000000000000000000..09b1519df6508907c6a22b789031572e6f4d0443 --- /dev/null +++ b/envfiles/golang/1.16.3 @@ -0,0 +1,31 @@ +#%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 diff --git a/envfiles/singularity/3.7.3 b/envfiles/singularity/3.7.3 new file mode 100644 index 0000000000000000000000000000000000000000..7d8fd5e44645630445fdd932f9ac7dbd9c40435c --- /dev/null +++ b/envfiles/singularity/3.7.3 @@ -0,0 +1,25 @@ +#%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