hpparvi / PyTransit

Fast and easy exoplanet transit light curve modelling.
GNU General Public License v2.0
99 stars 23 forks source link

after setup.py, I got these message. What should I do? #37

Closed TakuNishiumi closed 5 years ago

TakuNishiumi commented 5 years ago

Describe the bug After gitclone and executed python setup.py, I got below message.

In [1]: import pytransit                                    
/home/nishiumi/.conda/envs/py35/lib/python3.6/site-packages/llvmlite/binding/ffi.py:138: UserWarning: Module pytransit was already imported from /home/nishiumi/.conda/envs/py35/lib/python3.6/site-packages/PyTransit-2.0-py3.6.egg/pytransit/__init__.py, but /home/nishiumi/PyTransit is being added to sys.path
  from pkg_resources import resource_filename
/home/nishiumi/.conda/envs/py35/lib/python3.6/site-packages/numba/compiler.py:602: NumbaPerformanceWarning: 
The keyword argument 'parallel=True' was specified but no transformation for parallel execution was possible.

To find out why, try turning on parallel diagnostics, see http://numba.pydata.org/numba-doc/latest/user/parallel.html#diagnostics for help.

File "../.conda/envs/py35/lib/python3.6/site-packages/PyTransit-2.0-py3.6.egg/pytransit/orbits/orbits_py.py", line 168:
@njit("f8[:](f8[:], f8, f8, f8, f8)", parallel=True)
def ta_newton_v(t, t0, p, e, w):
^

  self.func_ir.loc))
/home/nishiumi/.conda/envs/py35/lib/python3.6/site-packages/numba/compiler.py:602: NumbaPerformanceWarning: 
The keyword argument 'parallel=True' was specified but no transformation for parallel execution was possible.

To find out why, try turning on parallel diagnostics, see http://numba.pydata.org/numba-doc/latest/user/parallel.html#diagnostics for help.

File "../.conda/envs/py35/lib/python3.6/site-packages/PyTransit-2.0-py3.6.egg/pytransit/orbits/orbits_py.py", line 176:
@njit("f8[:](f8[:],f8,f8,f8,f8)", parallel=True)
def ta_iter_v(t, t0, p, e, w):
^

  self.func_ir.loc))

Desktop (please complete the following information):

hpparvi commented 5 years ago

Hi Taku,

This wasn't anything critical, but is fixed now. Pull the latest changes, reinstall, and the warnings should be gone :)

Cheers, Hannu

TakuNishiumi commented 5 years ago

Hello, Hannu.

Thank you! I will try.

Sincerely, Taku

TakuNishiumi commented 5 years ago

solved! Thank you very much.

Taku