Changeset 27158
- Timestamp:
- 07/11/22 11:53:24 (3 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/etc/environment.sh
r27151 r27158 299 299 fi 300 300 301 HDF5_ROOT="${ISSM_EXT_DIR}/hdf5/install" 302 if [ -d "${HDF5_ROOT}" ]; then 303 export HDF5_ROOT # Used in installation of NetCDF, GDAL 304 cpath_append "${HDF5_ROOT}/include" 305 library_path_append "${HDF5_ROOT}/lib" 306 dyld_library_path_append "${HDF5_ROOT}/lib" 307 ld_library_path_append "${HDF5_ROOT}/lib" 308 fi 309 301 310 LAPACK_ROOT="${ISSM_EXT_DIR}/lapack/install" 302 311 if [ -d "${LAPACK_ROOT}" ]; then … … 497 506 fi 498 507 499 HDF5_ROOT="${ISSM_EXT_DIR}/hdf5/install"500 if [ -d "${HDF5_ROOT}" ]; then501 export HDF5_ROOT # Used in installation of NetCDF, GDAL502 cpath_append "${HDF5_ROOT}/include"503 library_path_append "${HDF5_ROOT}/lib"504 dyld_library_path_append "${HDF5_ROOT}/lib"505 ld_library_path_append "${HDF5_ROOT}/lib"506 fi507 508 508 SQLITE_ROOT="${ISSM_EXT_DIR}/sqlite/install" 509 509 if [ -d "${SQLITE_ROOT}" ]; then -
issm/trunk-jpl/externalpackages/dakota/install-6.2-mac.sh
r27150 r27158 11 11 ## Environment 12 12 # 13 14 # Check for Python 2, required by Dakota 15 # 16 PYTHON_EXECUTABLE=$(which python2) || echo "Error: This version of Dakota requires Python 2" 13 17 14 18 # Find libgfortran so that we do not have to hardcode it. … … 57 61 cp configs/${VER}/mac/cmake/InstallDarwinDylibs.cmake ${DAK_SRC}/cmake 58 62 59 #check for python 2, required by dakota60 PYTHONEXECUTIONPATH=$(which python2) || echo WARNING dakota will not compile without python261 62 63 # Configure 63 64 cd ${DAK_BUILD} … … 70 71 -DCMAKE_Fortran_COMPILER=${MPI_HOME}/bin/mpif77 \ 71 72 -DCMAKE_Fortran_FLAGS="-fallow-argument-mismatch" \ 72 -DPYTHON_EXECUTABLE=$ PYTHONEXECUTIONPATH\73 -DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE} \ 73 74 -DBoost_NO_BOOST_CMAKE=TRUE \ 74 75 -DHAVE_ACRO=OFF \ -
issm/trunk-jpl/externalpackages/gmt/configs/6/static/linux/cmake/ConfigUser.static.cmake
r26758 r27158 58 58 # Exclude optional GDAL, PCRE, PCRE2, FFTW3, LAPACK, BLAS, ZLIB dependencies even if you have them installed [FALSE] 59 59 #set (GMT_EXCLUDE_GDAL TRUE) 60 #set (GMT_EXCLUDE_PCRE TRUE)61 #set (GMT_EXCLUDE_PCRE2 TRUE)60 set (GMT_EXCLUDE_PCRE TRUE) 61 set (GMT_EXCLUDE_PCRE2 TRUE) 62 62 #set (GMT_EXCLUDE_FFTW3 TRUE) 63 63 #set (GMT_EXCLUDE_LAPACK TRUE) … … 112 112 113 113 # Copy GSHHG files to ${GMT_DATADIR}/coast [FALSE]: 114 #set (COPY_GSHHG TRUE)114 set (COPY_GSHHG TRUE) 115 115 116 116 # Set path to DCW Digital Chart of the World for GMT [auto]: -
issm/trunk-jpl/externalpackages/gmt/configs/6/static/mac/cmake/ConfigUser.static.cmake
r26758 r27158 58 58 # Exclude optional GDAL, PCRE, PCRE2, FFTW3, LAPACK, BLAS, ZLIB dependencies even if you have them installed [FALSE] 59 59 #set (GMT_EXCLUDE_GDAL TRUE) 60 #set (GMT_EXCLUDE_PCRE TRUE)61 #set (GMT_EXCLUDE_PCRE2 TRUE)60 set (GMT_EXCLUDE_PCRE TRUE) 61 set (GMT_EXCLUDE_PCRE2 TRUE) 62 62 #set (GMT_EXCLUDE_FFTW3 TRUE) 63 63 #set (GMT_EXCLUDE_LAPACK TRUE) … … 112 112 113 113 # Copy GSHHG files to ${GMT_DATADIR}/coast [FALSE]: 114 #set (COPY_GSHHG TRUE)114 set (COPY_GSHHG TRUE) 115 115 116 116 # Set path to DCW Digital Chart of the World for GMT [auto]: -
issm/trunk-jpl/m4/issm_options.m4
r27063 r27158 196 196 IS_MAC=yes 197 197 AC_DEFINE([_MAC_], [1], [is macOS]) 198 dnl When standard Dakota installation has been updated to new 199 dnl version, remove the following 200 export CFLAGS="-Wno-deprecated-register -Wno-return-type" 201 export CXXFLAGS="-Wno-deprecated-register -Wno-return-type" 198 202 ;; 199 203 *) -
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-matlab.sh
r27149 r27158 112 112 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 2> /dev/null 113 113 114 echo "Moving GSHHG assets to share/" 115 if [ -d ${ISSM_DIR}/externalpackages/gmt/install/share/coast ]; then 116 mkdir ${ISSM_DIR}/share 2> /dev/null 117 cp -R ${ISSM_DIR}/externalpackages/gmt/install/share/coast ${ISSM_DIR}/share 118 else 119 echo "GSHHG not found" 120 exit 1 121 fi 122 114 123 echo "Moving PROJ assets to share/" 115 124 if [ -d ${ISSM_DIR}/externalpackages/proj/install/share/proj ]; then -
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-2.sh
r27149 r27158 105 105 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 2> /dev/null 106 106 107 echo "Moving GSHHG assets to share/" 108 if [ -d ${ISSM_DIR}/externalpackages/gmt/install/share/coast ]; then 109 mkdir ${ISSM_DIR}/share 2> /dev/null 110 cp -R ${ISSM_DIR}/externalpackages/gmt/install/share/coast ${ISSM_DIR}/share 111 else 112 echo "GSHHG not found" 113 exit 1 114 fi 115 107 116 echo "Moving PROJ assets to share/" 108 117 if [ -d ${ISSM_DIR}/externalpackages/proj/install/share/proj ]; then -
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-3.sh
r27149 r27158 105 105 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 2> /dev/null 106 106 107 echo "Moving GSHHG assets to share/" 108 if [ -d ${ISSM_DIR}/externalpackages/gmt/install/share/coast ]; then 109 mkdir ${ISSM_DIR}/share 2> /dev/null 110 cp -R ${ISSM_DIR}/externalpackages/gmt/install/share/coast ${ISSM_DIR}/share 111 else 112 echo "GSHHG not found" 113 exit 1 114 fi 115 107 116 echo "Moving PROJ assets to share/" 108 117 if [ -d ${ISSM_DIR}/externalpackages/proj/install/share/proj ]; then -
issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-matlab.sh
r27148 r27158 109 109 fi 110 110 111 echo "Moving Gmsh binaries to bin/" 112 if [ -f ${ISSM_DIR}/externalpackages/gmsh/install/bin/gmsh ]; then 113 cp ${ISSM_DIR}/externalpackages/gmsh/install/bin/gmsh . 114 else 115 echo "Gmsh not found" 116 exit 1 117 fi 118 111 119 echo "Moving GMT binaries to bin/" 112 120 if [ -f ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt-config ]; then … … 118 126 fi 119 127 120 echo "Moving Gmsh binaries to bin/" 121 if [ -f ${ISSM_DIR}/externalpackages/gmsh/install/bin/gmsh ]; then 122 cp ${ISSM_DIR}/externalpackages/gmsh/install/bin/gmsh . 128 echo "Moving GSHHG assets to share/" 129 if [ -d ${ISSM_DIR}/externalpackages/gmt/install/share/coast ]; then 130 mkdir ${ISSM_DIR}/share 2> /dev/null 131 cp -R ${ISSM_DIR}/externalpackages/gmt/install/share/coast ${ISSM_DIR}/share 123 132 else 124 echo "G mshnot found"133 echo "GSHHG not found" 125 134 exit 1 126 135 fi -
issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-python-2.sh
r27148 r27158 101 101 fi 102 102 103 echo "Moving Gmsh binaries to bin/" 104 if [ -f ${ISSM_DIR}/externalpackages/gmsh/install/bin/gmsh ]; then 105 cp ${ISSM_DIR}/externalpackages/gmsh/install/bin/gmsh . 106 else 107 echo "Gmsh not found" 108 exit 1 109 fi 110 103 111 echo "Moving GMT binaries to bin/" 104 112 if [ -f ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt-config ]; then … … 110 118 fi 111 119 112 echo "Moving Gmsh binaries to bin/" 113 if [ -f ${ISSM_DIR}/externalpackages/gmsh/install/bin/gmsh ]; then 114 cp ${ISSM_DIR}/externalpackages/gmsh/install/bin/gmsh . 120 echo "Moving GSHHG assets to share/" 121 if [ -d ${ISSM_DIR}/externalpackages/gmt/install/share/coast ]; then 122 mkdir ${ISSM_DIR}/share 2> /dev/null 123 cp -R ${ISSM_DIR}/externalpackages/gmt/install/share/coast ${ISSM_DIR}/share 115 124 else 116 echo "G mshnot found"125 echo "GSHHG not found" 117 126 exit 1 118 127 fi -
issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-python-3.sh
r27148 r27158 101 101 fi 102 102 103 echo "Moving Gmsh binaries to bin/" 104 if [ -f ${ISSM_DIR}/externalpackages/gmsh/install/bin/gmsh ]; then 105 cp ${ISSM_DIR}/externalpackages/gmsh/install/bin/gmsh . 106 else 107 echo "Gmsh not found" 108 exit 1 109 fi 110 103 111 echo "Moving GMT binaries to bin/" 104 112 if [ -f ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt-config ]; then … … 110 118 fi 111 119 112 echo "Moving Gmsh binaries to bin/" 113 if [ -f ${ISSM_DIR}/externalpackages/gmsh/install/bin/gmsh ]; then 114 cp ${ISSM_DIR}/externalpackages/gmsh/install/bin/gmsh . 115 else 116 echo "Gmsh not found" 120 echo "Moving GSHHG assets to share/" 121 if [ -d ${ISSM_DIR}/externalpackages/gmt/install/share/coast ]; then 122 mkdir ${ISSM_DIR}/share 2> /dev/null 123 cp -R ${ISSM_DIR}/externalpackages/gmt/install/share/coast ${ISSM_DIR}/share 124 else 125 echo "GSHHG not found" 117 126 exit 1 118 127 fi -
issm/trunk-jpl/src/m/coordsystems/gmtmaskparallel.m
r25189 r27158 4 4 % Usage: 5 5 % mask.ocean = gmtmaskparallel(md.mesh.lat,md.mesh.long,8); 6 % 7 % TODO: 8 % - Remove hardcoded paths and instead find paths dynamically 6 9 % 7 10 -
issm/trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.m
r27145 r27158 23 23 % need to do a bit more to find the Gmsh executable 24 24 [filepath,name,ext]=fileparts(which('gmsh.')); 25 setenv('PATH',[filepath ':' getenv('PATH')]) 25 setenv('PATH',[filepath ':' getenv('PATH')]); 26 26 [s,r]=system(['gmsh -info 2>&1 | command grep ''Version'' | sed -e ''s/Version[[:blank:]]*:[[:blank:]]//'' | cut -d ''.'' -f1']); 27 27 if s~=0, -
issm/trunk-jpl/src/m/modules/CoordTransform.m
r27089 r27158 34 34 % the 'PROJ_LIB' environment variable so that the PROJ binary can find the 35 35 % assets it needs 36 if isdir( 'share/proj')36 if isdir(what('share/proj').path) 37 37 setenv('PROJ_LIB', what('share/proj').path); 38 38 end
Note:
See TracChangeset
for help on using the changeset viewer.