Last change
on this file since 16560 was 16560, checked in by Mathieu Morlighem, 11 years ago |
merged trunk-jpl and trunk for revision 16554
|
-
Property svn:executable
set to
*
|
File size:
498 bytes
|
Rev | Line | |
---|
[16270] | 1 | #!/bin/bash
|
---|
| 2 | set -eu
|
---|
| 3 |
|
---|
| 4 | #Some cleanup
|
---|
| 5 | rm -rf src install
|
---|
| 6 |
|
---|
| 7 | #Mercurial cloning:
|
---|
| 8 | hg clone http://mercurial.mcs.anl.gov//ad/AdjoinableMPI src
|
---|
| 9 |
|
---|
| 10 | #Configure adjoinablempi
|
---|
| 11 | cd src
|
---|
| 12 | autoreconf -fi
|
---|
| 13 |
|
---|
| 14 | ./configure \
|
---|
| 15 | --prefix="$ISSM_DIR/externalpackages/adjoinablempi/install" \
|
---|
| 16 | --libdir="$ISSM_DIR/externalpackages/adjoinablempi/install/lib" \
|
---|
| 17 | --with-mpi-root="/nasa/sgi/mpt/2.06rp16/" \
|
---|
| 18 | --enable-requestOnTrace
|
---|
| 19 |
|
---|
| 20 | #Compile adjoinablempi
|
---|
| 21 | make clean
|
---|
| 22 | if [ $# -eq 0 ]; then
|
---|
| 23 | make
|
---|
| 24 | else
|
---|
| 25 | make -j $1
|
---|
| 26 | fi
|
---|
| 27 | make install
|
---|
Note:
See
TracBrowser
for help on using the repository browser.