Undefined symbol: cholmod_analyze

Asked by Leonardo Naranjo

Hi,

First of all excuse me if I say something wrong but I'm not an expert on scientific software like FEniCS (I never installed before); my workmates want to use it and I'm in charge of the cluster where we want to install it. I've been struggling with the installation for four days and now it seems that I'm really stuck. I'm using dorsal (1.0.0) and so far I have managed to make it run without any errors (apparently), due to the errors at the beginning I had to comment some packages out in the dorsal.cfg configuration file and built them by my myself (to be precise: petsc, fiat, ufl, ffc, viper and instant). Once the installation is completed then I try to run a python script and I get the following error:

Traceback (most recent call last):
  File "ejemplo.py", line 13, in <module>
    from dolfin import *
  File "/home/leonardo/Work/FEniCS/lib/python2.7/site-packages/dolfin/__init__.py", line 16, in <module>
    import cpp
  File "/home/leonardo/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/__init__.py", line 40, in <module>
    exec("import %s" % module_name)
  File "<string>", line 1, in <module>
  File "/home/leonardo/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/common.py", line 30, in <module>
    _common = swig_import_helper()
  File "/home/leonardo/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/common.py", line 26, in swig_import_helper
    _mod = imp.load_module('_common', fp, pathname, description)
ImportError: /home/leonardo/Work/FEniCS/lib/libamesos.so: undefined symbol: cholmod_analyze

I would really appreciate if you could help me out here.

Thanks a lot.
Greetings from Mexico

Question information

Language:
English Edit question
Status:
Answered
For:
Dorsal Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Johan Hake (johan-hake) said :
#1

Looks like it can be your Trilions installation that is not correct.

Try:

  import PyTrilinos

inside a python session. If you get the same error you might want to fix
the Trilinos installation.

Johan

On 09/16/2012 08:21 AM, Leonardo Naranjo wrote:
> New question #208721 on Dorsal:
> https://answers.launchpad.net/dorsal/+question/208721
>
>
> Hi,
>
> First of all excuse me if I say something wrong but I'm not an expert on scientific software like FEniCS (I never installed before); my workmates want to use it and I'm in charge of the cluster where we want to install it. I've been struggling with the installation for four days and now it seems that I'm really stuck. I'm using dorsal (1.0.0) and so far I have managed to make it run without any errors (apparently), due to the errors at the beginning I had to comment some packages out in the dorsal.cfg configuration file and built them by my myself (to be precise: petsc, fiat, ufl, ffc, viper and instant). Once the installation is completed then I try to run a python script and I get the following error:
>
> Traceback (most recent call last):
> File "ejemplo.py", line 13, in <module>
> from dolfin import *
> File "/home/leonardo/Work/FEniCS/lib/python2.7/site-packages/dolfin/__init__.py", line 16, in <module>
> import cpp
> File "/home/leonardo/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/__init__.py", line 40, in <module>
> exec("import %s" % module_name)
> File "<string>", line 1, in <module>
> File "/home/leonardo/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/common.py", line 30, in <module>
> _common = swig_import_helper()
> File "/home/leonardo/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/common.py", line 26, in swig_import_helper
> _mod = imp.load_module('_common', fp, pathname, description)
> ImportError: /home/leonardo/Work/FEniCS/lib/libamesos.so: undefined symbol: cholmod_analyze
>
> I would really appreciate if you could help me out here.
>
> Thanks a lot.
> Greetings from Mexico
>

Revision history for this message
Leonardo Naranjo (naranjo-vega-leonardo) said :
#2

Hi Johan

Thanks a lot for your answer. I have let dorsal install Trilinos and even tough a I have done several fresh installations, it always gives me the same error.

Leonardo

Revision history for this message
Johannes Ring (johannr) said :
#3

Please try the development version of Dorsal (bzr branch lp:dorsal). This will install a newer Trilinos, which might fix your issue.

Can you help with this problem?

Provide an answer of your own, or ask Leonardo Naranjo for more information if necessary.

To post a message you must log in.