source: issm/trunk-jpl/externalpackages/netcdf/install.sh@ 11101

Last change on this file since 11101 was 11101, checked in by Mathieu Morlighem, 13 years ago

Changing the way externalpackages are installed: one script per version and per platform if necessary. The goal is to make the installation process more userfriendly

File size: 355 bytes
Line 
1#!/bin/bash
2
3#Some cleanup
4rm -rf install netcdf-4.0.1
5mkdir install
6
7#Untar
8tar -zxvf netcdf-4.0.1.tar.gz
9
10#Move netcdf to install directory
11rm -rf install/*
12mv netcdf-4.0.1/* install/
13rm -rf netcdf-4.0.1
14
15#Configure and compile
16cd install
17./configure --prefix="$ISSM_TIER/externalpackages/netcdf/install"
18make -j $NUMCPUS
19make -j $NUMCPUS install
Note: See TracBrowser for help on using the repository browser.