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