Commit df734956 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

tweak nasty particle cloud test

use less iterations, and only run one job.
parent 43c5cfec
......@@ -114,27 +114,21 @@ def nasty_test():
ic_file.close()
c.launch(
['NSVEparticles',
'-n', '32',
'-n', '8',
'--src-simname', 'B32p1e4',
'--simname', c.simname,
'--forcing_type', 'linear',
'--src-wd', TurTLE.lib_dir + '/test',
'--src-iteration', '0',
'--np', '4',
'--ntpp', '1',
'--ntpp', '2',
'--fftw_plan_rigor', 'FFTW_PATIENT',
'--niter_todo', '{0}'.format(niterations),
'--niter_out', '{0}'.format(niterations),
'--niter_stat', '1',
'--nparticles', '{0}'.format(nparticles),
'--njobs', '2',
'--njobs', '1',
'--wd', './'])
f0 = h5py.File(
os.path.join(
os.path.join(TurTLE.lib_dir, 'test'),
'B32p1e4_checkpoint_0.h5'),
'r')
f1 = h5py.File(c.get_checkpoint_0_fname(), 'r')
print('SUCCESS! Nasty test passed.')
return None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment