cyclus / cyclus

The Cyclus Nuclear Fuel Cycle Simulator
http://fuelcycle.org/
Other
80 stars 71 forks source link

import cyclus in python causes python to seg fault #1491

Open yarden-livnat opened 5 years ago

yarden-livnat commented 5 years ago
  1. Installing cyclus/cycamore via conda on osx 10.14.3 into a fresh empty environment ~>cycamore_unit_tests dyld: Library not loaded: @rpath/libhdf5_cpp.101.dylib Referenced from: /Users/yarden/miniconda3/envs/test/bin/cycamore_unit_tests Reason: image not found Abort trap: 6 A quick check shows libhdf5_cpp.102.dylib was installed but cycamore is trying to load 101.dylib

  2. Forcing version 101.dylib conda install -c conda-forge hdf5=1.10.1 Now cycamore_unit_tests does works

  3. However, cymetric is not working because importing cyclus in python causes a seg fault `~>python Python 3.6.8 |Anaconda, Inc.| (default, Dec 29 2018, 19:04:46) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin Type "help", "copyright", "credits" or "license" for more information.

    import cyclus.lib Segmentation fault: 11 `

bam241 commented 5 years ago

it seems that this issue starts to propagate... our CI system is now failing as it relies on conda :(

bam241 commented 5 years ago

I think this is conda-related issue and should be fix when #1497 get fixed

bam241 commented 4 years ago

@yarden-livnat could you confirm this has been fixed ?

If so, could you close the issue ?