source: issm/trunk/externalpackages/adjoinablempi/install-pleaides.sh

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
RevLine 
[16270]1#!/bin/bash
2set -eu
3
4#Some cleanup
5rm -rf src install
6
[21729]7# Keeping this for potential future use
[16270]8#Mercurial cloning:
[21729]9#hg clone -r 268 http://mercurial.mcs.anl.gov//ad/AdjoinableMPI src
[16270]10
[21729]11#Download from ISSM server
[28013]12$ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/adjoinablempi.tar.gz' 'adjoinablempi.tar.gz'
[21729]13
14#Untar ADOL-C
15tar -zxf adjoinablempi.tar.gz
16
[16270]17#Configure adjoinablempi
18cd 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
26make clean
27if [ $# -eq 0 ]; then
28 make
29else
30 make -j $1
31fi
32make install
Note: See TracBrowser for help on using the repository browser.