Difference between revisions of "HPC:GDAL"

From HPC wiki
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
== GDAL Installation ==
 
== GDAL Installation ==
=== STEP 0 ===
+
----
Launch an interactive session ('''ALL PACKAGE INSTALLATION LISTED BELOW MUST BE DONE IN AN INTERACTIVE SESSION''')
+
<div class="mw-collapsible mw-collapsed">
 +
STEP 0: Launch an interactive session
 +
 
 +
 
 +
'''ALL PACKAGE INSTALLATION LISTED BELOW MUST BE DONE IN AN INTERACTIVE SESSION'''
  
 
<pre>
 
<pre>
Line 15: Line 19:
 
</pre>
 
</pre>
  
=== STEP 1 Download GDAL source and md5sum files ===
+
STEP 1: Download GDAL source and md5sum files
  
 
<pre>
 
<pre>
Line 24: Line 28:
 
</pre>
 
</pre>
  
=== STEP 2: Check the md5sum ===
+
STEP 2: Check the md5sum
 
<pre>
 
<pre>
  
Line 31: Line 35:
 
</pre>
 
</pre>
  
=== 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.'''
 
'''NOTE: The instructions below will install GDAL under $HOME/software; Change the "--prefix" path if you wish to install this package elsewhere.'''
Line 44: Line 48:
  
 
</pre>
 
</pre>
 +
</div>
  
 
== r-gdal package installation ==
 
== r-gdal package installation ==
Line 49: Line 54:
 
See [[HPC:R#r-gdal|this]] page for r-gdal installation instructions.
 
See [[HPC:R#r-gdal|this]] page for r-gdal installation instructions.
  
To install r-gdal, you must first install GDAL (see instructions [[HPC:GDAL|above]] ) and [[HPC:PROJ.4|Proj.4]]
+
== monocle3 package installation ==
 
 
After installing both GDAL and PROJ.4, you can then install r-gdal with the following steps:
 
 
 
  
 +
See [[HPC:R#monocle3|this]] page for monocle3 installation instructions.
  
 
== Other Pages ==
 
== Other Pages ==

Latest revision as of 16:26, 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 Installation


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

r-gdal package installation

See this page for r-gdal installation instructions.

monocle3 package installation

See this page for monocle3 installation instructions.

Other Pages