Changeset 27497


Ignore:
Timestamp:
01/04/23 11:18:51 (2 years ago)
Author:
jdquinn
Message:

CHG: Skip test 622 for binaries because it stalls and/or has consistency issues.

Location:
issm/trunk-jpl
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-matlab.sh

    r27158 r27497  
    3030LIBGFORTRAN="/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0" # Important that this is the library itself
    3131LIBGFORTRAN_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
    32 MATLAB_NROPTIONS="'benchmark','all','exclude',[125,126,234,235,418,420,435,444,445,701,702,703,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1201,1202,1203,1204,1205,1206,1207,1208,1301,1302,1303,1304,1401,1402,1601,1602,2002,2003,2004,2006,2007,2008,2010,2011,2021,2051,2052,2053,2084,2085,2090,2101,2424,2425,3001:3200,3201,3202,3300,3480,3481,4001,4002,4003]" # 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
     32MATLAB_NROPTIONS="'benchmark','all','exclude',[125,126,234,235,418,420,435,444,445,622,701,702,703,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1201,1202,1203,1204,1205,1206,1207,1208,1301,1302,1303,1304,1401,1402,1601,1602,2002,2003,2004,2006,2007,2008,2010,2011,2021,2051,2052,2053,2084,2085,2090,2101,2424,2425,3001:3200,3201,3202,3300,3480,3481,4001,4002,4003]" # 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
    3333MATLAB_PATH="/usr/local/MATLAB/R2019b"
    3434
  • issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-2.sh

    r27443 r27497  
    3030LIBGFORTRAN="/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0" # Important that this is the library itself
    3131LIBGFORTRAN_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
    32 PYTHON_NROPTIONS="--benchmark all --exclude 125 126 234 235 418 420 435 444 445 701 702 703 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1201 1202 1203 1204 1205 1206 1207 1208 1301 1302 1303 1304 1401 1402 1601 1602 2002 2003 2004 2005 2006 2007 2008 2010 2011 2021 2051 2052 2053 2084 2085 2090 2101 2424 2425 3001:3200 3201 3202 3300 3480 3481 4001 4002 4003" # 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
     32PYTHON_NROPTIONS="--benchmark all --exclude 125 126 234 235 418 420 435 444 445 622 701 702 703 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1201 1202 1203 1204 1205 1206 1207 1208 1301 1302 1303 1304 1401 1402 1601 1602 2002 2003 2004 2005 2006 2007 2008 2010 2011 2021 2051 2052 2053 2084 2085 2090 2101 2424 2425 3001:3200 3201 3202 3300 3480 3481 4001 4002 4003" # 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
    3333
    3434## Environment
  • issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-3.sh

    r27443 r27497  
    3030LIBGFORTRAN="/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0" # Important that this is the library itself
    3131LIBGFORTRAN_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
    32 PYTHON_NROPTIONS="--benchmark all --exclude 125 126 234 235 418 420 435 444 445 701 702 703 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1201 1202 1203 1204 1205 1206 1207 1208 1301 1302 1303 1304 1401 1402 1601 1602 2002 2003 2004 2005 2006 2007 2008 2010 2011 2021 2051 2052 2053 2084 2085 2090 2101 2424 2425 3001:3200 3201 3202 3300 3480 3481 4001 4002 4003" # 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
     32PYTHON_NROPTIONS="--benchmark all --exclude 125 126 234 235 418 420 435 444 445 622 701 702 703 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1201 1202 1203 1204 1205 1206 1207 1208 1301 1302 1303 1304 1401 1402 1601 1602 2002 2003 2004 2005 2006 2007 2008 2010 2011 2021 2051 2052 2053 2084 2085 2090 2101 2424 2425 3001:3200 3201 3202 3300 3480 3481 4001 4002 4003" # 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
    3333
    3434## Environment
  • issm/trunk-jpl/packagers/mac/test-issm-mac-binaries-matlab.sh

    r27148 r27497  
    1111#
    1212INSTALL_DIR=.
    13 MATLAB_NROPTIONS="'benchmark','all','exclude',[125,126,234,235,418,420,435,444,445,701,702,703,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1201,1202,1203,1204,1205,1206,1207,1208,1301,1302,1303,1304,1401,1402,1601,1602,2002,2003,2004,2006,2007,2008,2010,2011,2021,2051,2052,2053,2084,2085,2090,2101,2424,2425,3001:3200,3201,3202,3300,3480,3481,4001,4002,4003]" # 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
     13MATLAB_NROPTIONS="'benchmark','all','exclude',[125,126,234,235,418,420,435,444,445,622,701,702,703,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1201,1202,1203,1204,1205,1206,1207,1208,1301,1302,1303,1304,1401,1402,1601,1602,2002,2003,2004,2006,2007,2008,2010,2011,2021,2051,2052,2053,2084,2085,2090,2101,2424,2425,3001:3200,3201,3202,3300,3480,3481,4001,4002,4003]" # 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
    1414MATLAB_PATH="/Applications/MATLAB_R2018a.app"
    1515PKG="ISSM-macOS-MATLAB"
  • issm/trunk-jpl/packagers/mac/test-issm-mac-binaries-python-2.sh

    r27443 r27497  
    1212INSTALL_DIR=.
    1313PKG="ISSM-macOS-Python-2"
    14 PYTHON_NROPTIONS="--benchmark all --exclude 125 126 234 235 418 420 435 444 445 701 702 703 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1201 1202 1203 1204 1205 1206 1207 1208 1301 1302 1303 1304 1401 1402 1601 1602 2002 2003 2004 2005 2006 2007 2008 2010 2011 2021 2051 2052 2053 2084 2085 2090 2101 2424 2425 3001:3200 3201 3202 3300 3480 3481 4001 4002 4003" # 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
     14PYTHON_NROPTIONS="--benchmark all --exclude 125 126 234 235 418 420 435 444 445 622 701 702 703 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1201 1202 1203 1204 1205 1206 1207 1208 1301 1302 1303 1304 1401 1402 1601 1602 2002 2003 2004 2005 2006 2007 2008 2010 2011 2021 2051 2052 2053 2084 2085 2090 2101 2424 2425 3001:3200 3201 3202 3300 3480 3481 4001 4002 4003" # 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
    1515
    1616COMPRESSED_PKG="${PKG}.zip"
  • issm/trunk-jpl/packagers/mac/test-issm-mac-binaries-python-3.sh

    r27443 r27497  
    1212INSTALL_DIR=.
    1313PKG="ISSM-macOS-Python-3"
    14 PYTHON_NROPTIONS="--benchmark all --exclude 125 126 234 235 418 420 435 444 445 701 702 703 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1201 1202 1203 1204 1205 1206 1207 1208 1301 1302 1303 1304 1401 1402 1601 1602 2002 2003 2004 2005 2006 2007 2008 2010 2011 2021 2051 2052 2053 2084 2085 2090 2101 2424 2425 3001:3200 3201 3202 3300 3480 3481 4001 4002 4003" # 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
     14PYTHON_NROPTIONS="--benchmark all --exclude 125 126 234 235 418 420 435 444 445 622 701 702 703 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1201 1202 1203 1204 1205 1206 1207 1208 1301 1302 1303 1304 1401 1402 1601 1602 2002 2003 2004 2005 2006 2007 2008 2010 2011 2021 2051 2052 2053 2084 2085 2090 2101 2424 2425 3001:3200 3201 3202 3300 3480 3481 4001 4002 4003" # 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
    1515
    1616COMPRESSED_PKG="${PKG}.zip"
  • issm/trunk-jpl/test/NightlyRun/test622.py

    r27481 r27497  
    1 #Test Name:79NorthHydrologyArmapw 
     1#Test Name:79NorthHydrologyArmapw
    22import numpy as np
    33
     
    1717md = setflowequation(md, 'SSA', 'all')
    1818
    19 #Default friction
     19# Default friction
    2020md.friction = friction()
    2121md.friction.coefficient = 30 * np.ones(md.mesh.numberofvertices)
     
    3030        if md.mesh.elements[ii][vertex] - 1 in iid1:  # one vertex in basin 1; NOTE: offset because of 1-based vertex indexing
    3131            idb_df[ii] = 1
    32     if idb_df[ii] == 0:  # no vertex was found in basin 1
     32    if idb_df[ii] == 0: # no vertex was found in basin 1
    3333        for vertex in range(3):
    3434            idb_df[ii] = 2
    35 #Covariance matrix
     35# Covariance matrix
    3636covGlob = np.array([[1e9,0,0,0],[0,1e9,0,0],[0,0,0.1,0],[0,0,0,0.1]])
    3737
    3838# Hydrology scheme
    39 md.hydrology             = hydrologyarmapw()
     39md.hydrology                       = hydrologyarmapw()
    4040md.hydrology.num_basins            = 2
    4141md.hydrology.basin_id              = np.copy(idb_df).astype(int)
    42 md.hydrology.monthlyfactors        = 1*np.ones((md.hydrology.num_basins,12));
     42md.hydrology.monthlyfactors        = 1 * np.ones((md.hydrology.num_basins,12));
    4343md.hydrology.monthlyfactors[:,0:3] = 0
    44 md.hydrology.num_params            = 2 #number of parameters in the polynomial
    45 md.hydrology.num_breaks            = 2 #number of breakpoints
    46 termconst                          = np.array([[0.5*1e6,0.1*1e6,0.5e6],[0.5*1e6,0.1*1e6,0.5e6]])
    47 termtrend                          = np.array([[1*1e5,0,0],[0,1*1e5,0]])
    48 md.hydrology.polynomialparams      = np.transpose(np.stack((termconst,termtrend)),(1,2,0))
    49 md.hydrology.datebreaks            = np.array([[20,40],[20,40]])
     44md.hydrology.num_params            = 2 # number of parameters in the polynomial
     45md.hydrology.num_breaks            = 2 # number of breakpoints
     46termconst                          = np.array([[0.5 * 1e6, 0.1 * 1e6, 0.5e6],[0.5 * 1e6, 0.1 * 1e6, 0.5e6]])
     47termtrend                          = np.array([[1 * 1e5, 0, 0],[0, 1 * 1e5, 0]])
     48md.hydrology.polynomialparams      = np.transpose(np.stack((termconst, termtrend)), (1, 2, 0))
     49md.hydrology.datebreaks            = np.array([[20, 40], [20, 40]])
    5050md.hydrology.arma_timestep         = 1
    5151md.hydrology.ar_order              = 1
    5252md.hydrology.ma_order              = 1
    53 md.hydrology.arlag_coefs           = np.array([[0.98],[0.98]])
    54 md.hydrology.malag_coefs           = np.array([[0],[0]])
     53md.hydrology.arlag_coefs           = np.array([[0.98], [0.98]])
     54md.hydrology.malag_coefs           = np.array([[0], [0]])
    5555
    5656# SMB
    57 md.smb = SMBarma()
     57md.smb                       = SMBarma()
    5858md.smb.num_basins            = 2
    5959md.smb.basin_id              = np.copy(idb_df)
    6060md.smb.num_breaks            = 0
    6161md.smb.num_params            = 1
    62 md.smb.polynomialparams      = 0*np.array([[0.5],[0.2]])
     62md.smb.polynomialparams      = 0 * np.array([[0.5], [0.2]])
    6363md.smb.ar_order              = 1
    6464md.smb.ma_order              = 1
    65 md.smb.arlag_coefs           = np.array([[0],[0]])
    66 md.smb.malag_coefs           = np.array([[0],[0]])
     65md.smb.arlag_coefs           = np.array([[0], [0]])
     66md.smb.malag_coefs           = np.array([[0], [0]])
    6767md.smb.arma_timestep         = 1.0
    6868
     
    7373md.stochasticforcing.default_id = idb_df
    7474md.stochasticforcing.covariance = covGlob # global covariance
    75 md.stochasticforcing.stochastictimestep  = 1; #time step of stochastic forcing
     75md.stochasticforcing.stochastictimestep  = 1; # time step of stochastic forcing
    7676md.stochasticforcing.randomflag = 0  # determines true/false randomness
    7777
     
    9191
    9292# Fields and tolerances to track changes
    93 field_names = [ 'Vel1',  'Thickness1', 'SmbMassBalance1',  'FrictionWaterPressure1',
    94                 'Vel12', 'Thickness12','SmbMassBalance12', 'FrictionWaterPressure12',
    95                 'Vel24', 'Thickness24','SmbMassBalance24', 'FrictionWaterPressure24']
     93field_names = ['Vel1',  'Thickness1', 'SmbMassBalance1',  'FrictionWaterPressure1',
     94               'Vel12', 'Thickness12','SmbMassBalance12', 'FrictionWaterPressure12',
     95               'Vel24', 'Thickness24','SmbMassBalance24', 'FrictionWaterPressure24']
    9696
    9797field_tolerances = [2e-10, 2e-10, 2e-10, 2e-10,
     
    111111                md.results.TransientSolution[23].SmbMassBalance,
    112112                md.results.TransientSolution[23].FrictionWaterPressure]
    113 
    114 
    115 
    116 ## Fields and tolerances to track changes
    117 #field_names = ['Vx1', 'Vy1', 'Vel1', 'Thickness1', 'FrictionWaterPressure1',
    118 #               'Vx2', 'Vy2', 'Vel2', 'Thickness2', 'FrictionWaterPressure2',
    119 #               'Vx10', 'Vy10', 'Vel10', 'Thickness10', 'FrictionWaterPressure10']
    120 #
    121 #field_tolerances = [2e-10, 2e-10, 2e-10, 2e-10, 2e-10,
    122 #                    4e-10, 4e-10, 4e-10, 4e-10, 4e-10,
    123 #                    8e-10, 8e-10, 8e-10, 8e-10, 8e-10]
    124 #
    125 #field_values = [md.results.TransientSolution[0].Vx,
    126 #                md.results.TransientSolution[0].Vy,
    127 #                md.results.TransientSolution[0].Vel,
    128 #                md.results.TransientSolution[0].Thickness,
    129 #                md.results.TransientSolution[0].FrictionWaterPressure,
    130 #                md.results.TransientSolution[1].Vx,
    131 #                md.results.TransientSolution[1].Vy,
    132 #                md.results.TransientSolution[1].Vel,
    133 #                md.results.TransientSolution[1].Thickness,
    134 #                md.results.TransientSolution[1].FrictionWaterPressure,
    135 #                md.results.TransientSolution[4].Vx,
    136 #                md.results.TransientSolution[4].Vy,
    137 #                md.results.TransientSolution[4].Vel,
    138 #                md.results.TransientSolution[4].Thickness,
    139 #                md.results.TransientSolution[4].FrictionWaterPressure]
Note: See TracChangeset for help on using the changeset viewer.