Changeset 28197
- Timestamp:
- 04/03/24 11:07:25 (12 months ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 5 added
- 12 deleted
- 54 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/etc/environment.sh
r28161 r28197 300 300 MPI_ROOT_TEMP="${ISSM_EXT_DIR}/mpich/install" 301 301 if [ -d "${MPI_ROOT_TEMP}" ]; then 302 export MPI_ROOT=${MPI_ROOT_TEMP} 302 303 export MPI_DIR=${MPI_ROOT_TEMP} 303 304 export MPI_HOME=${MPI_ROOT_TEMP} # Used in installation of Dakota … … 441 442 # MPICH 442 443 if [ -f "${PETSC_ROOT}/bin/mpiexec" ]; then 443 MPI_ROOT=${PETSC_ROOT}444 export MPI_ROOT=${PETSC_ROOT} 444 445 export MPI_DIR=${MPI_ROOT} 445 446 export MPI_HOME=${MPI_ROOT} # Used in installation of Dakota -
issm/trunk-jpl/externalpackages/curl/install-7-linux-static.sh
r27153 r28197 38 38 --without-nghttp2 \ 39 39 --without-brotli \ 40 --without-librtmp 40 --without-librtmp \ 41 --without-ssl 41 42 42 43 # Compile and install -
issm/trunk-jpl/externalpackages/curl/install-7-linux.sh
r25868 r28197 31 31 --disable-manual \ 32 32 --disable-verbose \ 33 --with-zlib="${ZLIB_ROOT}" 33 --with-zlib="${ZLIB_ROOT}" \ 34 --without-ssl 34 35 35 36 # Compile and install -
issm/trunk-jpl/externalpackages/curl/install-7-mac-static.sh
r27153 r28197 43 43 --without-brotli \ 44 44 --without-librtmp \ 45 --with -secure-transport45 --without-ssl 46 46 47 47 # Compile and install -
issm/trunk-jpl/externalpackages/curl/install-7-mac.sh
r25868 r28197 36 36 --disable-verbose \ 37 37 --with-zlib="${ZLIB_ROOT}" \ 38 --with -secure-transport38 --without-ssl 39 39 40 40 # Compile and install -
issm/trunk-jpl/externalpackages/gdal/install-3-python-static.sh
r27699 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 4 … … 9 9 ## Constants 10 10 # 11 VER="3.5.3" 11 VER="3.8.4" 12 13 PREFIX="${ISSM_DIR}/externalpackages/gdal/install" 12 14 13 15 ## Environment 14 16 # 15 export CC=mpicc 16 export CXXFLAGS="-std=c++11" 17 export CXX=mpicxx 18 export LIBS="-lsqlite3 -lhdf5_hl -lhdf5" 19 export PREFIX="${ISSM_DIR}/externalpackages/gdal/install" # Need this to properly set destination root for Python libraries on macOS (should not affect Linux build; do not need for this configuration, but including it for consistency) 17 export CFLAGS="${CFLAGS} -w" 18 export CXXFLAGS="${CXXFLAGS} -w" 20 19 21 20 # Cleanup … … 24 23 25 24 # Download source 26 $ ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/gdal-${VER}.tar.gz" "gdal-${VER}.tar.gz"25 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/gdal-${VER}.tar.gz" "gdal-${VER}.tar.gz" 27 26 28 27 # Unpack source … … 35 34 # Configure 36 35 cd src 37 ./configure \ 38 --prefix="${PREFIX}" \ 39 --enable-fast-install \ 40 --disable-shared \ 41 --without-ld-shared \ 42 --enable-static \ 43 --with-pic \ 44 --with-python="python3" \ 45 --with-curl="${CURL_ROOT}/bin/curl-config" \ 46 --with-hdf5="${HDF5_ROOT}" \ 47 --with-jpeg=internal \ 48 --with-libz="${ZLIB_ROOT}" \ 49 --with-netcdf="${NETCDF_ROOT}" \ 50 --with-pcre=no \ 51 --with-pg=no \ 52 --with-png=internal \ 53 --with-proj="${PROJ_ROOT}" \ 54 --with-zstd=no 36 cmake \ 37 -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ 38 -DCMAKE_BUILD_TYPE=Release \ 39 -DCMAKE_C_COMPILER=mpicc \ 40 -DCMAKE_CXX_COMPILER=mpicxx \ 41 -DBUILD_SHARED_LIBS=OFF \ 42 -DBUILD_PYTHON_BINDINGS=ON \ 43 -DGDAL_SET_INSTALL_RELATIVE_RPATH=ON \ 44 -DCURL_INCLUDE_DIR="${CURL_ROOT}/include" \ 45 -DCURL_LIBRARY_RELEASE="${CURL_ROOT}/lib/libcurl.a" \ 46 -DCURL_USE_STATIC_LIBS=ON \ 47 -DGDAL_USE_JPEG_INTERNAL=ON \ 48 -DGDAL_USE_JPEG12_INTERNAL=ON \ 49 -DNETCDF_INCLUDE_DIR="${NETCDF_ROOT}/include" \ 50 -DNETCDF_LIBRARY="${NETCDF_ROOT}/lib/libnetcdf.a" \ 51 -DGDAL_USE_OPENJPEG=OFF \ 52 -DGDAL_USE_OPENSSL=OFF \ 53 -DGDAL_USE_PNG_INTERNAL=ON \ 54 -DPROJ_INCLUDE_DIR="${PROJ_ROOT}/include" \ 55 -DPROJ_LIBRARY_RELEASE="${PROJ_ROOT}/lib/libproj.a" \ 56 -DGDAL_USE_TIFF_INTERNAL=ON \ 57 -DZLIB_INCLUDE_DIR="${ZLIB_ROOT}/include" \ 58 -DZLIB_LIBRARY_RELEASE="${ZLIB_ROOT}/lib/libz.a" \ 59 -DZLIB_IS_STATIC=ON \ 60 -DGDAL_USE_ZSTD=OFF 55 61 56 62 # Compile and install -
issm/trunk-jpl/externalpackages/gdal/install-3-python.sh
r27699 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 4 … … 9 9 ## Constants 10 10 # 11 VER="3.5.3" 11 VER="3.8.4" 12 13 PREFIX="${ISSM_DIR}/externalpackages/gdal/install" 12 14 13 15 ## Environment 14 16 # 15 export PREFIX="${ISSM_DIR}/externalpackages/gdal/install" # NOTE: Need to export this to properly set destination root for Python libraries on macOS (should not affect Linux build). Set to location where external package should be installed. 17 export CFLAGS="${CFLAGS} -w" 18 export CXXFLAGS="${CXXFLAGS} -w" 16 19 17 20 # Cleanup … … 20 23 21 24 # Download source 22 $ ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/gdal-${VER}.tar.gz" "gdal-${VER}.tar.gz"25 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/gdal-${VER}.tar.gz" "gdal-${VER}.tar.gz" 23 26 24 27 # Unpack source … … 31 34 # Configure 32 35 cd src 33 ./configure \ 34 --prefix="${PREFIX}" \ 35 --enable-fast-install \ 36 --with-python="python3" \ 37 --with-curl="${CURL_ROOT}/bin/curl-config" \ 38 --with-hdf5="${HDF5_ROOT}" \ 39 --with-libz="${ZLIB_ROOT}" \ 40 --with-netcdf="${NETCDF_ROOT}" \ 41 --with-proj="${PROJ_ROOT}" 36 cmake \ 37 -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ 38 -DCMAKE_BUILD_TYPE=Release \ 39 -DCMAKE_C_COMPILER=mpicc \ 40 -DCMAKE_CXX_COMPILER=mpicxx \ 41 -DBUILD_SHARED_LIBS=ON \ 42 -DBUILD_PYTHON_BINDINGS=ON \ 43 -DGDAL_SET_INSTALL_RELATIVE_RPATH=ON \ 44 -DCURL_INCLUDE_DIR="${CURL_ROOT}/include" \ 45 -DCURL_LIBRARY_RELEASE="-L${CURL_ROOT}/lib -lcurl" \ 46 -DGDAL_USE_JPEG_INTERNAL=ON \ 47 -DGDAL_USE_JPEG12_INTERNAL=ON \ 48 -DNETCDF_INCLUDE_DIR="${NETCDF_ROOT}/include" \ 49 -DNETCDF_LIBRARY="-L${NETCDF_ROOT}/lib -lnetcdf" \ 50 -DGDAL_USE_OPENJPEG=OFF \ 51 -DGDAL_USE_OPENSSL=OFF \ 52 -DGDAL_USE_PNG_INTERNAL=ON \ 53 -DPROJ_INCLUDE_DIR="${PROJ_ROOT}/include" \ 54 -DPROJ_LIBRARY_RELEASE="-L${PROJ_ROOT}/lib -lproj" \ 55 -DGDAL_USE_TIFF_INTERNAL=ON \ 56 -DZLIB_INCLUDE_DIR="${ZLIB_ROOT}/include" \ 57 -DZLIB_LIBRARY_RELEASE="-L${ZLIB_ROOT}/lib -lz" \ 58 -DGDAL_USE_ZSTD=OFF 42 59 43 60 # Compile and install -
issm/trunk-jpl/externalpackages/gdal/install-3-static.sh
r27699 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 4 … … 9 9 ## Constants 10 10 # 11 VER="3.5.3" 11 VER="3.8.4" 12 13 PREFIX="${ISSM_DIR}/externalpackages/gdal/install" 12 14 13 15 ## Environment 14 16 # 15 export CC=mpicc 16 export CXXFLAGS="-std=c++11" 17 export CXX=mpicxx 18 export LIBS="-lsqlite3 -lhdf5_hl -lhdf5" 19 export PREFIX="${ISSM_DIR}/externalpackages/gdal/install" # NOTE: Need to export this to properly set destination root for Python libraries on macOS (should not affect Linux build). Set to location where external package should be installed. 17 export CFLAGS="${CFLAGS} -w" 18 export CXXFLAGS="${CXXFLAGS} -w" 20 19 21 20 # Cleanup … … 24 23 25 24 # Download source 26 $ ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/gdal-${VER}.tar.gz" "gdal-${VER}.tar.gz"25 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/gdal-${VER}.tar.gz" "gdal-${VER}.tar.gz" 27 26 28 27 # Unpack source … … 35 34 # Configure 36 35 cd src 37 ./configure \ 38 --prefix="${PREFIX}" \ 39 --enable-fast-install \ 40 --disable-shared \ 41 --without-ld-shared \ 42 --enable-static \ 43 --with-pic \ 44 --with-curl="${CURL_ROOT}/bin/curl-config" \ 45 --with-hdf5="${HDF5_ROOT}" \ 46 --with-jpeg=internal \ 47 --with-libz="${ZLIB_ROOT}" \ 48 --with-netcdf="${NETCDF_ROOT}" \ 49 --with-pcre=no \ 50 --with-pg=no \ 51 --with-png=internal \ 52 --with-proj="${PROJ_ROOT}" \ 53 --with-zstd=no 36 cmake \ 37 -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ 38 -DCMAKE_BUILD_TYPE=Release \ 39 -DCMAKE_C_COMPILER=mpicc \ 40 -DCMAKE_CXX_COMPILER=mpicxx \ 41 -DBUILD_SHARED_LIBS=OFF \ 42 -DBUILD_PYTHON_BINDINGS=OFF \ 43 -DGDAL_SET_INSTALL_RELATIVE_RPATH=ON \ 44 -DCURL_INCLUDE_DIR="${CURL_ROOT}/include" \ 45 -DCURL_LIBRARY_RELEASE="${CURL_ROOT}/lib/libcurl.a" \ 46 -DCURL_USE_STATIC_LIBS=ON \ 47 -DGDAL_USE_JPEG_INTERNAL=ON \ 48 -DGDAL_USE_JPEG12_INTERNAL=ON \ 49 -DNETCDF_INCLUDE_DIR="${NETCDF_ROOT}/include" \ 50 -DNETCDF_LIBRARY="${NETCDF_ROOT}/lib/libnetcdf.a" \ 51 -DGDAL_USE_OPENJPEG=OFF \ 52 -DGDAL_USE_OPENSSL=OFF \ 53 -DGDAL_USE_PNG_INTERNAL=ON \ 54 -DPROJ_INCLUDE_DIR="${PROJ_ROOT}/include" \ 55 -DPROJ_LIBRARY_RELEASE="${PROJ_ROOT}/lib/libproj.a" \ 56 -DGDAL_USE_TIFF_INTERNAL=ON \ 57 -DZLIB_INCLUDE_DIR="${ZLIB_ROOT}/include" \ 58 -DZLIB_LIBRARY_RELEASE="${ZLIB_ROOT}/lib/libz.a" \ 59 -DZLIB_IS_STATIC=ON \ 60 -DGDAL_USE_ZSTD=OFF 54 61 55 62 # Compile and install -
issm/trunk-jpl/externalpackages/gdal/install-3.sh
r27567 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 5 ## TODO 6 # - May want to supply path to Python instead of, effectively, using result of `which python` 7 # 4 8 5 9 ## Constants 6 10 # 7 VER="3.5.3" 11 VER="3.8.4" 12 13 PREFIX="${ISSM_DIR}/externalpackages/gdal/install" 8 14 9 15 ## Environment 10 16 # 11 export PREFIX="${ISSM_DIR}/externalpackages/gdal/install" # NOTE: Need to export this to properly set destination root for Python libraries on macOS (should not affect Linux build). Set to location where external package should be installed. 17 export CFLAGS="${CFLAGS} -w" 18 export CXXFLAGS="${CXXFLAGS} -w" 12 19 13 20 # Cleanup … … 16 23 17 24 # Download source 18 $ ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/gdal-${VER}.tar.gz" "gdal-${VER}.tar.gz"25 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/gdal-${VER}.tar.gz" "gdal-${VER}.tar.gz" 19 26 20 27 # Unpack source … … 27 34 # Configure 28 35 cd src 29 ./configure \ 30 --prefix="${PREFIX}" \ 31 --enable-fast-install \ 32 --with-libz="${ZLIB_ROOT}" \ 33 --with-netcdf="${NETCDF_ROOT}" \ 34 --with-proj="${PROJ_ROOT}" 36 cmake \ 37 -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ 38 -DCMAKE_BUILD_TYPE=Release \ 39 -DCMAKE_C_COMPILER=mpicc \ 40 -DCMAKE_CXX_COMPILER=mpicxx \ 41 -DBUILD_SHARED_LIBS=ON \ 42 -DBUILD_PYTHON_BINDINGS=OFF \ 43 -DGDAL_SET_INSTALL_RELATIVE_RPATH=ON \ 44 -DCURL_INCLUDE_DIR="${CURL_ROOT}/include" \ 45 -DCURL_LIBRARY_RELEASE="-L${CURL_ROOT}/lib -lcurl" \ 46 -DGDAL_USE_JPEG_INTERNAL=ON \ 47 -DGDAL_USE_JPEG12_INTERNAL=ON \ 48 -DNETCDF_INCLUDE_DIR="${NETCDF_ROOT}/include" \ 49 -DNETCDF_LIBRARY="-L${NETCDF_ROOT}/lib -lnetcdf" \ 50 -DGDAL_USE_OPENJPEG=OFF \ 51 -DGDAL_USE_OPENSSL=OFF \ 52 -DGDAL_USE_PNG_INTERNAL=ON \ 53 -DPROJ_INCLUDE_DIR="${PROJ_ROOT}/include" \ 54 -DPROJ_LIBRARY_RELEASE="-L${PROJ_ROOT}/lib -lproj" \ 55 -DGDAL_USE_TIFF_INTERNAL=ON \ 56 -DZLIB_INCLUDE_DIR="${ZLIB_ROOT}/include" \ 57 -DZLIB_LIBRARY_RELEASE="-L${ZLIB_ROOT}/lib -lz" \ 58 -DGDAL_USE_ZSTD=OFF 35 59 36 60 # Compile and install -
issm/trunk-jpl/externalpackages/gmsh/install-4-linux-static.sh
r28133 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 4 … … 25 25 # 26 26 echo "Finding libgfortran..." 27 LIBGFORTRAN=$(find /usr -name libgfortran * 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)27 LIBGFORTRAN=$(find /usr -name libgfortran.* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1) 28 28 LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*} 29 LIBGCC=$(find ${LIBGFORTRAN_ROOT} -name libgcc* 2>/dev/null | egrep -n libgcc.a | sed "s/[0-9]*://g" | head -1) 29 LIBGCC=$(find ${LIBGFORTRAN_ROOT} -name libgcc.* 2>/dev/null | egrep -n libgcc.a | sed "s/[0-9]*://g" | head -1) 30 31 # Environment 32 # 33 export CXXFLAGS="${CXXFLAGS} -w" 30 34 31 35 # Cleanup -
issm/trunk-jpl/externalpackages/gmsh/install-4-linux.sh
r28133 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 4 … … 25 25 # 26 26 echo "Finding libgfortran..." 27 LIBGFORTRAN=$(find /usr -name libgfortran * 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)27 LIBGFORTRAN=$(find /usr -name libgfortran.* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1) 28 28 LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*} 29 30 # Environment 31 # 32 export CXXFLAGS="${CXXFLAGS} -w" 29 33 30 34 # Cleanup -
issm/trunk-jpl/externalpackages/gmsh/install-4-mac-static.sh
r28133 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 4 … … 27 27 # 28 28 echo "Finding libgfortran..." 29 LIBGFORTRAN=$(find /usr /opt -name libgfortran * 2>/dev/null | egrep -n libgfortran.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1)29 LIBGFORTRAN=$(find /usr /opt -name libgfortran.* 2>/dev/null | egrep -n libgfortran.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1) 30 30 LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*} 31 LIBGCC=$(find ${LIBGFORTRAN_ROOT} -name libgcc* 2>/dev/null | egrep -n libgcc.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1) 31 LIBGCC=$(find ${LIBGFORTRAN_ROOT} -name libgcc.* 2>/dev/null | egrep -n libgcc.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1) 32 33 # Environment 34 # 35 export CXXFLAGS="${CXXFLAGS} -w" 32 36 33 37 # Cleanup -
issm/trunk-jpl/externalpackages/gmsh/install-4-mac.sh
r28133 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 4 … … 25 25 # 26 26 echo "Finding libgfortran..." 27 LIBGFORTRAN=$(find /usr /opt -name libgfortran * 2>/dev/null | egrep -n libgfortran.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1)27 LIBGFORTRAN=$(find /usr /opt -name libgfortran.* 2>/dev/null | egrep -n libgfortran.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1) 28 28 LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*} 29 30 # Environment 31 # 32 export CXXFLAGS="${CXXFLAGS} -w" 29 33 30 34 # Cleanup -
issm/trunk-jpl/externalpackages/gmt/configs/6.5/static/cmake/modules/FindGDAL.cmake.patch
r28165 r28197 1 --- src/cmake/modules/FindGDAL.cmake 2024-0 3-20 19:47:152 +++ FindGDAL.cmake 2024-03- 20 19:55:541 --- src/cmake/modules/FindGDAL.cmake 2024-01-07 01:32:40 2 +++ FindGDAL.cmake 2024-03-31 19:36:43 3 3 @@ -81,12 +81,25 @@ 4 4 ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE … … 31 31 32 32 find_path (GDAL_INCLUDE_DIR gdal.h 33 @@ -129,6 +142, 46@@33 @@ -129,6 +142,57 @@ 34 34 /usr/local 35 35 ) … … 73 73 + list (APPEND GDAL_LIBRARY ${_found_lib_${_extralib}}) 74 74 + endforeach (_extralib) 75 + # Retrieve static library names 76 + string(REGEX MATCHALL "[-_/a-zA-Z0-9]+\\.a" _gdal_extra_static_lib "${GDAL_EXTRA_LIBS}") 77 + foreach (_extralib ${_gdal_extra_static_lib}) 78 + find_library (${_extralib} 79 + NAMES ${_extralib} 80 + PATH_SUFFIXES lib 81 + PATHS 82 + ${_gdal_extra_libpath} 83 + ) 84 + list (APPEND GDAL_LIBRARY ${_extralib}) 85 + endforeach (_extralib) 75 86 +endif (GDAL_EXTRA_LIBS) 76 87 + 77 88 include (FindPackageHandleStandardArgs) 78 89 find_package_handle_standard_args (GDAL DEFAULT_MSG GDAL_LIBRARY GDAL_INCLUDE_DIR) 90 -
issm/trunk-jpl/externalpackages/gmt/configs/6.5/static/cmake/modules/FindNETCDF.cmake.patch
r28161 r28197 1 --- src/cmake/modules/FindNETCDF.cmake 2 +++ FindNETCDF.cmake 2024-03-20 19:01:131 --- src/cmake/modules/FindNETCDF.cmake 2024-01-07 01:32:40 2 +++ FindNETCDF.cmake 2024-03-31 15:12:47 3 3 @@ -67,6 +67,23 @@ 4 4 OUTPUT_VARIABLE NETCDF_PREFIX_DIR … … 65 65 + endforeach (_extralib) 66 66 + # Retrieve static library names 67 + string(REGEX MATCHALL "[ a-zA-Z0-9]+\\.a" _netcdf_extra_static_lib "${NETCDF_EXTRA_LIBS}")67 + string(REGEX MATCHALL "[-_/a-zA-Z0-9]+\\.a" _netcdf_extra_static_lib "${NETCDF_EXTRA_LIBS}") 68 68 + foreach (_extralib ${_netcdf_extra_static_lib}) 69 + find_library ( _found_lib_${_extralib}69 + find_library (${_extralib} 70 70 + NAMES ${_extralib} 71 71 + PATH_SUFFIXES lib … … 73 73 + ${_netcdf_extra_libpath} 74 74 + ) 75 + list (APPEND NETCDF_LIBRARY ${_ found_lib_${_extralib}})75 + list (APPEND NETCDF_LIBRARY ${_extralib}) 76 76 + endforeach (_extralib) 77 77 +endif (NETCDF_EXTRA_LIBS) -
issm/trunk-jpl/externalpackages/gmt/install-6-linux-static.sh
r28190 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 4 … … 9 9 PREFIX="${ISSM_DIR}/externalpackages/gmt/install" 10 10 11 # Find libgfortran and libgccso we do not have to hardcode them11 # Find certain libraries so we do not have to hardcode them 12 12 # 13 13 # TODO: … … 17 17 # 18 18 echo "Finding libgfortran..." 19 LIBGFORTRAN=$(find /usr -name libgfortran * 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)19 LIBGFORTRAN=$(find /usr -name libgfortran.* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1) 20 20 LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*} 21 LIBGCC=$(find ${LIBGFORTRAN_ROOT} -name libgcc* 2>/dev/null | egrep -n libgcc.a | sed "s/[0-9]*://g" | head -1)22 21 23 GDAL_EXTRA_LIBS="-l stdc++" # Determined by running `$GDAL_ROOT/bin/gdal-config --dep-libs` then removing duplicate libs; for some reason, needed to run `sudo ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libstdc++.so` after recent upgrades to make it so libstc++ is found24 NETCDF_EXTRA_LIBS=" -lm -ldl -lz" # `$NETCDF_ROOT/bin/nc-config --libs` does not report certain dependencies of certain static libraries (see also customized configuration file ./configs/6.0/static/cmake/modules/FindNETCDF.cmake)22 GDAL_EXTRA_LIBS="-lm ${HDF5_ROOT}/lib/libhdf5_hl.a ${HDF5_ROOT}/lib/libhdf5.a ${ZLIB_ROOT}/lib/libz.a -ldl -lsqlite3 ${PROJ_ROOT}/lib/libproj.a ${MPI_ROOT}/lib/libmpicxx.a -lstdc++" # See also patch for configuration file ./configs/${VER%.*}/static/cmake/modules/FindGDAL.cmake; for some reason, needed to run `sudo ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libstdc++.so` after recent upgrades to make it so libstc++ is found 23 NETCDF_EXTRA_LIBS="${CURL_ROOT}/lib/libcurl.a ${HDF5_ROOT}/lib/libhdf5_hl.a ${HDF5_ROOT}/lib/libhdf5.a ${ZLIB_ROOT}/lib/libz.a" # See also patch for configuration file ./configs/${VER%.*}/static/cmake/modules/FindNETCDF.cmake) 25 24 26 25 # Environment 27 26 # 28 27 export CC=mpicc 28 export CFLAGS="${CFLAGS} -w" 29 29 export CURL_INCLUDE_DIRS="${CURL_ROOT}/include" 30 export CURL_LIBRARIES="${CURL_ROOT}/lib/libcurl.a; /usr/lib/x86_64-linux-gnu/libssl.a;/usr/lib/x86_64-linux-gnu/libcrypto.a"30 export CURL_LIBRARIES="${CURL_ROOT}/lib/libcurl.a;${ZLIB_ROOT}/lib/libz.a" 31 31 32 32 # Download source -
issm/trunk-jpl/externalpackages/gmt/install-6-linux.sh
r28178 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 4 … … 9 9 PREFIX="${ISSM_DIR}/externalpackages/gmt/install" 10 10 11 # Find libgfortran so that we do not have to hardcode it.11 # Find certain libraries so we do not have to hardcode them 12 12 # 13 13 # TODO: … … 15 15 # 16 16 echo "Finding libgfortran..." 17 LIBGFORTRAN=$(find /usr -name libgfortran * 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)17 LIBGFORTRAN=$(find /usr -name libgfortran.* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1) 18 18 LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*} 19 19 … … 21 21 # 22 22 export CC=mpicc 23 export CFLAGS="${CFLAGS} -w" 23 24 24 25 # Download source -
issm/trunk-jpl/externalpackages/gmt/install-6-mac-static.sh
r28178 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 4 # NOTE: After GMT version 6.0.0, we must build a shared copy of libgmt for our … … 26 26 # 27 27 echo "Finding libgfortran..." 28 LIBGFORTRAN=$(find /usr /opt -name libgfortran * 2>/dev/null | egrep -n libgfortran.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1)28 LIBGFORTRAN=$(find /usr /opt -name libgfortran.* 2>/dev/null | egrep -n libgfortran.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1) 29 29 LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*} 30 LIBGCC=$(find ${LIBGFORTRAN_ROOT} -name libgcc* 2>/dev/null | egrep -n libgcc.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1) 31 echo "Finding libssl..." 32 LIBSSL=$(find /usr /opt -name libssl* 2>/dev/null | egrep -n libssl.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1) 30 echo "Finding libglib..." 31 LIBGLIB=$(find /usr /opt -name libglib-2.0.* 2>/dev/null | egrep -n libglib-2.0.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1) 32 LIBGLIB_ROOT=${LIBGLIB%/*} 33 echo "Finding libintl..." 34 LIBINTL=$(find /usr /opt -name libintl.* 2>/dev/null | egrep -n libintl.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1) 35 echo "Finding libpcre..." 36 LIBPCRE=$(find /usr /opt -name libpcre2-8* 2>/dev/null | egrep -n libpcre2-8.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1) 33 37 34 GDAL_EXTRA_LIBS="-l c++" # `$GDAL_ROOT/bin/gdal-config --dep-libs` does not report need to link to libc++ (see also customized configuration file ./configs/6/static/cmake/modules/FindGDAL.cmake)35 NETCDF_EXTRA_LIBS=" -lpthread -ldl -liconv" # `$NETCDF_ROOT/bin/nc-config --libs` does not report certain dependencies of certain static libraries (see also customizedconfiguration file ./configs/${VER%.*}/static/cmake/modules/FindNETCDF.cmake)38 GDAL_EXTRA_LIBS="-lm ${HDF5_ROOT}/lib/libhdf5_hl.a ${HDF5_ROOT}/lib/libhdf5.a ${ZLIB_ROOT}/lib/libz.a -ldl -lsqlite3 ${PROJ_ROOT}/lib/libproj.a ${MPI_ROOT}/lib/libmpicxx.a -lc++" # See also patch for configuration file ./configs/${VER%.*}/static/cmake/modules/FindGDAL.cmake 39 NETCDF_EXTRA_LIBS="${CURL_ROOT}/lib/libcurl.a ${HDF5_ROOT}/lib/libhdf5_hl.a ${HDF5_ROOT}/lib/libhdf5.a ${ZLIB_ROOT}/lib/libz.a" # See also patch for configuration file ./configs/${VER%.*}/static/cmake/modules/FindNETCDF.cmake) 36 40 37 41 # Environment 38 42 # 39 43 export CC=mpicc 44 export CFLAGS="${CFLAGS} -w" 40 45 export CURL_INCLUDE_DIRS="${CURL_ROOT}/include" 41 46 export CURL_LIBRARIES="${CURL_ROOT}/lib/libcurl.a;${ZLIB_ROOT}/lib/libz.a" 42 export LDFLAGS="-lsqlite3 -framework CoreFoundation -framework Security"43 47 44 48 # Download source … … 62 66 patch ./src/cmake/ConfigUser.cmake < ./configs/${VER%.*}/static/cmake/ConfigUserAdvancedTemplate.cmake.patch 63 67 patch ./src/cmake/modules/FindGDAL.cmake < ./configs/${VER%.*}/static/cmake/modules/FindGDAL.cmake.patch 68 patch ./src/cmake/modules/FindGLIB.cmake < ./configs/${VER%.*}/static/cmake/modules/FindGLIB.cmake.patch 64 69 patch ./src/cmake/modules/FindGSHHG.cmake < ./configs/${VER%.*}/static/cmake/modules/FindGSHHG.cmake.patch 65 70 patch ./src/cmake/modules/FindNETCDF.cmake < ./configs/${VER%.*}/static/cmake/modules/FindNETCDF.cmake.patch … … 79 84 cmake \ 80 85 -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ 81 -DBLAS_LIBRARIES="${BLAS_ROOT}/lib/libfblas.a;${LIBGFORTRAN_ROOT}/libgfortran.a;${LIBGFORTRAN_ROOT}/libquadmath.a ;${LIBGCC}" \86 -DBLAS_LIBRARIES="${BLAS_ROOT}/lib/libfblas.a;${LIBGFORTRAN_ROOT}/libgfortran.a;${LIBGFORTRAN_ROOT}/libquadmath.a" \ 82 87 -DCURL_INCLUDE_DIR="${CURL_ROOT}/include" \ 83 -DCURL_LIBRARY="${CURL_ROOT}/lib/libcurl.a ;${LIBSSL}" \88 -DCURL_LIBRARY="${CURL_ROOT}/lib/libcurl.a" \ 84 89 -DGDAL_EXTRA_LIBS="${GDAL_EXTRA_LIBS}" \ 85 -DLAPACK_LIBRARIES="${LAPACK_ROOT}/lib/libflapack.a;${LIBGFORTRAN_ROOT}/libgfortran.a;${LIBGFORTRAN_ROOT}/libquadmath.a;${LIBGCC}" \ 90 -DGLIB_GTHREAD_LIBRARIES="${LIBGLIB_ROOT}/libgthread-2.0.a" \ 91 -DGLIB_LIBRARY="${LIBGLIB} ${LIBINTL} -liconv ${LIBPCRE} -framework Foundation" \ 92 -DLAPACK_LIBRARIES="${LAPACK_ROOT}/lib/libflapack.a;${LIBGFORTRAN_ROOT}/libgfortran.a;${LIBGFORTRAN_ROOT}/libquadmath.a" \ 86 93 -DNETCDF_EXTRA_LIBS="${NETCDF_EXTRA_LIBS}" \ 87 94 .. -
issm/trunk-jpl/externalpackages/gmt/install-6-mac.sh
r28178 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 4 … … 9 9 PREFIX="${ISSM_DIR}/externalpackages/gmt/install" 10 10 11 # Find libgfortran so that we do not have to hardcode it.11 # Find certain libraries so we do not have to hardcode them 12 12 # 13 13 # TODO: … … 15 15 # 16 16 echo "Finding libgfortran..." 17 LIBGFORTRAN=$(find /usr /opt -name libgfortran * 2>/dev/null | egrep -n libgfortran.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1)17 LIBGFORTRAN=$(find /usr /opt -name libgfortran.* 2>/dev/null | egrep -n libgfortran.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1) 18 18 LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*} 19 19 … … 21 21 # 22 22 export CC=mpicc 23 export CFLAGS="${CFLAGS} -w" 23 24 24 25 # Download source … … 41 42 # Patch source 42 43 patch ./src/cmake/ConfigUser.cmake < ./configs/${VER%.*}/cmake/ConfigUserAdvancedTemplate.cmake.patch 43 patch ./src/cmake/modules/ConfigCMake.cmake < ./configs/${VER%.*}/ cmake/modules/ConfigCMake.cmake.patch44 patch ./src/cmake/modules/ConfigCMake.cmake < ./configs/${VER%.*}/mac/cmake/modules/ConfigCMake.cmake.patch 44 45 45 46 # Configure -
issm/trunk-jpl/externalpackages/hdf5/install-1-static.sh
r28191 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 4 5 5 ## Constants 6 6 # 7 VER="1. 8.23"7 VER="1.14.3" 8 8 9 9 PREFIX="${ISSM_DIR}/externalpackages/hdf5/install" # Set to location where external package should be installed 10 10 11 ## Environ nment11 ## Environment 12 12 # 13 13 export CC=mpicc 14 export CFLAGS="${CFLAGS} -w" 14 15 15 16 # Download source … … 35 36 --enable-parallel \ 36 37 --with-zlib="${ZLIB_ROOT}" \ 38 --with-szlib="no" \ 37 39 --enable-hl 38 40 -
issm/trunk-jpl/externalpackages/hdf5/install-1.sh
r28021 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 4 5 5 ## Constants 6 6 # 7 VER="1. 8.23"7 VER="1.14.3" 8 8 9 9 PREFIX="${ISSM_DIR}/externalpackages/hdf5/install" # Set to location where external package should be installed 10 11 ## Environment 12 # 13 export CC=mpicc 14 export CFLAGS="${CFLAGS} -w" 10 15 11 16 # Download source … … 30 35 --disable-static \ 31 36 --with-zlib="${ZLIB_ROOT}" \ 37 --with-szlib="no" \ 32 38 --enable-hl 33 39 -
issm/trunk-jpl/externalpackages/netcdf/install-4-static.sh
r28191 r28197 1 1 #!/bin/bash 2 set -e u2 set -e 3 3 4 4 … … 23 23 # Constants 24 24 # 25 VER="4. 7.2"25 VER="4.9.2" 26 26 27 27 PREFIX="${ISSM_DIR}/externalpackages/netcdf/install" # Set to location where external package should be installed … … 30 30 # 31 31 export CC=mpicc 32 export CPPFLAGS="-I${ZLIB_ROOT}/include" 33 34 export ZLIB="${ZLIB_ROOT}/lib/libz.a" 32 export CFLAGS="${CFLAGS} -w" 35 33 36 34 # Download source … … 50 48 # Configure 51 49 cd src 52 ./configure \ 53 --prefix="${PREFIX}" \ 54 --disable-shared \ 55 --disable-dependency-tracking \ 56 --enable-fast-install \ 57 --disable-doxygen \ 58 --enable-netcdf4 \ 59 --disable-dap \ 60 --disable-testsets \ 61 --disable-examples \ 62 --disable-filter-testing 50 cmake \ 51 -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ 52 -DBUILD_SHARED_LIBS=OFF \ 53 -DENABLE_NETCDF_4=ON \ 54 -DENABLE_DAP=OFF \ 55 -DENABLE_TESTS=OFF \ 56 -DENABLE_PARALLEL4=ON \ 57 -DENABLE_CDF5=ON \ 58 -DENABLE_PARALLEL_TESTS=OFF 63 59 64 60 # Compile and install -
issm/trunk-jpl/externalpackages/netcdf/install-4.sh
r28191 r28197 15 15 # Constants 16 16 # 17 VER="4. 7.2"17 VER="4.9.2" 18 18 19 19 PREFIX="${ISSM_DIR}/externalpackages/netcdf/install" # Set to location where external package should be installed … … 21 21 # Environment 22 22 # 23 export C PPFLAGS="-I${HDF5_ROOT}/include -I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"24 export LDFLAGS="-L${HDF5_ROOT}/lib -L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"23 export CC=mpicc 24 export CFLAGS="${CFLAGS} -w" 25 25 26 26 # Download source … … 40 40 # Configure 41 41 cd src 42 ./configure \43 - -prefix="${PREFIX}" \44 - -disable-static\45 - -disable-dependency-tracking\46 - -enable-fast-install\47 - -disable-doxygen\48 - -disable-testsets\49 - -disable-examples\50 - -enable-netcdf442 cmake \ 43 -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ 44 -DBUILD_SHARED_LIBS=ON \ 45 -DENABLE_NETCDF_4=ON \ 46 -DENABLE_DAP=OFF \ 47 -DENABLE_TESTS=OFF \ 48 -DENABLE_PARALLEL4=ON \ 49 -DENABLE_CDF5=ON \ 50 -DENABLE_PARALLEL_TESTS=OFF 51 51 52 52 # Compile and install -
issm/trunk-jpl/externalpackages/petsc/install-3.20-linux-static.sh
r28178 r28197 46 46 --with-ssl=0 \ 47 47 --download-fblaslapack=1 \ 48 --download-metis=1 \ 48 49 --download-mpich=1 \ 49 --download-m etis=1 \50 --download-mumps=1 \ 50 51 --download-parmetis=1 \ 51 52 --download-scalapack=1 \ 52 --download- mumps=1 \53 --download-szlib=1 \ 53 54 --download-zlib=1 54 55 -
issm/trunk-jpl/externalpackages/petsc/install-3.20-linux.sh
r28178 r28197 34 34 --with-pic=1 \ 35 35 --download-fblaslapack=1 \ 36 --download-metis=1 \ 36 37 --download-mpich=1 \ 37 --download-m etis=1 \38 --download-mumps=1 \ 38 39 --download-parmetis=1 \ 39 40 --download-scalapack=1 \ 40 --download- mumps=1 \41 --download-szlib=1 \ 41 42 --download-zlib=1 42 43 -
issm/trunk-jpl/externalpackages/petsc/install-3.20-mac-static.sh
r28161 r28197 47 47 --with-ssl=0 \ 48 48 --download-fblaslapack=1 \ 49 --download-metis=1 \ 49 50 --download-mpich="https://www.mpich.org/static/downloads/4.2.0/mpich-4.2.0.tar.gz" \ 50 --download-m etis=1 \51 --download-mumps=1 \ 51 52 --download-parmetis=1 \ 52 53 --download-scalapack=1 \ 53 --download- mumps=1 \54 --download-szlib=1 \ 54 55 --download-zlib=1 55 56 -
issm/trunk-jpl/externalpackages/petsc/install-3.20-mac.sh
r28161 r28197 41 41 --with-pic=1 \ 42 42 --download-fblaslapack=1 \ 43 --download-metis=1 \ 43 44 --download-mpich="https://www.mpich.org/static/downloads/4.2.0/mpich-4.2.0.tar.gz" \ 44 --download-m etis=1 \45 --download-mumps=1 \ 45 46 --download-parmetis=1 \ 46 47 --download-scalapack=1 \ 47 --download- mumps=1 \48 --download-szlib=1 \ 48 49 --download-zlib=1 49 50 -
issm/trunk-jpl/externalpackages/zlib/install-1.sh
r28196 r28197 7 7 VER="1.2.11" 8 8 9 PREFIX="${ISSM_DIR}/externalpackages/zlib/install" # Set to location where external package should be installed 10 11 # Cleanup 12 rm -rf ${PREFIX} src 13 mkdir -p ${PREFIX} src 14 9 15 # Download source 10 16 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/zlib-${VER}.tar.gz" "zlib-${VER}.tar.gz" 11 17 12 18 # Unpack source 13 tar -zxvf zlib-$ VER.tar.gz19 tar -zxvf zlib-${VER}.tar.gz 14 20 15 # Cleanup 16 rm -rf install src 17 mkdir install src 18 19 # Move source to 'src' directory 20 mv zlib-$VER/* src/ 21 rm -rf zlib-$VER 21 # Move source into 'src' directory 22 mv zlib-${VER}/* src/ 23 rm -rf zlib-${VER} 22 24 23 25 # Configure 24 26 cd src 25 27 ./configure \ 26 --prefix="${ISSM_DIR}/externalpackages/zlib/install"28 --prefix="${PREFIX}" 27 29 28 30 # Compile and install … … 34 36 make -j $1 install 35 37 fi 36 37 # Return to initial directory38 cd .. -
issm/trunk-jpl/jenkins/mac-intel-binaries-matlab
r28161 r28197 55 55 chaco install-mac.sh 56 56 curl install-7-mac-static.sh 57 hdf5 install-1- parallel-static.sh58 netcdf install-4 .7-parallel-static.sh57 hdf5 install-1-static.sh 58 netcdf install-4-static.sh 59 59 proj install-6-static.sh 60 60 gdal install-3-static.sh -
issm/trunk-jpl/jenkins/mac-intel-binaries-python-3
r28161 r28197 57 57 chaco install-mac.sh 58 58 curl install-7-mac-static.sh 59 hdf5 install-1- parallel-static.sh60 netcdf install-4 .7-parallel-static.sh59 hdf5 install-1-static.sh 60 netcdf install-4-static.sh 61 61 proj install-6-static.sh 62 62 gdal install-3-python-static.sh -
issm/trunk-jpl/jenkins/mac-intel-dakota
r28140 r28197 53 53 chaco install-mac.sh 54 54 curl install-7-mac.sh 55 hdf5 install-1 -parallel.sh56 netcdf install-4. 7-parallel.sh55 hdf5 install-1.sh 56 netcdf install-4.sh 57 57 proj install-6.sh 58 58 gdal install-3-python.sh -
issm/trunk-jpl/jenkins/mac-intel-examples
r28140 r28197 53 53 chaco install-mac.sh 54 54 curl install-7-mac.sh 55 hdf5 install-1 -parallel.sh56 netcdf install-4. 7-parallel.sh55 hdf5 install-1.sh 56 netcdf install-4.sh 57 57 proj install-6.sh 58 58 gdal install-3.sh -
issm/trunk-jpl/jenkins/mac-intel-full
r28140 r28197 57 57 chaco install-mac.sh 58 58 curl install-7-mac.sh 59 hdf5 install-1 -parallel.sh60 netcdf install-4. 7-parallel.sh59 hdf5 install-1.sh 60 netcdf install-4.sh 61 61 proj install-6.sh 62 62 gdal install-3-python.sh -
issm/trunk-jpl/jenkins/mac-intel-solid_earth
r28140 r28197 57 57 chaco install-mac.sh 58 58 curl install-7-mac.sh 59 hdf5 install-1 -parallel.sh60 netcdf install-4. 7-parallel.sh59 hdf5 install-1.sh 60 netcdf install-4.sh 61 61 proj install-6.sh 62 62 gdal install-3-python.sh -
issm/trunk-jpl/jenkins/mac-silicon-binaries-matlab
r28183 r28197 55 55 chaco install-mac.sh 56 56 curl install-7-mac-static.sh 57 hdf5 install-1- parallel-static.sh58 netcdf install-4 .7-parallel-static.sh57 hdf5 install-1-static.sh 58 netcdf install-4-static.sh 59 59 proj install-6-static.sh 60 60 gdal install-3-static.sh -
issm/trunk-jpl/jenkins/mac-silicon-binaries-python-3
r28183 r28197 56 56 chaco install-mac.sh 57 57 curl install-7-mac-static.sh 58 hdf5 install-1- parallel-static.sh59 netcdf install-4 .7-parallel-static.sh58 hdf5 install-1-static.sh 59 netcdf install-4-static.sh 60 60 proj install-6-static.sh 61 61 gdal install-3-python-static.sh -
issm/trunk-jpl/jenkins/mac-silicon-dakota
r28142 r28197 48 48 chaco install-mac.sh 49 49 curl install-7-mac.sh 50 hdf5 install-1 -parallel.sh51 netcdf install-4. 7-parallel.sh50 hdf5 install-1.sh 51 netcdf install-4.sh 52 52 proj install-6.sh 53 53 gdal install-3-python.sh -
issm/trunk-jpl/jenkins/mac-silicon-examples
r28140 r28197 45 45 chaco install-mac.sh 46 46 curl install-7-mac.sh 47 hdf5 install-1 -parallel.sh48 netcdf install-4. 7-parallel.sh47 hdf5 install-1.sh 48 netcdf install-4.sh 49 49 proj install-6.sh 50 50 gdal install-3.sh -
issm/trunk-jpl/jenkins/mac-silicon-full
r28140 r28197 48 48 chaco install-mac.sh 49 49 curl install-7-mac.sh 50 hdf5 install-1 -parallel.sh51 netcdf install-4. 7-parallel.sh50 hdf5 install-1.sh 51 netcdf install-4.sh 52 52 proj install-6.sh 53 53 gdal install-3-python.sh -
issm/trunk-jpl/jenkins/mac-silicon-solid_earth
r28140 r28197 48 48 chaco install-mac.sh 49 49 curl install-7-mac.sh 50 hdf5 install-1 -parallel.sh51 netcdf install-4. 7-parallel.sh50 hdf5 install-1.sh 51 netcdf install-4.sh 52 52 proj install-6.sh 53 53 gdal install-3-python.sh -
issm/trunk-jpl/jenkins/pleiades-solid_earth
r28079 r28197 40 40 petsc install-3.14-pleiades.sh 41 41 zlib install-1.sh 42 hdf5 install-1 -parallel.sh42 hdf5 install-1.sh 43 43 gsl install-pleiades.sh 44 44 boost install-1.55-pleiades.sh … … 46 46 chaco install-linux.sh 47 47 curl install-7-linux.sh 48 netcdf install-4. 7-parallel.sh48 netcdf install-4.sh 49 49 sqlite install.sh 50 50 proj install-6.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-binaries-matlab
r28178 r28197 51 51 chaco install-linux.sh 52 52 curl install-7-linux-static.sh 53 hdf5 install-1- parallel-static.sh54 netcdf install-4 .7-parallel-static.sh53 hdf5 install-1-static.sh 54 netcdf install-4-static.sh 55 55 proj install-6-static.sh 56 56 gdal install-3-static.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-binaries-python-3
r28178 r28197 52 52 chaco install-linux.sh 53 53 curl install-7-linux-static.sh 54 hdf5 install-1- parallel-static.sh55 netcdf install-4 .7-parallel-static.sh54 hdf5 install-1-static.sh 55 netcdf install-4-static.sh 56 56 proj install-6-static.sh 57 57 gdal install-3-python-static.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-dakota
r28178 r28197 50 50 chaco install-linux.sh 51 51 curl install-7-linux.sh 52 hdf5 install-1 -parallel.sh53 netcdf install-4. 7-parallel.sh52 hdf5 install-1.sh 53 netcdf install-4.sh 54 54 proj install-6.sh 55 55 gdal install-3-python.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-full
r28178 r28197 51 51 chaco install-linux.sh 52 52 curl install-7-linux.sh 53 hdf5 install-1 -parallel.sh54 netcdf install-4. 7-parallel.sh53 hdf5 install-1.sh 54 netcdf install-4.sh 55 55 proj install-6.sh 56 56 gdal install-3-python.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-full-mplapack
r28178 r28197 51 51 chaco install-linux.sh 52 52 curl install-7-linux.sh 53 hdf5 install-1 -parallel.sh54 netcdf install-4. 7-parallel.sh53 hdf5 install-1.sh 54 netcdf install-4.sh 55 55 proj install-6.sh 56 56 gdal install-3-python.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-full-valgrind
r28178 r28197 50 50 chaco install-linux.sh 51 51 curl install-7-linux.sh 52 hdf5 install-1 -parallel.sh53 netcdf install-4. 7-parallel.sh52 hdf5 install-1.sh 53 netcdf install-4.sh 54 54 proj install-6.sh 55 55 gdal install-3-python.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-solid_earth
r28178 r28197 48 48 chaco install-linux.sh 49 49 curl install-7-linux.sh 50 hdf5 install-1 -parallel.sh51 netcdf install-4. 7-parallel.sh50 hdf5 install-1.sh 51 netcdf install-4.sh 52 52 proj install-6.sh 53 53 gdal install-3-python.sh -
issm/trunk-jpl/packagers/linux/complete-issm-linux-binaries-matlab.sh
r28192 r28197 34 34 ## Constants 35 35 # 36 MATLAB_NROPTIONS="'benchmark','all','exclude',[125:126,129,234:235,418,420,435,444:445,456,701:703,1101:1110,1201:1208,1301:1304,1401:1402,1601:1602,2002,2004,2006,2010:2013,2020:2021,205 1:2053,2084:2085,2090:2092,2101,2424:2425,3001:3300,3480:3481,4001:4100]" # NOTE: Combination of test suites from basic, Dakota, and Solid Earth builds, with tests that require a restart and those that require the JVM excluded36 MATLAB_NROPTIONS="'benchmark','all','exclude',[125:126,129,234:235,418,420,435,444:445,456,701:703,1101:1110,1201:1208,1301:1304,1401:1402,1601:1602,2002,2004,2006,2010:2013,2020:2021,2052:2053,2085,2090:2092,2424:2425,3001:3300,3480:3481,4001:4100]" # NOTE: Combination of test suites from basic, Dakota, and Solid Earth builds, with tests that require a restart and those that require the JVM excluded 37 37 MATLAB_PATH="/usr/local/MATLAB/R2023b" 38 38 -
issm/trunk-jpl/packagers/linux/complete-issm-linux-binaries-python-3.sh
r28192 r28197 35 35 # 36 36 PKG="ISSM-Linux-Python-3" # Name of directory to copy distributable files to 37 PYTHON_NROPTIONS="--benchmark all --exclude 125:126 129 234:235 418 420 435 444:445 456 701:703 1101:1110 1201:1208 1301:1304 1401:1402 1601:1602 2002 2004 20 10:2013 2020:2021 2051:2053 2084:2085 2090:2092 21012424:2425 3001:3300 3480:3481 4001:4100" # NOTE: Combination of test suites from basic, Dakota, and Solid Earth builds, with tests that require a restart and those that require the JVM excluded37 PYTHON_NROPTIONS="--benchmark all --exclude 125:126 129 234:235 418 420 435 444:445 456 701:703 1101:1110 1201:1208 1301:1304 1401:1402 1601:1602 2002 2004 2006 2010:2013 2020:2021 2052:2053 2085 2090:2092 2424:2425 3001:3300 3480:3481 4001:4100" # NOTE: Combination of test suites from basic, Dakota, and Solid Earth builds, with tests that require a restart and those that require the JVM excluded 38 38 39 39 COMPRESSED_PKG="${PKG}.tar.gz" -
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-matlab.sh
r28192 r28197 33 33 LIBGFORTRAN="/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0" # Important that this is the library itself 34 34 LIBGFORTRAN_DIST="${ISSM_DIR}/lib/libgfortran.so.5" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it 35 LIBGMT="${ISSM_DIR}/externalpackages/gmt/install/lib/libgmt.6.5.0.dylib" # Important that this is the library itself 36 LIBGMT_DIST="${ISSM_DIR}/lib/libgmt.6.dylib" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it 37 LIBPSL="${ISSM_DIR}/externalpackages/gmt/install/lib/libpostscriptlight.6.5.0.dylib" # Important that this is the library itself 38 LIBPSL_DIST="${ISSM_DIR}/lib/libpostscriptlight.6.dylib" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it 35 39 LIBQUADMATH="/usr/lib/x86_64-linux-gnu/libquadmath.so.0.0.0" # Important that this is the library itself 36 40 LIBQUADMATH_DIST="${ISSM_DIR}/lib/libquadmath.so.0" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it … … 74 78 cat generic_static.m | sed -e "s/generic_static/generic/g" > generic.m 75 79 76 echo "Moving libgfortran and libquadmath to lib/" 77 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 2> /dev/null 78 cp ${LIBQUADMATH} ${LIBQUADMATH_DIST} 2> /dev/null 80 echo "Moving certain shared libraries to lib/" 81 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 2>/dev/null 82 cp ${LIBQUADMATH} ${LIBQUADMATH_DIST} 2>/dev/null 83 cp ${LIBGMT} ${LIBGMT_DIST} 2>/dev/null 84 cp ${LIBPSL} ${LIBPSL_DIST} 2>/dev/null 79 85 80 86 echo "Moving MPICH binaries to bin/" … … 100 106 101 107 echo "Moving GMT binaries to bin/" 102 if [ -f ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt-config ]; then 103 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt . 2> /dev/null 104 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmtselect . 2> /dev/null 108 if [ -f ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt ]; then 109 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt . 110 elif [ -f ${ISSM_EXT_STATIC_DIR}/gmt/install/bin/gmtselect ]; then 111 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmtselect . 105 112 else 106 113 echo "GMT not found" … … 118 125 echo "Moving GSHHG assets to share/" 119 126 if [ -d ${ISSM_DIR}/externalpackages/gshhg/install ]; then 120 mkdir ${ISSM_DIR}/share 2> 127 mkdir ${ISSM_DIR}/share 2>/dev/null 121 128 cp -R ${ISSM_DIR}/externalpackages/gshhg/install/*.nc ${ISSM_DIR}/share 122 129 else … … 128 135 if [ -d ${ISSM_DIR}/externalpackages/proj/install/share/proj ]; then 129 136 cp ${ISSM_DIR}/externalpackages/proj/install/bin/projinfo . 130 mkdir ${ISSM_DIR}/share 2> 137 mkdir ${ISSM_DIR}/share 2>/dev/null 131 138 cp -R ${ISSM_DIR}/externalpackages/proj/install/share/proj ${ISSM_DIR}/share 132 139 else … … 139 146 echo "Running tests" 140 147 cd ${ISSM_DIR}/test/NightlyRun 141 rm matlab.log 2> 148 rm matlab.log 2>/dev/null 142 149 143 150 # Run tests, redirecting output to logfile and suppressing output to console -
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-3.sh
r28192 r28197 33 33 LIBGFORTRAN="/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0" # Important that this is the library itself 34 34 LIBGFORTRAN_DIST="${ISSM_DIR}/lib/libgfortran.so.5" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it 35 LIBGMT="${ISSM_DIR}/externalpackages/gmt/install/lib/libgmt.6.5.0.dylib" # Important that this is the library itself 36 LIBGMT_DIST="${ISSM_DIR}/lib/libgmt.6.dylib" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it 37 LIBPSL="${ISSM_DIR}/externalpackages/gmt/install/lib/libpostscriptlight.6.5.0.dylib" # Important that this is the library itself 38 LIBPSL_DIST="${ISSM_DIR}/lib/libpostscriptlight.6.dylib" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it 35 39 LIBQUADMATH="/usr/lib/x86_64-linux-gnu/libquadmath.so.0.0.0" # Important that this is the library itself 36 40 LIBQUADMATH_DIST="${ISSM_DIR}/lib/libquadmath.so.0" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it … … 68 72 cat generic_static.py | sed -e "s/generic_static/generic/g" > generic.py 69 73 70 echo "Moving libgfortran and libquadmath to lib/" 71 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 2> /dev/null 72 cp ${LIBQUADMATH} ${LIBQUADMATH_DIST} 2> /dev/null 74 echo "Moving certain shared libraries to lib/" 75 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 2>/dev/null 76 cp ${LIBQUADMATH} ${LIBQUADMATH_DIST} 2>/dev/null 77 cp ${LIBGMT} ${LIBGMT_DIST} 2>/dev/null 78 cp ${LIBPSL} ${LIBPSL_DIST} 2>/dev/null 73 79 74 80 echo "Moving MPICH binaries to bin/" … … 94 100 95 101 echo "Moving GMT binaries to bin/" 96 if [ -f ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt-config ]; then 97 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt . 2> /dev/null 98 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmtselect . 2> /dev/null 102 if [ -f ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt ]; then 103 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt . 104 elif [ -f ${ISSM_EXT_STATIC_DIR}/gmt/install/bin/gmtselect ]; then 105 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmtselect . 99 106 else 100 107 echo "GMT not found" … … 112 119 echo "Moving GSHHG assets to share/" 113 120 if [ -d ${ISSM_DIR}/externalpackages/gshhg/install ]; then 114 mkdir ${ISSM_DIR}/share 2> 121 mkdir ${ISSM_DIR}/share 2>/dev/null 115 122 cp -R ${ISSM_DIR}/externalpackages/gshhg/install/*.nc ${ISSM_DIR}/share 116 123 else … … 122 129 if [ -d ${ISSM_DIR}/externalpackages/proj/install/share/proj ]; then 123 130 cp ${ISSM_DIR}/externalpackages/proj/install/bin/projinfo . 124 mkdir ${ISSM_DIR}/share 2> 131 mkdir ${ISSM_DIR}/share 2>/dev/null 125 132 cp -R ${ISSM_DIR}/externalpackages/proj/install/share/proj ${ISSM_DIR}/share 126 133 else … … 133 140 echo "Running tests" 134 141 cd ${ISSM_DIR}/test/NightlyRun 135 rm python.log 2> 142 rm python.log 2>/dev/null 136 143 137 144 # Set Python environment -
issm/trunk-jpl/packagers/mac/complete-issm-mac-intel-binaries-matlab.sh
r28192 r28197 64 64 ## Constants 65 65 # 66 MATLAB_NROPTIONS="'benchmark','all','exclude',[124:126,129,234:235,418,420,435,444:445,456,701:703,1101:1110,1201:1208,1301:1304,1401:1402,1601:1602,2002,2004,20 10:2013,2020:2021,2051:2053,2084:2085,2090:2092,2101,2424:2425,3001:3300,3480:3481,4001:4100]" # NOTE: Combination of test suites from basic, Dakota, and Solid Earth builds, with tests that require a restart and those that require the JVM excluded66 MATLAB_NROPTIONS="'benchmark','all','exclude',[124:126,129,234:235,418,420,435,444:445,456,701:703,1101:1110,1201:1208,1301:1304,1401:1402,1601:1602,2002,2004,2006,2010:2013,2020:2021,2052:2053,2085,2090:2092,2424:2425,3001:3300,3480:3481,4001:4100]" # NOTE: Combination of test suites from basic, Dakota, and Solid Earth builds, with tests that require a restart and those that require the JVM excluded 67 67 MATLAB_PATH="/Applications/MATLAB_R2023b.app" 68 68 PKG="ISSM-macOS-Intel-MATLAB" # Name of directory to copy distributable files to -
issm/trunk-jpl/packagers/mac/complete-issm-mac-intel-binaries-python-3.sh
r28192 r28197 65 65 # 66 66 PKG="ISSM-macOS-Intel-Python-3" # Name of directory to copy distributable files to 67 PYTHON_NROPTIONS="--benchmark all --exclude 124:126 129 234:235 418 420 435 444:445 456 701:703 1101:1110 1201:1208 1301:1304 1401:1402 1601:1602 2002 2004 20 10:2013 2020:2021 2051:2053 2084:2085 2090:2092 21012424:2425 3001:3300 3480:3481 4001:4100" # NOTE: Combination of test suites from basic, Dakota, and Solid Earth builds, with tests that require a restart and those that require the JVM excluded67 PYTHON_NROPTIONS="--benchmark all --exclude 124:126 129 234:235 418 420 435 444:445 456 701:703 1101:1110 1201:1208 1301:1304 1401:1402 1601:1602 2002 2004 2006 2010:2013 2020:2021 2052:2053 2085 2090:2092 2424:2425 3001:3300 3480:3481 4001:4100" # NOTE: Combination of test suites from basic, Dakota, and Solid Earth builds, with tests that require a restart and those that require the JVM excluded 68 68 REPO_BASE_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/intel/python/3" 69 69 SIGNED_REPO_COPY="./signed" -
issm/trunk-jpl/packagers/mac/complete-issm-mac-silicon-binaries-matlab.sh
r28192 r28197 64 64 ## Constants 65 65 # 66 MATLAB_NROPTIONS="'benchmark','all','exclude',[119,124:126,129,216,234:235,274,418,420,423,430,433,435,441:442,444:445,448,456,462:464,470:476,508,517,544,546,701:703,808,1101:1110,1201:1208,1301:1304,1401:1402,1601:1602,2002,2004,20 10:2013,2020:2021,2051:2053,2084:2085,2090:2092,2101,2110:2113,2424:2425,3001:3300,3480:3481,4001:4100]" # NOTE: Combination of test suites from basic, Dakota, and Solid Earth builds, with tests that require a restart and those that require the JVM excluded66 MATLAB_NROPTIONS="'benchmark','all','exclude',[119,124:126,129,216,234:235,274,418,420,423,430,433,435,441:442,444:445,448,456,462:464,470:476,508,517,544,546,701:703,808,1101:1110,1201:1208,1301:1304,1401:1402,1601:1602,2002,2004,2006,2010:2013,2020:2021,2052:2053,2085,2090:2092,2424:2425,3001:3300,3480:3481,4001:4100]" # NOTE: Combination of test suites from basic, Dakota, and Solid Earth builds, with tests that require a restart and those that require the JVM excluded 67 67 MATLAB_PATH="/Applications/MATLAB_R2023b.app" 68 68 PKG="ISSM-macOS-Silicon-MATLAB" # Name of directory to copy distributable files to -
issm/trunk-jpl/packagers/mac/complete-issm-mac-silicon-binaries-python-3.sh
r28192 r28197 65 65 # 66 66 PKG="ISSM-macOS-Silicon-Python-3" # Name of directory to copy distributable files to 67 PYTHON_NROPTIONS="--benchmark all --exclude 119 124:126 129 216 234:235 274 418 420 423 430 433 435 441:442 444:445 448 456 462:464 470:476 508 517 544 546 701:703 808 1101:1110 1201:1208 1301:1304 1401:1402 1601:1602 2002 2004 20 10:2013 2020:2021 2051:2053 2084:2085 2090:2092 2101 2110:21132424:2425 3001:3300 3480:3481 4001:4100" # NOTE: Combination of test suites from basic, Dakota, and Solid Earth builds, with tests that require a restart and those that require the JVM excluded67 PYTHON_NROPTIONS="--benchmark all --exclude 119 124:126 129 216 234:235 274 418 420 423 430 433 435 441:442 444:445 448 456 462:464 470:476 508 517 544 546 701:703 808 1101:1110 1201:1208 1301:1304 1401:1402 1601:1602 2002 2004 2006 2010:2013 2020:2021 2052:2053 2085 2090:2092 2424:2425 3001:3300 3480:3481 4001:4100" # NOTE: Combination of test suites from basic, Dakota, and Solid Earth builds, with tests that require a restart and those that require the JVM excluded 68 68 REPO_BASE_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/silicon/python/3" 69 69 SIGNED_REPO_COPY="./signed" -
issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-matlab.sh
r28192 r28197 42 42 alias grep=$(which grep) 43 43 44 ## Constants 45 # 46 LIBGMT="${ISSM_DIR}/externalpackages/gmt/install/lib/libgmt.6.5.0.dylib" # Important that this is the library itself 47 LIBGMT_DIST="${ISSM_DIR}/lib/libgmt.6.dylib" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it 48 LIBPSL="${ISSM_DIR}/externalpackages/gmt/install/lib/libpostscriptlight.6.5.0.dylib" # Important that this is the library itself 49 LIBPSL_DIST="${ISSM_DIR}/lib/libpostscriptlight.6.dylib" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it 50 44 51 ## Environment 45 52 # … … 79 86 echo "Modify generic" 80 87 cat generic_static.m | sed -e "s/generic_static/generic/g" > generic.m 88 89 echo "Moving certain shared libraries to lib/" 90 cp ${LIBGMT} ${LIBGMT_DIST} 2>/dev/null 91 cp ${LIBPSL} ${LIBPSL_DIST} 2>/dev/null 81 92 82 93 echo "Moving MPICH binaries to bin/" … … 110 121 111 122 echo "Moving GMT binaries to bin/" 112 if [ -f ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt-config ]; then 113 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt . 2> /dev/null 114 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmtselect . 2> /dev/null 123 if [ -f ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt ]; then 124 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt . 125 elif [ -f ${ISSM_EXT_STATIC_DIR}/gmt/install/bin/gmtselect ]; then 126 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmtselect . 115 127 else 116 128 echo "GMT not found" … … 120 132 echo "Moving GSHHG assets to share/" 121 133 if [ -d ${ISSM_DIR}/externalpackages/gshhg/install ]; then 122 mkdir ${ISSM_DIR}/share 2> 134 mkdir ${ISSM_DIR}/share 2>/dev/null 123 135 cp -R ${ISSM_DIR}/externalpackages/gshhg/install/*.nc ${ISSM_DIR}/share 124 136 else … … 130 142 if [ -d ${ISSM_DIR}/externalpackages/proj/install/share/proj ]; then 131 143 cp ${ISSM_DIR}/externalpackages/proj/install/bin/projinfo . 132 mkdir ${ISSM_DIR}/share 2> 144 mkdir ${ISSM_DIR}/share 2>/dev/null 133 145 cp -R ${ISSM_DIR}/externalpackages/proj/install/share/proj ${ISSM_DIR}/share 134 146 else … … 141 153 echo "Running tests" 142 154 cd ${ISSM_DIR}/test/NightlyRun 143 rm matlab.log 2> 155 rm matlab.log 2>/dev/null 144 156 145 157 # Run tests, redirecting output to logfile and suppressing output to console -
issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-python-3.sh
r28192 r28197 40 40 alias cp=$(which cp) 41 41 alias grep=$(which grep) 42 43 ## Constants 44 # 45 LIBGMT="${ISSM_DIR}/externalpackages/gmt/install/lib/libgmt.6.5.0.dylib" # Important that this is the library itself 46 LIBGMT_DIST="${ISSM_DIR}/lib/libgmt.6.dylib" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it 47 LIBPSL="${ISSM_DIR}/externalpackages/gmt/install/lib/libpostscriptlight.6.5.0.dylib" # Important that this is the library itself 48 LIBPSL_DIST="${ISSM_DIR}/lib/libpostscriptlight.6.dylib" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it 42 49 43 50 ## Environment … … 72 79 echo "Modify generic" 73 80 cat generic_static.py | sed -e "s/generic_static/generic/g" > generic.py 81 82 echo "Moving certain shared libraries to lib/" 83 cp ${LIBGMT} ${LIBGMT_DIST} 2>/dev/null 84 cp ${LIBPSL} ${LIBPSL_DIST} 2>/dev/null 74 85 75 86 echo "Moving MPICH binaries to bin/" … … 103 114 104 115 echo "Moving GMT binaries to bin/" 105 if [ -f ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt-config ]; then 106 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt . 2> /dev/null 107 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmtselect . 2> /dev/null 116 if [ -f ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt ]; then 117 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt . 118 elif [ -f ${ISSM_EXT_STATIC_DIR}/gmt/install/bin/gmtselect ]; then 119 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmtselect . 108 120 else 109 121 echo "GMT not found" … … 113 125 echo "Moving GSHHG assets to share/" 114 126 if [ -d ${ISSM_DIR}/externalpackages/gshhg/install ]; then 115 mkdir ${ISSM_DIR}/share 2> 127 mkdir ${ISSM_DIR}/share 2>/dev/null 116 128 cp -R ${ISSM_DIR}/externalpackages/gshhg/install/*.nc ${ISSM_DIR}/share 117 129 else … … 123 135 if [ -d ${ISSM_DIR}/externalpackages/proj/install/share/proj ]; then 124 136 cp ${ISSM_DIR}/externalpackages/proj/install/bin/projinfo . 125 mkdir ${ISSM_DIR}/share 2> 137 mkdir ${ISSM_DIR}/share 2>/dev/null 126 138 cp -R ${ISSM_DIR}/externalpackages/proj/install/share/proj ${ISSM_DIR}/share 127 139 else … … 134 146 echo "Running tests" 135 147 cd ${ISSM_DIR}/test/NightlyRun 136 rm python.log 2> 148 rm python.log 2>/dev/null 137 149 138 150 # Set Python environment
Note:
See TracChangeset
for help on using the changeset viewer.