EBI-predocs / research-software

:computer: Instructions, tips and issue tracker for the software on the EBI computing cluster
6 stars 2 forks source link

error while loading shared libraries: libquadmath.so.0 in R #51

Closed demh closed 8 years ago

demh commented 8 years ago

Hey everyone,

I am having issues trying to run R in the cluster today. I get the following error message:

/nfs/research2/software/prefix/usr/lib/R/bin/exec/R: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory

Do you know what may be the issue?

Thanks,

Dani

mschubert commented 8 years ago

symptom of #48

try a completely fresh session, if that doesn't work

source /nfs/research2/software/prefix/etc/bash/bashrc

at beginning of ~/.bashrc

demh commented 8 years ago

Thanks !! It worked that way.

Dani

jergosh commented 8 years ago

I suspect this is related:

gregs@ebi-004 /nfs/research2/goldman/gregs $ python -c "import pandas; print pandas.__file__"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/ebi/research/software/prefix/usr/lib/python2.7/site-packages/pandas/__init__.py", line 13, in <module>
    "extensions first.".format(module))
ImportError: C extension: libquadmath.so.0: cannot open shared object file: No such file or directory not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace' to build the C extensions first.

If I add source /nfs/research2/software/prefix/etc/bash/bashrc to my .bashrc, I get:

gregs@ebi-004 /nfs/research2/goldman/gregs $ python -c "import pandas; print pandas.__file__"
Segmentation fault (core dumped)

Edit: Thanks to Maria's suggestion I got things to work by switching to ipython... Edit2: Actually, ipython crashes if run via bsub.

vals commented 8 years ago

Oh, I guess this is why jupyter notebook is segfaulting for me? Weird, it worked yesterday!