Changeset 24328


Ignore:
Timestamp:
11/14/19 08:37:13 (5 years ago)
Author:
jdquinn
Message:

CHG: Working towards Mac and Linux configurations that more closely reflect one another; updated MPICH and PETSc versions; working on Linux Solid Earth build (still need to resolve tests with set faults, likely due to lack of support for PROJ vs PROJ4).

Location:
issm/trunk-jpl
Files:
8 added
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/etc/environment.sh

    r24321 r24328  
    190190        path_prepend    "$MPI_DIR/bin"
    191191        ld_library_path_prepend "$MPI_DIR/lib"
     192fi
     193
     194LAPACK_DIR="${ISSM_DIR}/externalpackages/lapack/install"
     195if [ -d "$LAPACK_DIR" ]; then
     196        ld_library_path_append "$LAPACK_DIR/lib"
    192197fi
    193198
  • issm/trunk-jpl/jenkins/linux64_ross

    r24325 r24328  
    1212        --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9 -lgfortran" \
    1313        --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include  \
    14         --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/mpich/install/lib -lmpi" \
     14        --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \
     15        --with-blas-lapack-dir=$ISSM_DIR/externalpackages/lapack/install \
    1516        --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
    16         --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \
    1717        --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \
    1818        --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \
     
    4141        autotools       install.sh
    4242        cmake           install.sh
    43         mpich           install-3.2-linux64.sh
    44         petsc           install-3.7-linux64.sh
     43        mpich           install-3.3.sh
     44        lapack          install-3.8.sh
     45        petsc           install-3.11-Linux.sh
    4546        triangle        install-linux64.sh
    4647        chaco           install.sh
    4748        m1qn3           install.sh
    48         hdf5            install-1.10.sh
    49         netcdf          install-4.7.sh
    5049        semic           install.sh
    5150        shell2junit     install.sh
     
    5655#-----------------#
    5756
    58 # Number of CPUs used in ISSM compilation
    59 #
    60 # NOTE: One is usually safer as some packages are very sensitive to parallel
    61 #       compilation.
    62 #
    63 NUMCPUS_INSTALL=10
     57#number of cpus used in ISSM installation and compilation (one is usually
     58#safer as some packages are very sensitive to parallel compilation)
     59NUMCPUS_INSTALL=8
    6460
    6561#number of cpus used in the nightly runs.
    66 NUMCPUS_RUN=5
     62NUMCPUS_RUN=8
    6763
    6864#Nightly run options. The matlab routine runme.m will be called
  • issm/trunk-jpl/jenkins/linux64_ross_se

    r24327 r24328  
    1616        --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \
    1717        --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \
     18        --with-blas-lapack-dir=$ISSM_DIR/externalpackages/lapack/install \
    1819        --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
    19         --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \
    20         --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
    2120        --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \
    2221        --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \
     22        --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
    2323        --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
    2424        --with-boost-dir=$ISSM_DIR/externalpackages/boost/install \
     
    4242        autotools       install.sh
    4343        cmake           install.sh
    44         mpich           install-3.2-linux64.sh
    45         petsc           install-3.7-linux64.sh
     44        mpich           install-3.3.sh
     45        lapack          install-3.8.sh
     46        petsc           install-3.11-Linux.sh
    4647        triangle        install-linux64.sh
     48        chaco           install.sh
     49        m1qn3           install.sh
     50        semic           install.sh
    4751        boost           install-1.55-linux.sh
    48         hdf5            install-1.10.sh
    49         netcdf          install-4.7.sh
    5052        proj            install-6.2.sh
    5153        gdal            install-3.0-netcdf.sh
    5254        gshhg           install.sh
    53         gmt                     install.sh
     55        gmt                     install-6.0-Linux.sh
    5456        gmsh            install.sh
    5557        shell2junit     install.sh
     
    6567#       compilation.
    6668#
    67 NUMCPUS_INSTALL=10
     69NUMCPUS_INSTALL=8
    6870
    6971#number of cpus used in the nightly runs. (pb of access to all_vertices.txt if more than 1)
    70 NUMCPUS_RUN=5
     72NUMCPUS_RUN=8
    7173
    7274#Nightly run options. The matlab routine runme.m will be called
  • issm/trunk-jpl/m4/issm_options.m4

    r24311 r24328  
    14921492        if test "x$HAVE_BLASLAPACK" == "xyes"; then
    14931493                BLASLAPACKINCL=""
    1494                 dnl: branch on whether we are running on windows or linux.
    14951494                case "${host_os}" in
    14961495                *cygwin*)
     
    14981497                  ;;
    14991498                *linux*)
    1500                                 BLASLAPACKLIB=-L"$BLASLAPACK_ROOT/lib -lflapack -lfblas "
    1501                 #BLASLAPACKLIB=-L"$BLASLAPACK_ROOT/lib -llapack -lblas "
    1502                   ;;
     1499                        BLASLAPACKLIB="-L${BLASLAPACK_ROOT}/lib"
     1500                        if "x${BLASLAPACK_ROOT}" == "x${PETSC_ROOT}"; then
     1501                                BLASLAPACKLIB+=" -lflapack -lfblas"
     1502                        else
     1503                                BLASLAPACKLIB+=" -llapack -lblas"
     1504                        fi
     1505                ;;
    15031506                *darwin*)
    1504                   BLASLAPACKLIB=-L"$BLASLAPACK_ROOT/lib -lflapack -lfblas "
    1505                   ;;
     1507                        BLASLAPACKLIB="-L${BLASLAPACK_ROOT}/lib"
     1508                        if "x${BLASLAPACK_ROOT}" == "x${PETSC_ROOT}"; then
     1509                                BLASLAPACKLIB+=" -lflapack -lfblas"
     1510                        else
     1511                                BLASLAPACKLIB+=" -llapack -lblas"
     1512                        fi
     1513                ;;
    15061514                esac
    15071515                AC_DEFINE([_HAVE_BLASLAPACK_],[1],[with blas lapack in ISSM src])
Note: See TracChangeset for help on using the changeset viewer.