0 votes

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

moduleenv.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!

Godot version 3.4
in Engine by (109 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.