PyClaw is a Python-based interface to the algorithms of Clawpack and SharpClaw. It also contains the PetClaw package, which adds parallelism through PETSc.
test_sedov_and_hdf.py fails because it cannot find the file or directory for the stored and computer solutions. The error stems from two issues:
Line 21: typo in declaring verify_dir sets it to thisdir/./Sedov_regression instead of fthisdir/Sedov_regression, where thisdir is the location of the script file.
Lines 25 and 31: Solution's method read defaults to file_prefix='fort'. However, the output from this test use the prefix claw.
Solution
Modify line 31 to verify_dir = os.path.join(thisdir,'Sedov_regression').
Modify read calls in lines 25 and 31 by adding file_prefix='claw'.
test_sedov_and_hdf.py
fails because it cannot find the file or directory for the stored and computer solutions. The error stems from two issues:verify_dir
sets it tothisdir/./Sedov_regression
instead offthisdir/Sedov_regression
, wherethisdir
is the location of the script file.read
defaults tofile_prefix='fort'
. However, the output from this test use the prefixclaw
.Solution
verify_dir = os.path.join(thisdir,'Sedov_regression')
.read
calls in lines 25 and 31 by addingfile_prefix='claw'
.