Index: ../trunk-jpl/externalpackages/mpich/install-3.0-macosx64-elcapitan.sh =================================================================== --- ../trunk-jpl/externalpackages/mpich/install-3.0-macosx64-elcapitan.sh (revision 0) +++ ../trunk-jpl/externalpackages/mpich/install-3.0-macosx64-elcapitan.sh (revision 19784) @@ -0,0 +1,38 @@ +# One way to avoid firewall and host-name issues on El Capitan is +# to use gforker, instead of default hydra, process manager. +# Note that gforker will only work with a single-node configuration. +# https://www.mpich.org/static/downloads/3.0.4/mpich-3.0.4-installguide.pdf + +#!/bin/bash +set -eu + +#Some cleanup +rm -rf src install mpich-3.0.4 +mkdir src install + +#Download from ISSM server +$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/mpich-3.0.4.tar.gz' 'mpich-3.0.4.tar.gz' + +#Untar +tar -zxvf mpich-3.0.4.tar.gz + +#Move mpich into src directory +mv mpich-3.0.4/* src +rm -rf mpich-3.0.4 + +#Configure mpich +cd src +./configure \ + --prefix="$ISSM_DIR/externalpackages/mpich/install" \ + --enable-shared \ + --with-pm=gforker + + #CC=llvm-gcc \ + +#Compile mpich (this new version supports parallel make) +if [ $# -eq 0 ]; then + make +else + make -j $1 +fi +make install Property changes on: ../trunk-jpl/externalpackages/mpich/install-3.0-macosx64-elcapitan.sh ___________________________________________________________________ Added: svn:executable + *