Changeset 27497
- Timestamp:
- 01/04/23 11:18:51 (2 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-matlab.sh
r27158 r27497 30 30 LIBGFORTRAN="/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0" # Important that this is the library itself 31 31 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 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 excluded32 MATLAB_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 33 33 MATLAB_PATH="/usr/local/MATLAB/R2019b" 34 34 -
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-2.sh
r27443 r27497 30 30 LIBGFORTRAN="/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0" # Important that this is the library itself 31 31 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 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 excluded32 PYTHON_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 33 33 34 34 ## Environment -
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-3.sh
r27443 r27497 30 30 LIBGFORTRAN="/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0" # Important that this is the library itself 31 31 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 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 excluded32 PYTHON_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 33 33 34 34 ## Environment -
issm/trunk-jpl/packagers/mac/test-issm-mac-binaries-matlab.sh
r27148 r27497 11 11 # 12 12 INSTALL_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 excluded13 MATLAB_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 14 14 MATLAB_PATH="/Applications/MATLAB_R2018a.app" 15 15 PKG="ISSM-macOS-MATLAB" -
issm/trunk-jpl/packagers/mac/test-issm-mac-binaries-python-2.sh
r27443 r27497 12 12 INSTALL_DIR=. 13 13 PKG="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 excluded14 PYTHON_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 15 15 16 16 COMPRESSED_PKG="${PKG}.zip" -
issm/trunk-jpl/packagers/mac/test-issm-mac-binaries-python-3.sh
r27443 r27497 12 12 INSTALL_DIR=. 13 13 PKG="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 excluded14 PYTHON_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 15 15 16 16 COMPRESSED_PKG="${PKG}.zip" -
issm/trunk-jpl/test/NightlyRun/test622.py
r27481 r27497 1 #Test Name:79NorthHydrologyArmapw 1 #Test Name:79NorthHydrologyArmapw 2 2 import numpy as np 3 3 … … 17 17 md = setflowequation(md, 'SSA', 'all') 18 18 19 # Default friction19 # Default friction 20 20 md.friction = friction() 21 21 md.friction.coefficient = 30 * np.ones(md.mesh.numberofvertices) … … 30 30 if md.mesh.elements[ii][vertex] - 1 in iid1: # one vertex in basin 1; NOTE: offset because of 1-based vertex indexing 31 31 idb_df[ii] = 1 32 if idb_df[ii] == 0: 32 if idb_df[ii] == 0: # no vertex was found in basin 1 33 33 for vertex in range(3): 34 34 idb_df[ii] = 2 35 # Covariance matrix35 # Covariance matrix 36 36 covGlob = np.array([[1e9,0,0,0],[0,1e9,0,0],[0,0,0.1,0],[0,0,0,0.1]]) 37 37 38 38 # Hydrology scheme 39 md.hydrology = hydrologyarmapw()39 md.hydrology = hydrologyarmapw() 40 40 md.hydrology.num_basins = 2 41 41 md.hydrology.basin_id = np.copy(idb_df).astype(int) 42 md.hydrology.monthlyfactors = 1 *np.ones((md.hydrology.num_basins,12));42 md.hydrology.monthlyfactors = 1 * np.ones((md.hydrology.num_basins,12)); 43 43 md.hydrology.monthlyfactors[:,0:3] = 0 44 md.hydrology.num_params = 2 # number of parameters in the polynomial45 md.hydrology.num_breaks = 2 # number of breakpoints46 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]])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]]) 50 50 md.hydrology.arma_timestep = 1 51 51 md.hydrology.ar_order = 1 52 52 md.hydrology.ma_order = 1 53 md.hydrology.arlag_coefs = np.array([[0.98], [0.98]])54 md.hydrology.malag_coefs = np.array([[0], [0]])53 md.hydrology.arlag_coefs = np.array([[0.98], [0.98]]) 54 md.hydrology.malag_coefs = np.array([[0], [0]]) 55 55 56 56 # SMB 57 md.smb = SMBarma()57 md.smb = SMBarma() 58 58 md.smb.num_basins = 2 59 59 md.smb.basin_id = np.copy(idb_df) 60 60 md.smb.num_breaks = 0 61 61 md.smb.num_params = 1 62 md.smb.polynomialparams = 0 *np.array([[0.5],[0.2]])62 md.smb.polynomialparams = 0 * np.array([[0.5], [0.2]]) 63 63 md.smb.ar_order = 1 64 64 md.smb.ma_order = 1 65 md.smb.arlag_coefs = np.array([[0], [0]])66 md.smb.malag_coefs = np.array([[0], [0]])65 md.smb.arlag_coefs = np.array([[0], [0]]) 66 md.smb.malag_coefs = np.array([[0], [0]]) 67 67 md.smb.arma_timestep = 1.0 68 68 … … 73 73 md.stochasticforcing.default_id = idb_df 74 74 md.stochasticforcing.covariance = covGlob # global covariance 75 md.stochasticforcing.stochastictimestep = 1; # time step of stochastic forcing75 md.stochasticforcing.stochastictimestep = 1; # time step of stochastic forcing 76 76 md.stochasticforcing.randomflag = 0 # determines true/false randomness 77 77 … … 91 91 92 92 # Fields and tolerances to track changes 93 field_names = [ 94 95 93 field_names = ['Vel1', 'Thickness1', 'SmbMassBalance1', 'FrictionWaterPressure1', 94 'Vel12', 'Thickness12','SmbMassBalance12', 'FrictionWaterPressure12', 95 'Vel24', 'Thickness24','SmbMassBalance24', 'FrictionWaterPressure24'] 96 96 97 97 field_tolerances = [2e-10, 2e-10, 2e-10, 2e-10, … … 111 111 md.results.TransientSolution[23].SmbMassBalance, 112 112 md.results.TransientSolution[23].FrictionWaterPressure] 113 114 115 116 ## Fields and tolerances to track changes117 #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.