[yt-users] yt 3.3.1 not working with yt 3.1 python scripts

John ZuHone jzuhone at gmail.com
Fri Aug 26 12:16:35 PDT 2016


Ok, so this is clearly a case then were we definitely don’t want to match the files, since they are not designed to be at the same times. I think the fix should be to set a flag to turn this behavior off optionally. 

> On Aug 26, 2016, at 2:15 PM, tazkera haque <h.tazkera at gmail.com> wrote:
> 
> Hi John, 
> 
> Thanks for the idea and sounds like a quick fix for now, I will do that.
> 
> and our particle files are more frequent than plotfiles, so when there are 50 plt-files  there might be 100 part files at that time step. 
> 
> Best
> Tazkera 
> 
> On Fri, Aug 26, 2016 at 3:06 PM, John ZuHone <jzuhone at gmail.com <mailto:jzuhone at gmail.com>> wrote:
> Hi Tazkera,
> 
> It looks like you _don’t_ want the particle files to be loaded, correct? 
> 
> This will probably require a fix to the code to make sure that this doesn’t happen automatically, but in the meantime you could create a folder for the particle files and simply move them in there. This is very hacky, but it will get the job done right now while you wait for a fix (which I’ll try to set up today, but may take several days to get merged into the main branch). 
> 
> How far off are the times in the particle files and plot files?
> 
> Best,
> 
> John
> 
>> On Aug 26, 2016, at 1:40 PM, tazkera haque <h.tazkera at gmail.com <mailto:h.tazkera at gmail.com>> wrote:
>> 
>> Hi Nathan, 
>> 
>> I have just updated yt 3.3 and now I have this weird issue with the scripts , I am uploading my script for sliceplots, which should just analyse the super3d_hdf5_plt_cnt files but I have got issues which also pulls up the super3d_hdf5_part files which are also located in the same path and produces the error.
>> 
>> yt : [INFO     ] 2016-08-26 13:23:36,817 Particle file found: super3d_hdf5_part_0000
>> yt : [INFO     ] 2016-08-26 13:23:36,840 integer runtime parameter checkpointfilenumber overwrites a simulation scalar of the same name
>> yt : [INFO     ] 2016-08-26 13:23:36,862 Parameters: current_time              = 0.0
>> yt : [INFO     ] 2016-08-26 13:23:36,862 Parameters: domain_dimensions         = [128 128 128]
>> yt : [INFO     ] 2016-08-26 13:23:36,863 Parameters: domain_left_edge          = [ -2.80000000e+10  -2.80000000e+10  -2.80000000e+10]
>> yt : [INFO     ] 2016-08-26 13:23:36,863 Parameters: domain_right_edge         = [  2.80000000e+10   2.80000000e+10   2.80000000e+10]
>> yt : [INFO     ] 2016-08-26 13:23:36,864 Parameters: cosmological_simulation   = 0.0
>> yt : [INFO     ] 2016-08-26 13:23:38,500 xlim = -28000000000.000000 28000000000.000000
>> yt : [INFO     ] 2016-08-26 13:23:38,500 ylim = -28000000000.000000 28000000000.000000
>> yt : [INFO     ] 2016-08-26 13:23:38,501 xlim = -28000000000.000000 28000000000.000000
>> yt : [INFO     ] 2016-08-26 13:23:38,501 ylim = -28000000000.000000 28000000000.000000
>> yt : [INFO     ] 2016-08-26 13:23:38,502 Making a fixed resolution buffer of (('flash', 'temp')) 800 by 800
>> yt : [INFO     ] 2016-08-26 13:23:39,016 Making a fixed resolution buffer of (('flash', 'temp')) 800 by 800
>> yt : [INFO     ] 2016-08-26 13:23:39,252 Saving plot Slice_z_temp/super3d_hdf5_plt_cnt_0000_Slice_z_temp.png
>> yt : [INFO     ] 2016-08-26 13:23:39,885 Particle file found: super3d_hdf5_part_0001
>> Traceback (most recent call last):
>>   File "allSlices.py", line 115, in <module>
>>     ds=yt.load(filename)
>>   File "/work/03858/thaque56/sw/yt-new-3.3/yt-conda/lib/python2.7/site-packages/yt/convenience.py", line 86, in load
>>     return candidates[0](*args, **kwargs)
>>   File "/work/03858/thaque56/sw/yt-new-3.3/yt-conda/lib/python2.7/site-packages/yt/frontends/flash/data_structures.py", line 215, in __init__
>>     raise IOError('%s and  %s are not at the same time.' % (self.particle_filename, filename))
>> IOError: /work/03858/thaque56/runs/run_176/super3d_hdf5_part_0001 and  /work/03858/thaque56/runs/run_176/super3d_hdf5_plt_cnt_0001 are not at the same time.
>> [c558-502.stampede.tacc.utexas.edu <http://c558-502.stampede.tacc.utexas.edu/>:mpispawn_0][child_handler] MPI process (rank: 0, pid: 13788) exited with status 1
>> TACC: MPI job exited with code: 1
>> 
>> Please take a look at the error and let me know how to avoid the particle files in this circumstance.
>> 
>> Best
>> Tazkera
>> 
>> <slice.py>_______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org <mailto:yt-users at lists.spacepope.org>
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>
> 
> 
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org <mailto:yt-users at lists.spacepope.org>
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>
> 
> 
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160826/947fc4e5/attachment-0001.htm>


More information about the yt-users mailing list