Last change
on this file since 18406 was 18406, checked in by glperez, 11 years ago |
CHG: Fixed issue with new MPICH static install script and modified OSX64 install script.
|
-
Property svn:executable
set to
*
|
File size:
570 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | set -eu
|
---|
3 |
|
---|
4 | #Some cleanup
|
---|
5 | rm -rf src install mpich-3.0.4
|
---|
6 | mkdir src install
|
---|
7 |
|
---|
8 | #Download from ISSM server
|
---|
9 | $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/mpich-3.0.4.tar.gz' 'mpich-3.0.4.tar.gz'
|
---|
10 |
|
---|
11 | #Untar
|
---|
12 | tar -zxvf mpich-3.0.4.tar.gz
|
---|
13 |
|
---|
14 | #Move mpich into src directory
|
---|
15 | mv mpich-3.0.4/* src
|
---|
16 | rm -rf mpich-3.0.4
|
---|
17 |
|
---|
18 | #Configure mpich
|
---|
19 | cd src
|
---|
20 | ./configure \
|
---|
21 | --prefix="$ISSM_DIR/externalpackages/mpich/install"
|
---|
22 |
|
---|
23 | #Compile mpich (this new version supports parallel make)
|
---|
24 | if [ $# -eq 0 ]; then
|
---|
25 | make
|
---|
26 | else
|
---|
27 | make -j $1
|
---|
28 | fi
|
---|
29 | make install
|
---|
Note:
See
TracBrowser
for help on using the repository browser.