Changeset 27565


Ignore:
Timestamp:
02/10/23 13:57:01 (2 years ago)
Author:
jdquinn
Message:

CHG: Various fixes for static and shared versions of ext pkg install scripts; fixing EsaGRACE example

Location:
issm/trunk-jpl
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/examples/EsaGRACE/runme.m

    r26289 r27565  
    125125                set(0,'DefaultAxesFontSize',18,'DefaultAxesLineWidth',1,'DefaultTextFontSize',18,'DefaultLineMarkerSize',8)
    126126                figure1=figure('Position', [100, 100, 1000, 500]);
    127                 gcf; load coast; cla;
     127                gcf; load coastlines; cla;
    128128                pcolor(lon_grid,lat_grid,sol_grid); shading flat; hold on;
    129129                if (kk==1)
    130                         geoshow(flipud(lat),flipud(long),'DisplayType','polygon','FaceColor','white');
     130                        geoshow(flipud(coastlat),flipud(coastlon),'DisplayType','polygon','FaceColor','white');
    131131                end
    132                 plot(long,lat,'k'); hold off;
     132                plot(coastlon,coastlat,'k'); hold off;
    133133                c1=colorbar;
    134134                colormap('haxby');
  • issm/trunk-jpl/externalpackages/dakota/install-6.2-mac-static.sh

    r27563 r27565  
    2828export DAK_SRC=${ISSM_DIR}/externalpackages/dakota/src # DO NOT CHANGE THIS
    2929export LAPACK_LIBS="-L${LAPACK_ROOT}/lib -lflapack ${LIBGFORTRAN_ROOT}/libgfortran.a ${LIBGFORTRAN_ROOT}/libquadmath.a ${LIBGCC}" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it
     30export LDFLAGS="-framework CoreFoundation"
    3031
    3132# Cleanup
  • issm/trunk-jpl/externalpackages/dakota/install-6.2-mac.sh

    r27563 r27565  
    2525export DAK_SRC=${ISSM_DIR}/externalpackages/dakota/src # DO NOT CHANGE THIS
    2626export LAPACK_LIBS="-L${LAPACK_ROOT}/lib -lflapack -L${LIBGFORTRAN_ROOT} -lgfortran" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it
     27export LDFLAGS="-framework CoreFoundation"
    2728
    2829# Cleanup
  • issm/trunk-jpl/externalpackages/gdal/install-3-python-static.sh

    r27541 r27565  
    1717export CXX=mpicxx
    1818export LDFLAGS="-L${HDF5_ROOT}/lib" # Need to do this so HDF5 symbols referenced in NETCDF library are found at link time
    19 export LIBS="-lhdf5_hl -lhdf5" # Need to do this so HDF5 symbols referenced in NETCDF library are found at link time
     19export LIBS="-lsqlite3 -lhdf5_hl -lhdf5" # Need to do this so HDF5 symbols referenced in NETCDF library are found at link time
    2020export 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)
    2121
  • issm/trunk-jpl/externalpackages/gdal/install-3-static.sh

    r27562 r27565  
    1717export CXX=mpicxx
    1818export LDFLAGS="-L${HDF5_ROOT}/lib" # Need to do this so HDF5 symbols referenced in NETCDF library are found at link time
    19 export LIBS="-lhdf5_hl -lhdf5" # Need to do this so HDF5 symbols referenced in NETCDF library are found at link time
     19export LIBS="-lsqlite3 -lhdf5_hl -lhdf5" # Need to do this so HDF5 symbols referenced in NETCDF library are found at link time
    2020export 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.
    2121
  • issm/trunk-jpl/externalpackages/gmt/configs/6/static/cmake/modules/FindGDAL.cmake

    r27151 r27565  
    166166# find all manually-supplied libs
    167167if (GDAL_EXTRA_LIBS)
    168         # Ensure -l is precedeced by whitespace to not match
     168        # Ensure -l is preceded by whitespace to not match
    169169        # '-l' in '-L/usr/lib/x86_64-linux-gnu/hdf5/serial'
    170170        string (REGEX MATCHALL "(^| )-l[^ ]+" _gdal_extra_lib_dashl ${GDAL_EXTRA_LIBS})
  • issm/trunk-jpl/externalpackages/gmt/configs/6/static/cmake/modules/FindNETCDF.cmake

    r27151 r27565  
    5959                        OUTPUT_VARIABLE NETCDF_CONFIG_LIBS)
    6060                if (NETCDF_CONFIG_LIBS)
    61                         # Ensure -l is precedeced by whitespace to not match
     61                        # Ensure -l is preceded by whitespace to not match
    6262                        # '-l' in '-L/usr/lib/x86_64-linux-gnu/hdf5/serial'
    6363                        string (REGEX MATCHALL "(^| )-l[^ ]+" _netcdf_dashl ${NETCDF_CONFIG_LIBS})
  • issm/trunk-jpl/externalpackages/gmt/install-6-mac-static.sh

    r27541 r27565  
    2020
    2121GDAL_EXTRA_LIBS="-lc++" # `$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)
    22 NETCDF_EXTRA_LIBS="-lsqlite3 -lpthread -ldl -liconv" # `$NETCDF_ROOT/bin/nc-config --libs` does not report certain dependencies of certain static libraries (see also customized configuration file ./configs/6/static/cmake/modules/FindNETCDF.cmake)
     22NETCDF_EXTRA_LIBS="-lpthread -ldl -liconv" # `$NETCDF_ROOT/bin/nc-config --libs` does not report certain dependencies of certain static libraries (see also customized configuration file ./configs/6/static/cmake/modules/FindNETCDF.cmake)
    2323
    2424# Environment
     
    2727export CURL_INCLUDE_DIRS="${CURL_ROOT}/include"
    2828export CURL_LIBRARIES="${CURL_ROOT}/lib/libcurl.a;${ZLIB_ROOT}/lib/libz.a"
    29 export LDFLAGS="-framework CoreFoundation -framework Security"
     29export LDFLAGS="-lsqlite3 -framework CoreFoundation -framework Security"
    3030export PREFIX="${ISSM_DIR}/externalpackages/gmt/install" # NOTE: Need to export this to be picked up by customized ConfigUser.cmake (see below). Set to location where external package should be installed.
    3131
Note: See TracChangeset for help on using the changeset viewer.