Changeset 23208


Ignore:
Timestamp:
09/03/18 20:30:58 (7 years ago)
Author:
jdquinn
Message:

CHG: Configuration for Linux Ubuntu Binaries that links static MPICH libs.

Location:
issm/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/mpich/install-3.2-linux64.sh

    r21729 r23208  
    99$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/mpich-3.2.tar.gz' 'mpich-3.2.tar.gz'
    1010
    11 #Untar 
     11#Untar
    1212tar -zxvf  mpich-3.2.tar.gz
    1313
     
    2020./configure \
    2121        --prefix="$ISSM_DIR/externalpackages/mpich/install" \
    22         --enable-shared
     22        --disable-shared \
     23        --enable-strict=all \
     24        --with-pic
    2325
    24 #Compile mpich (this new version supports parallel make)
    25 if [ $# -eq 0 ]; then
    26         make
    27 else
    28         make -j $1
    29 fi
    30 make install
     26# #Compile mpich (this new version supports parallel make)
     27# if [ $# -eq 0 ]; then
     28#       make
     29# else
     30#       make -j $1
     31# fi
     32
     33#Compile MPICH with one thread
     34make
     35
     36make install
     37
  • issm/trunk/jenkins/linux64_ross_static

    r23202 r23208  
    99#ISSM CONFIGURATION
    1010ISSM_CONFIG='--prefix=$ISSM_DIR \
    11         --disable-shared \
    12         --enable-standalone-executables \
    13         --enable-standalone-libraries \
    14         --enable-standalone-modules \
    1511        --with-matlab-dir=$MATLAB_PATH \
    1612        --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
    1713        --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include  \
    18         --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib/libmpi.a -L$ISSM_DIR/externalpackages/mpich/install/lib/libmpifort.a" \
    19         --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
     14        --with-mpi-libflags="$ISSM_DIR/externalpackages/mpich/install/lib/libmpifort.a $ISSM_DIR/externalpackages/mpich/install/lib/libmpi.a -lrt -lpthread" \
     15        --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install  \
    2016        --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \
    2117        --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \
     
    2420        --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \
    2521        --with-math77-dir=$ISSM_DIR/externalpackages/math77/install \
    26         --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9/libgfortran.a" \
    27         --with-numthreads=4 \
    28         CXXFLAGS="-O2 -static" \
    29         CFLAGS="-O2 -static"'
     22        --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9 -lgfortran"
     23        --with-pic'
    3024
    3125#PYTHON and MATLAB testing
     
    5448#number of cpus used in ISSM installation and compilation (one is usually
    5549#safer as some packages are very sensitive to parallel compilation)
    56 NUMCPUS_INSTALL=4
     50NUMCPUS_INSTALL=1
    5751
    5852#number of cpus used in the nightly runs.
    59 NUMCPUS_RUN=2
     53NUMCPUS_RUN=1
    6054
    6155#Nightly run options. The matlab routine runme.m will be called
Note: See TracChangeset for help on using the changeset viewer.