Doing some work with latest dev, just noticed the MulticoreEngine is broken in python 3.6 after the merge with some improvements from @CnlPepper. I believe its because time.time_ns() is a new function in python 3.7. Might be better to calculate this manually and make a note to convert to the new function once we abandon support for 3.6.
~/raysect/demos/observers$ python mesh_power.py
Starting observations with volume emitter...
Process Process-1:
Traceback (most recent call last):
File "/home/matt/anaconda3/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/matt/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/matt/raysect/raysect/core/workflow.py", line 240, in _producer
start_time = time.time_ns()
AttributeError: module 'time' has no attribute 'time_ns'
Doing some work with latest dev, just noticed the MulticoreEngine is broken in python 3.6 after the merge with some improvements from @CnlPepper. I believe its because
time.time_ns()
is a new function in python 3.7. Might be better to calculate this manually and make a note to convert to the new function once we abandon support for 3.6.~/raysect/demos/observers$ python mesh_power.py Starting observations with volume emitter... Process Process-1: Traceback (most recent call last): File "/home/matt/anaconda3/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/home/matt/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run self._target(*self._args, **self._kwargs) File "/home/matt/raysect/raysect/core/workflow.py", line 240, in _producer start_time = time.time_ns() AttributeError: module 'time' has no attribute 'time_ns'