Difference between revisions of "HPC:GDAL"
From HPC wiki
(Created page with "This page provides instructions for installing GDAL on our HPC system. The instructions below are for v2.2.3 of the GDAL package but should work for the latest version of GDAL...") |
|||
Line 30: | Line 30: | ||
STEP 3: Unpack tarball and install: | STEP 3: Unpack tarball and install: | ||
+ | |||
+ | '''NOTE: The instructions below will install GDAL under $HOME/software; Change the "--prefix" path if you wish to install this package elsewhere.''' | ||
<pre> | <pre> | ||
Line 40: | Line 42: | ||
</pre> | </pre> | ||
+ | === Other Pages === | ||
+ | ---- | ||
+ | <div class="mw-collapsible mw-collapsed"> | ||
+ | *[[HPC:FAQ|HPC FAQ ]] | ||
+ | *[[HPC:Login|Connecting to the PMACS cluster]] | ||
+ | *[[HPC:User_Guide|User Guide]] | ||
+ | *[[HPC:Software|Available Software]] | ||
+ | *[[HPC:Archive System|PMACS Archive System]] | ||
+ | </div> |
Revision as of 16:08, 5 December 2019
This page provides instructions for installing GDAL on our HPC system. The instructions below are for v2.2.3 of the GDAL package but should work for the latest version of GDAL in the 2.x series - v2.4.2 (at the time of writing these instructions). GDAL v2.4.2 that was released the same day as v3.0.1.
STEP 0: Launch an interactive session (ALL PACKAGE INSTALLATION LISTED BELOW MUST BE DONE IN AN INTERACTIVE SESSION)
[asrini@consign ~]$ bsub -Is bash Job <57475473> is submitted to default queue <interactive>. <<Waiting for dispatch ...>> <<Starting on node061.hpc.local>> [asrini@node061 ~]$
STEP 1: Download GDAL source and md5sum files:
wget http://download.osgeo.org/gdal/2.2.3/gdal-2.2.3.tar.gz wget http://download.osgeo.org/gdal/2.2.3/gdal-2.2.3.tar.gz.md5
STEP 2: Check the md5sum
md5sum -c gdal-2.2.3.tar.gz.md5
STEP 3: Unpack tarball and install:
NOTE: The instructions below will install GDAL under $HOME/software; Change the "--prefix" path if you wish to install this package elsewhere.
tar -zxvf gdal-2.2.3.tar.gz cd gdal-2.2.3 ./configure --prefix=$HOME/software make make install