Last change
on this file was 28013, checked in by Mathieu Morlighem, 17 months ago |
merged trunk-jpl and trunk for revision 28011
|
-
Property svn:executable
set to
*
|
File size:
743 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | set -eu
|
---|
3 |
|
---|
4 | #Some cleanup
|
---|
5 | rm -rf src install
|
---|
6 |
|
---|
7 | # Keeping this for potential future use
|
---|
8 | #Mercurial cloning:
|
---|
9 | #hg clone -r 268 http://mercurial.mcs.anl.gov//ad/AdjoinableMPI src
|
---|
10 |
|
---|
11 | #Download from ISSM server
|
---|
12 | $ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/adjoinablempi.tar.gz' 'adjoinablempi.tar.gz'
|
---|
13 |
|
---|
14 | #Untar ADOL-C
|
---|
15 | tar -zxf adjoinablempi.tar.gz
|
---|
16 |
|
---|
17 | #Configure adjoinablempi
|
---|
18 | cd src
|
---|
19 | ./configure \
|
---|
20 | --prefix="$ISSM_DIR/externalpackages/adjoinablempi/install" \
|
---|
21 | --libdir="$ISSM_DIR/externalpackages/adjoinablempi/install/lib" \
|
---|
22 | --with-mpi-root="/nasa/sgi/mpt/2.06rp16/" \
|
---|
23 | --enable-requestOnTrace
|
---|
24 |
|
---|
25 | #Compile adjoinablempi
|
---|
26 | make clean
|
---|
27 | if [ $# -eq 0 ]; then
|
---|
28 | make
|
---|
29 | else
|
---|
30 | make -j $1
|
---|
31 | fi
|
---|
32 | make install
|
---|
Note:
See
TracBrowser
for help on using the repository browser.