ImportError when compiling debug version
Bug #1234682 reported by
Reza Housseini
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yade |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When compiling with the DEBUG=ON flag, I get the following error when launching yade:
File "./yade-
import yade
File "/home/
import boot
ImportError: /home/jaeg/
I explicitly added the -fopenmp flag and enabled OpenMP.
Changed in yade: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
2013/10/3 Reza Housseini <email address hidden>: code/yade/ install/ debug/lib/ x86_64- linux-gnu/ yade-2013- 10-01.git- e7840c4/ libyade. so: undefined symbol: omp_get_max_threads
> ImportError: /home/jaeg/
>
> I explicitly added the -fopenmp flag and enabled OpenMP.
What you mean here?
If your compiler supports OpenMP, all necessary flags should be added
"automatically" through OpenMP_CXX_FLAGS variable [1]. You do not
need to add -fopenmp explicitly.
Need to look at the cmake-output from configuration-step. It should
definitely say you, what is missed.
[1] https:/ /github. com/yade/ trunk/blob/ master/ CMakeLists. txt#L126