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
3983e189
Commit
3983e189
authored
Feb 24, 2020
by
root
Browse files
adding a gdal modulefile for gdal 3.0.4
parent
0846d79f
Changes
2
Hide whitespace changes
Inline
Side-by-side
envfiles/gdal
-
2.1.2
→
envfiles/gdal
/
2.1.2
View file @
3983e189
...
...
@@ -49,4 +49,4 @@ prepend-path PATH $GDAL_CURPATH/bin
prepend-path LD_LIBRARY_PATH $GDAL_CURPATH/lib
setenv GDAL_DATA $GDAL_CURPATH/share/gdal/
append-path PE_PRODUCT_LIST GDAL
append-path PE_PRODUCT_LIST GDAL
.$GDAL_LEVEL
envfiles/gdal/3.0.4
0 → 100644
View file @
3983e189
#%Module######################################################################
#
# 20200224 GDAL 3.0.4 modulefile
#
proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use GDAL 3.0.4"
puts stderr "The program GDAL 3.0.4"
puts stderr "is added to PATH."
}
set rel [uname release]
global prodlist
set prodlist {proj/6.3.1 hdf5/1.10.6-parallel}
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
}
}
}
}
set GDAL_LEVEL 3.0.4
set GDAL_CURPATH /share/apps/bin/gdal/$GDAL_LEVEL/
prepend-path PATH $GDAL_CURPATH/bin
prepend-path LD_LIBRARY_PATH $GDAL_CURPATH/lib
setenv GDAL_DATA $GDAL_CURPATH/share/gdal/
append-path PE_PRODUCT_LIST GDAL.$GDAL_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