Guest User

high refinement memory error

a guest
Nov 19th, 2015
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. In [24]: data=cg['density']
  2. ---------------------------------------------------------------------------
  3. MemoryError Traceback (most recent call last)
  4. <ipython-input-24-ca3058876a5b> in <module>()
  5. ----> 1 data=cg['density']
  6.  
  7. /opt/apps/yt/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py in __getitem__(self, key)
  8. 251 return self.field_data[f]
  9. 252 else:
  10. --> 253 self.get_data(f)
  11. 254 # fi.units is the unit expression string. We depend on the registry
  12. 255 # hanging off the dataset to define this unit object.
  13.  
  14. /opt/apps/yt/yt-x86_64/src/yt-hg/yt/data_objects/construction_data_containers.py in get_data(self, fields)
  15. 598 fill, gen, part, alias = self._split_fields(fields_to_get)
  16. 599 if len(part) > 0: self._fill_particles(part)
  17. --> 600 if len(fill) > 0: self._fill_fields(fill)
  18. 601 for a, f in sorted(alias.items()):
  19. 602 self[a] = f(self)
  20.  
  21. /opt/apps/yt/yt-x86_64/src/yt-hg/yt/data_objects/construction_data_containers.py in _fill_fields(self, fields)
  22. 878 if level == 0 and tot != 0:
  23. 879 raise RuntimeError
  24. --> 880 self._update_level_state(ls)
  25. 881 for name, v in zip(fields, ls.fields):
  26. 882 if self.level > 0: v = v[1:-1,1:-1,1:-1]
  27.  
  28. /opt/apps/yt/yt-x86_64/src/yt-hg/yt/data_objects/construction_data_containers.py in _update_level_state(self, level_state)
  29. 949 new_fields = []
  30. 950 for input_field in level_state.fields:
  31. --> 951 output_field = np.zeros(ls.current_dims, dtype="float64")
  32. 952 output_left = level_state.global_startindex + 0.5
  33. 953 ghost_zone_interpolate(rf, input_field, input_left,
  34.  
  35. MemoryError:
Advertisement
Add Comment
Please, Sign In to add comment