Guest User

Untitled

a guest
Oct 20th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.11 KB | None | 0 0
  1. ======================================================================
  2. ERROR: test_1d_acoustics
  3. ----------------------------------------------------------------------
  4. Traceback (most recent call last):
  5. File "/Users/aron/.virtualenvs/pyclaw/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
  6. self.test(*self.arg)
  7. File "/Users/aron/sandbox/clawpack/clawpack/pyclaw/util.py", line 126, in test_app
  8. raise VerifyError(err)
  9. VerifyError: /Users/aron/sandbox/clawpack/pyclaw/apps/acoustics_1d_homogeneous/acoustics.py
  10. ********************************************************************************
  11. verification function
  12. def acoustics_verify(claw):
  13. from clawpack.pyclaw.util import check_diff
  14. import numpy as np
  15.  
  16. # tests are done across the entire domain of q normally
  17. q0=claw.frames[0].state.get_q_global()
  18. qfinal=claw.frames[claw.num_output_times].state.get_q_global()
  19.  
  20. # and q_global is only returned on process 0
  21. if q0 != None and qfinal != None:
  22. q0 = q0.reshape([-1])
  23. qfinal = qfinal.reshape([-1])
  24. dx=claw.solution.domain.grid.delta[0]
  25. test = dx*np.sum(np.abs(qfinal-q0))
  26. return check_diff(expected, test, abstol=1e-5)
  27. else:
  28. return
  29.  
  30. args : {'use_petsc': True, 'kernel_language': 'Fortran', 'solver_type': 'sharpclaw'}
  31. expected: 0.000298879563857
  32. test : 0.000269280515652
  33. abstol : 1e-05
  34. ********************************************************************************
  35.  
  36. -------------------- >> begin captured stdout << ---------------------
  37. {'use_petsc': True, 'kernel_language': 'Fortran', 'solver_type': 'sharpclaw'}
  38. 2012-06-15 23:09:30,797 INFO CLAW: Solution 0 computed for time t=0.000000
  39. 2012-06-15 23:09:30,825 INFO CLAW: Solution 1 computed for time t=0.200000
  40. 2012-06-15 23:09:30,853 INFO CLAW: Solution 2 computed for time t=0.400000
  41. 2012-06-15 23:09:30,882 INFO CLAW: Solution 3 computed for time t=0.600000
  42. 2012-06-15 23:09:30,910 INFO CLAW: Solution 4 computed for time t=0.800000
  43. 2012-06-15 23:09:30,938 INFO CLAW: Solution 5 computed for time t=1.000000
  44.  
  45. --------------------- >> end captured stdout << ----------------------
  46.  
  47. ======================================================================
  48. ERROR: test_1d_acoustics
  49. ----------------------------------------------------------------------
  50. Traceback (most recent call last):
  51. File "/Users/aron/.virtualenvs/pyclaw/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
  52. self.test(*self.arg)
  53. File "/Users/aron/sandbox/clawpack/clawpack/pyclaw/util.py", line 126, in test_app
  54. raise VerifyError(err)
  55. VerifyError: /Users/aron/sandbox/clawpack/pyclaw/apps/acoustics_1d_homogeneous/acoustics.py
  56. ********************************************************************************
  57. verification function
  58. def acoustics_verify(claw):
  59. from clawpack.pyclaw.util import check_diff
  60. import numpy as np
  61.  
  62. # tests are done across the entire domain of q normally
  63. q0=claw.frames[0].state.get_q_global()
  64. qfinal=claw.frames[claw.num_output_times].state.get_q_global()
  65.  
  66. # and q_global is only returned on process 0
  67. if q0 != None and qfinal != None:
  68. q0 = q0.reshape([-1])
  69. qfinal = qfinal.reshape([-1])
  70. dx=claw.solution.domain.grid.delta[0]
  71. test = dx*np.sum(np.abs(qfinal-q0))
  72. return check_diff(expected, test, abstol=1e-5)
  73. else:
  74. return
  75.  
  76. args : {'use_petsc': False, 'kernel_language': 'Fortran', 'solver_type': 'sharpclaw'}
  77. expected: 0.000298879563857
  78. test : 0.000269280515652
  79. abstol : 1e-05
  80. ********************************************************************************
  81.  
  82. -------------------- >> begin captured stdout << ---------------------
  83. {'use_petsc': False, 'kernel_language': 'Fortran', 'solver_type': 'sharpclaw'}
  84.  
  85. --------------------- >> end captured stdout << ----------------------
  86. -------------------- >> begin captured logging << --------------------
  87. root: INFO: Solution 0 computed for time t=0.000000
  88. root: INFO: Solution 1 computed for time t=0.200000
  89. root: INFO: Solution 2 computed for time t=0.400000
  90. root: INFO: Solution 3 computed for time t=0.600000
  91. root: INFO: Solution 4 computed for time t=0.800000
  92. root: INFO: Solution 5 computed for time t=1.000000
  93. --------------------- >> end captured logging << ---------------------
  94.  
  95. ======================================================================
  96. ERROR: test_1d_acoustics
  97. ----------------------------------------------------------------------
  98. Traceback (most recent call last):
  99. File "/Users/aron/.virtualenvs/pyclaw/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
  100. self.test(*self.arg)
  101. File "/Users/aron/sandbox/clawpack/clawpack/pyclaw/util.py", line 126, in test_app
  102. raise VerifyError(err)
  103. VerifyError: /Users/aron/sandbox/clawpack/pyclaw/apps/acoustics_1d_homogeneous/acoustics.py
  104. ********************************************************************************
  105. verification function
  106. def acoustics_verify(claw):
  107. from clawpack.pyclaw.util import check_diff
  108. import numpy as np
  109.  
  110. # tests are done across the entire domain of q normally
  111. q0=claw.frames[0].state.get_q_global()
  112. qfinal=claw.frames[claw.num_output_times].state.get_q_global()
  113.  
  114. # and q_global is only returned on process 0
  115. if q0 != None and qfinal != None:
  116. q0 = q0.reshape([-1])
  117. qfinal = qfinal.reshape([-1])
  118. dx=claw.solution.domain.grid.delta[0]
  119. test = dx*np.sum(np.abs(qfinal-q0))
  120. return check_diff(expected, test, abstol=1e-5)
  121. else:
  122. return
  123.  
  124. args : {'use_petsc': True, 'weno_order': 17, 'kernel_language': 'Fortran', 'solver_type': 'sharpclaw'}
  125. expected: 0.000163221216565
  126. test : 0.000152972585568
  127. abstol : 1e-05
  128. ********************************************************************************
  129.  
  130. -------------------- >> begin captured stdout << ---------------------
  131. {'use_petsc': True, 'weno_order': 17, 'kernel_language': 'Fortran', 'solver_type': 'sharpclaw'}
  132.  
  133. --------------------- >> end captured stdout << ----------------------
  134. -------------------- >> begin captured logging << --------------------
  135. root: INFO: Solution 0 computed for time t=0.000000
  136. root: INFO: Solution 1 computed for time t=0.200000
  137. root: INFO: Solution 2 computed for time t=0.400000
  138. root: INFO: Solution 3 computed for time t=0.600000
  139. root: INFO: Solution 4 computed for time t=0.800000
  140. root: INFO: Solution 5 computed for time t=1.000000
  141. --------------------- >> end captured logging << ---------------------
  142.  
  143. ======================================================================
  144. ERROR: test_1d_acoustics
  145. ----------------------------------------------------------------------
  146. Traceback (most recent call last):
  147. File "/Users/aron/.virtualenvs/pyclaw/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
  148. self.test(*self.arg)
  149. File "/Users/aron/sandbox/clawpack/clawpack/pyclaw/util.py", line 126, in test_app
  150. raise VerifyError(err)
  151. VerifyError: /Users/aron/sandbox/clawpack/pyclaw/apps/acoustics_1d_homogeneous/acoustics.py
  152. ********************************************************************************
  153. verification function
  154. def acoustics_verify(claw):
  155. from clawpack.pyclaw.util import check_diff
  156. import numpy as np
  157.  
  158. # tests are done across the entire domain of q normally
  159. q0=claw.frames[0].state.get_q_global()
  160. qfinal=claw.frames[claw.num_output_times].state.get_q_global()
  161.  
  162. # and q_global is only returned on process 0
  163. if q0 != None and qfinal != None:
  164. q0 = q0.reshape([-1])
  165. qfinal = qfinal.reshape([-1])
  166. dx=claw.solution.domain.grid.delta[0]
  167. test = dx*np.sum(np.abs(qfinal-q0))
  168. return check_diff(expected, test, abstol=1e-5)
  169. else:
  170. return
  171.  
  172. args : {'use_petsc': False, 'weno_order': 17, 'kernel_language': 'Fortran', 'solver_type': 'sharpclaw'}
  173. expected: 0.000163221216565
  174. test : 0.000152972585568
  175. abstol : 1e-05
  176. ********************************************************************************
  177.  
  178. -------------------- >> begin captured stdout << ---------------------
  179. {'use_petsc': False, 'weno_order': 17, 'kernel_language': 'Fortran', 'solver_type': 'sharpclaw'}
  180.  
  181. --------------------- >> end captured stdout << ----------------------
  182. -------------------- >> begin captured logging << --------------------
  183. root: INFO: Solution 0 computed for time t=0.000000
  184. root: INFO: Solution 1 computed for time t=0.200000
  185. root: INFO: Solution 2 computed for time t=0.400000
  186. root: INFO: Solution 3 computed for time t=0.600000
  187. root: INFO: Solution 4 computed for time t=0.800000
  188. root: INFO: Solution 5 computed for time t=1.000000
  189. --------------------- >> end captured logging << ---------------------
  190.  
  191. ======================================================================
  192. ERROR: test_2d_acoustics
  193. ----------------------------------------------------------------------
  194. Traceback (most recent call last):
  195. File "/Users/aron/.virtualenvs/pyclaw/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
  196. self.test(*self.arg)
  197. File "/Users/aron/sandbox/clawpack/clawpack/pyclaw/util.py", line 126, in test_app
  198. raise VerifyError(err)
  199. VerifyError: /Users/aron/sandbox/clawpack/pyclaw/apps/acoustics_2d_homogeneous/acoustics.py
  200. ********************************************************************************
  201. verification function
  202. def verify(test_state):
  203. """ verifies 2d homogeneous acoustics from a previously verified run """
  204. import os
  205. import numpy as np
  206. from clawpack.pyclaw.util import check_diff
  207.  
  208.  
  209. #grabs parallel results to process 0, None to other processes
  210. test_q=test_state.get_q_global()
  211.  
  212. if test_q is not None:
  213. test_pressure = test_q[0,:,:]
  214. thisdir = os.path.dirname(__file__)
  215. expected_pressure = np.loadtxt(os.path.join(thisdir,data_filename))
  216. test_err = np.linalg.norm(expected_pressure-test_pressure)
  217. expected_err = 0
  218. return check_diff(expected_err, test_err, abstol=1e-4)
  219. else:
  220. return
  221.  
  222. args : {'use_petsc': True, 'kernel_language': 'Fortran', 'solver_type': 'sharpclaw'}
  223. expected: 0
  224. test : 0.01158856621
  225. abstol : 0.0001
  226. ********************************************************************************
  227.  
  228. -------------------- >> begin captured stdout << ---------------------
  229. {'use_petsc': True, 'kernel_language': 'Fortran', 'solver_type': 'sharpclaw'}
  230.  
  231. --------------------- >> end captured stdout << ----------------------
  232. -------------------- >> begin captured logging << --------------------
  233. root: INFO: Solution 0 computed for time t=0.000000
  234. root: INFO: Solution 1 computed for time t=0.012000
  235. root: INFO: Solution 2 computed for time t=0.024000
  236. root: INFO: Solution 3 computed for time t=0.036000
  237. root: INFO: Solution 4 computed for time t=0.048000
  238. root: INFO: Solution 5 computed for time t=0.060000
  239. root: INFO: Solution 6 computed for time t=0.072000
  240. root: INFO: Solution 7 computed for time t=0.084000
  241. root: INFO: Solution 8 computed for time t=0.096000
  242. root: INFO: Solution 9 computed for time t=0.108000
  243. root: INFO: Solution 10 computed for time t=0.120000
  244. --------------------- >> end captured logging << ---------------------
  245.  
  246. ======================================================================
  247. ERROR: test_2d_acoustics
  248. ----------------------------------------------------------------------
  249. Traceback (most recent call last):
  250. File "/Users/aron/.virtualenvs/pyclaw/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
  251. self.test(*self.arg)
  252. File "/Users/aron/sandbox/clawpack/clawpack/pyclaw/util.py", line 126, in test_app
  253. raise VerifyError(err)
  254. VerifyError: /Users/aron/sandbox/clawpack/pyclaw/apps/acoustics_2d_homogeneous/acoustics.py
  255. ********************************************************************************
  256. verification function
  257. def verify(test_state):
  258. """ verifies 2d homogeneous acoustics from a previously verified run """
  259. import os
  260. import numpy as np
  261. from clawpack.pyclaw.util import check_diff
  262.  
  263.  
  264. #grabs parallel results to process 0, None to other processes
  265. test_q=test_state.get_q_global()
  266.  
  267. if test_q is not None:
  268. test_pressure = test_q[0,:,:]
  269. thisdir = os.path.dirname(__file__)
  270. expected_pressure = np.loadtxt(os.path.join(thisdir,data_filename))
  271. test_err = np.linalg.norm(expected_pressure-test_pressure)
  272. expected_err = 0
  273. return check_diff(expected_err, test_err, abstol=1e-4)
  274. else:
  275. return
  276.  
  277. args : {'use_petsc': False, 'kernel_language': 'Fortran', 'solver_type': 'sharpclaw'}
  278. expected: 0
  279. test : 0.01158856621
  280. abstol : 0.0001
  281. ********************************************************************************
  282.  
  283. -------------------- >> begin captured stdout << ---------------------
  284. {'use_petsc': False, 'kernel_language': 'Fortran', 'solver_type': 'sharpclaw'}
  285.  
  286. --------------------- >> end captured stdout << ----------------------
  287. -------------------- >> begin captured logging << --------------------
  288. root: INFO: Solution 0 computed for time t=0.000000
  289. root: INFO: Solution 1 computed for time t=0.012000
  290. root: INFO: Solution 2 computed for time t=0.024000
  291. root: INFO: Solution 3 computed for time t=0.036000
  292. root: INFO: Solution 4 computed for time t=0.048000
  293. root: INFO: Solution 5 computed for time t=0.060000
  294. root: INFO: Solution 6 computed for time t=0.072000
  295. root: INFO: Solution 7 computed for time t=0.084000
  296. root: INFO: Solution 8 computed for time t=0.096000
  297. root: INFO: Solution 9 computed for time t=0.108000
  298. root: INFO: Solution 10 computed for time t=0.120000
  299. --------------------- >> end captured logging << ---------------------
  300.  
  301. ----------------------------------------------------------------------
  302. Ran 21 tests in 64.291s
  303.  
  304. FAILED (errors=6)
Add Comment
Please, Sign In to add comment