Disable OPENMP

Asked by anna effeindzourou

Hi,
I am trying to debug my code. To do so I have compiled in debug mode and disabled the OPENMP feature.
It compiled just fine but then when starting Yade I am getting this error:

Welcome to Yade 2014-10-01.git-4a6c56c
Traceback (most recent call last):
  File "./yade-debug", line 127, in <module>
    import yade
  File "/YADE/install_debug/lib/x86_64-linux-gnu/yade-debug/py/yade/__init__.py", line 65, in <module>
    import boot
ImportError: /YADE/install_debug/lib/x86_64-linux-gnu/yade-debug/libyade.so: undefined symbol: omp_get_max_threads

Any idea on how can I get rid of this error?
Thanks in advance,

cheers,
Anna

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Anton Gladky
Solved:
Last query:
Last reply:
Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#1

Hi Anna,
How do your compilation options look like?
What is the output of cmake?
B

Revision history for this message
Best Anton Gladky (gladky-anton) said :
#2

Hi,

should be fixed [1].

[1] https://github.com/yade/trunk/commit/d874009f63560fc7ae0166a7f84f6c0ca2e2cc06

Anton

2014-10-14 9:06 GMT+02:00 anna effeindzourou
<email address hidden>:
> New question #255699 on Yade:
> https://answers.launchpad.net/yade/+question/255699
>
> Hi,
> I am trying to debug my code. To do so I have compiled in debug mode and disabled the OPENMP feature.
> It compiled just fine but then when starting Yade I am getting this error:
>
> Welcome to Yade 2014-10-01.git-4a6c56c
> Traceback (most recent call last):
> File "./yade-debug", line 127, in <module>
> import yade
> File "/YADE/install_debug/lib/x86_64-linux-gnu/yade-debug/py/yade/__init__.py", line 65, in <module>
> import boot
> ImportError: /YADE/install_debug/lib/x86_64-linux-gnu/yade-debug/libyade.so: undefined symbol: omp_get_max_threads
>
> Any idea on how can I get rid of this error?
> Thanks in advance,
>
> cheers,
> Anna
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp

Revision history for this message
anna effeindzourou (anna-effeindzourou) said :
#3

Hi,
Thanks Anton, this solved my question.
Anna