Error with alglib - JointSNVMix-0.8-b2

99 views
Skip to first unread message

Tinu Thomas

unread,
Jan 4, 2016, 12:17:09 PM1/4/16
to JointSNVMix User Group
I have installed JointSNVMix-0.8-b2 and installed the dependent package alglib and getting the following error

jsm.py classify
Traceback (most recent call last):
  File "/rawdata/data/Python_Packages/bin/jsm.py", line 9, in <module>
    from joint_snv_mix.run import classify, train
  File "run.pyx", line 17, in init joint_snv_mix.run (joint_snv_mix/run.c:5082)
  File "/rawdata/data/Python_Packages/lib64/python2.7/site-packages/joint_snv_mix/post_processing/post_processor.py", line 9, in <module>
    import xalglib
  File "/rawdata/data/Python_Packages/cpython/xalglib.py", line 109, in <module>
    if _lib_alglib is None:
NameError: name '_lib_alglib' is not defined

Would much appreciate help.

Thanks,
Tinu

aroth

unread,
Jan 5, 2016, 3:30:47 PM1/5/16
to JointSNVMix User Group
Hi Tinu,
It looks like alglib is not installed or installed incorrectly. You will need to read the manual (in the download package for alglib) for alglib as there is an extra step it requires which normal Python packages don't.

Cheers,
Andy

Tunc Morova

unread,
Jan 31, 2016, 12:15:41 PM1/31/16
to JointSNVMix User Group
I also got the same error. I am having hard times with compiling alglib in MACosx. Could you demonstrate how to this ?

I followed following steps;

$export CC=/usr/local/Cellar/gcc/5.2.0/bin/x86_64-apple-darwin14.5.0-gcc-5.2.0 

$export CFLAGS=-m64

$./build



Tuncs-MacBook-Pro:core morova$ ./build-unix 

Detecting compiler properties

dyld: Library not loaded: /usr/local/lib/libisl.13.dylib

  Referenced from: /usr/local/Cellar/gcc/5.2.0/libexec/gcc/x86_64-apple-darwin14.5.0/5.2.0/cc1

  Reason: image not found

x86_64-apple-darwin14.5.0-gcc-5.2.0: internal compiler error: Trace/BPT trap: 5 (program cc1)

Please submit a full bug report,

with preprocessed source if appropriate.

See <https://github.com/Homebrew/homebrew/issues> for instructions.

Compiler is 'bad'

Parameters are ' '

Cant determine compiler type



I get this error. Is there a way to solve this? Is there a way to compile alglib in MacOSX?

Thank you in advance.

Tunc

Reply all
Reply to author
Forward
0 new messages