Changeset 24610
- Timestamp:
- 02/27/20 12:36:56 (5 years ago)
- Location:
- issm/trunk-jpl/externalpackages
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/adjoinablempi/install.sh
r23435 r24610 2 2 set -eu 3 3 4 #Some cleanup5 rm -rf src install6 4 7 5 # Keeping this for potential future use 8 #Mercurial cloning: 6 #Mercurial cloning: 9 7 #hg clone -r 268 http://mercurial.mcs.anl.gov//ad/AdjoinableMPI src 10 8 11 #Download from ISSM server 12 $ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/adjoinablempi' 'adjoinablempi.tar.gz' 9 # Cleanup 10 rm -rf install src 11 mkdir install src 13 12 14 # Untar ADOL-C15 tar -zxf adjoinablempi.tar.gz 13 # Download source 14 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/adjoinablempi.tar.gz" "adjoinablempi.tar.gz" 16 15 17 #Configure adjoinablempi 16 # Unpack source 17 tar -zxvf adjoinablempi.tar.gz 18 19 # Configure 18 20 cd src 19 21 ./configure \ 20 --prefix="$ ISSM_DIR/externalpackages/adjoinablempi/install" \21 --libdir="$ ISSM_DIR/externalpackages/adjoinablempi/install/lib" \22 --with-mpi-root="$ ISSM_DIR/externalpackages/mpich/install" \22 --prefix="${ISSM_DIR}/externalpackages/adjoinablempi/install" \ 23 --libdir="${ISSM_DIR}/externalpackages/adjoinablempi/install/lib" \ 24 --with-mpi-root="${ISSM_DIR}/externalpackages/mpich/install" \ 23 25 --enable-requestOnTrace 24 26 25 # Compile adjoinablempi27 # Clean 26 28 make clean 29 30 # Compile 27 31 if [ $# -eq 0 ]; then 28 make 32 make 29 33 else 30 34 make -j $1 31 35 fi 36 37 # Install 32 38 make install -
issm/trunk-jpl/externalpackages/adolc/install-withampi.sh
r23435 r24610 1 1 #!/bin/bash 2 2 set -eu 3 4 #Some cleanup 5 rm -rf install src 3 6 4 7 5 # Keeping the following commented line for potential future use. 8 6 #git clone https://gitlab.com/adol-c/adol-c.git src 9 7 10 #Download from ISSM server 11 $ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/ADOL-C' 'ADOL-C.tar.gz' 8 ## Environment 9 # 10 export CFLAGS="-O2 -L${ISSM_DIR}/externalpackages/mpich/install/lib -lmpi" 11 export CXXFLAGS="-O2 -std=c++11 -L${ISSM_DIR}/externalpackages/mpich/install/lib -lmpi" 12 12 13 #Untar ADOL-C 14 tar -zxf ADOL-C.tar.gz 13 # Cleanup 14 rm -rf install src 15 mkdir install src 15 16 16 #Compile ADOL-C 17 export CFLAGS="-O2 -L$ISSM_DIR/externalpackages/mpich/install/lib -lmpi" 18 export CXXFLAGS="-O2 -std=c++11 -L$ISSM_DIR/externalpackages/mpich/install/lib -lmpi" 17 # Download source 18 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/ADOL-C.tar.gz" "ADOL-C.tar.gz" 19 20 # Unpack source 21 tar -zxvf ADOL-C.tar.gz 22 23 # Configure 19 24 cd src 20 ./configure --prefix=$ISSM_DIR/externalpackages/adolc/install \ 21 --libdir=$ISSM_DIR/externalpackages/adolc/install/lib \ 22 --with-mpi-root=$ISSM_DIR/externalpackages/mpich/install \ 25 ./configure \ 26 --prefix=${ISSM_DIR}/externalpackages/adolc/install \ 27 --libdir=${ISSM_DIR}/externalpackages/adolc/install/lib \ 28 --with-mpi-root=${ISSM_DIR}/externalpackages/mpich/install \ 23 29 --enable-ampi \ 24 --with-ampi=$ ISSM_DIR/externalpackages/adjoinablempi/install \30 --with-ampi=${ISSM_DIR}/externalpackages/adjoinablempi/install \ 25 31 --with-soname=adolc \ 26 32 --disable-tapedoc-values 27 33 34 # Clean 28 35 make clean 36 37 # Compile 29 38 if [ $# -eq 0 ]; then 30 39 make V=1 … … 32 41 make -j $1 V=1 33 42 fi 43 44 # Install 34 45 make V=1 install -
issm/trunk-jpl/externalpackages/petsc/install-3.7-linux.sh
r24526 r24610 11 11 12 12 # Unpack source 13 tar -zxvf 13 tar -zxvf petsc-$VER.tar.gz 14 14 15 15 # Cleanup … … 53 53 make -j $1 install 54 54 fi 55 56 # Return to initial directory57 cd ..
Note:
See TracChangeset
for help on using the changeset viewer.