From 3e908804568d5bec7e642c6f1a1b1299db4b6093 Mon Sep 17 00:00:00 2001 From: Miikka Vaisala Date: Mon, 17 Jun 2019 14:50:23 +0800 Subject: [PATCH] There was something funny with my python script. I can confirm that the mesh in written down correctly to hard drive. --- analysis/python/samples/readtest.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/analysis/python/samples/readtest.py b/analysis/python/samples/readtest.py index ad1d0b1..e3bf8c3 100644 --- a/analysis/python/samples/readtest.py +++ b/analysis/python/samples/readtest.py @@ -43,8 +43,9 @@ AC_unit_length = 1.496e+13 print("sys.argv", sys.argv) #meshdir = "/tiara/home/mvaisala/astaroth-code/astaroth_2.0/build/" -meshdir = "/tiara/ara/data/mvaisala/tmp/astaroth-code/astaroth_2.0/build/" +#meshdir = "/tiara/ara/data/mvaisala/tmp/astaroth-code/astaroth_2.0/build/" #meshdir = "/tiara/ara/data/mvaisala/asth_testbed_double/" +meshdir = "/scratch/data/mvaisala/iotest/" if "xtopbound" in sys.argv: for i in range(0, 171): @@ -166,8 +167,10 @@ if '1d' in sys.argv: if 'sl' in sys.argv: - maxfiles = 200002 - stride = 10000 + #maxfiles = 200002 + #stride = 10000 + maxfiles = 1001 + stride = 100 for i in range(0, maxfiles, stride): mesh = ad.read.Mesh(i, fdir=meshdir) print(" %i / %i" % (i, maxfiles))