source:
issm/oecreview/Archive/19101-20495/ISSM-19783-19784.diff@
20498
Last change on this file since 20498 was 20498, checked in by , 9 years ago | |
---|---|
File size: 1.4 KB |
-
../trunk-jpl/externalpackages/mpich/install-3.0-macosx64-elcapitan.sh
1 # One way to avoid firewall and host-name issues on El Capitan is 2 # to use gforker, instead of default hydra, process manager. 3 # Note that gforker will only work with a single-node configuration. 4 # https://www.mpich.org/static/downloads/3.0.4/mpich-3.0.4-installguide.pdf 5 6 #!/bin/bash 7 set -eu 8 9 #Some cleanup 10 rm -rf src install mpich-3.0.4 11 mkdir src install 12 13 #Download from ISSM server 14 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/mpich-3.0.4.tar.gz' 'mpich-3.0.4.tar.gz' 15 16 #Untar 17 tar -zxvf mpich-3.0.4.tar.gz 18 19 #Move mpich into src directory 20 mv mpich-3.0.4/* src 21 rm -rf mpich-3.0.4 22 23 #Configure mpich 24 cd src 25 ./configure \ 26 --prefix="$ISSM_DIR/externalpackages/mpich/install" \ 27 --enable-shared \ 28 --with-pm=gforker 29 30 #CC=llvm-gcc \ 31 32 #Compile mpich (this new version supports parallel make) 33 if [ $# -eq 0 ]; then 34 make 35 else 36 make -j $1 37 fi 38 make install
Note:
See TracBrowser
for help on using the repository browser.