Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | thomas_laverne |
Hi guys,
I’m trying to use openmp in a C++ module (using Eigen for matrix computation). I tried to add to my module’s SCsub the lines
module_env.Append(CXXFLAGS=[‘-fopenmp’])
module_env.Append(LIBS=[“fopenmp”])
but my module is still not using more than one core. Eigen handle tells me I’m juste using one core… I guess something wrong is happening at linking time, but I don’t have error message while compiling my module. Any idea?
Many thanks!