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