octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why warning on configure --enable-openmp ?


From: John W. Eaton
Subject: Why warning on configure --enable-openmp ?
Date: Wed, 4 May 2011 09:41:03 -0400

On  3-May-2011, address@hidden wrote:

| I'm trying to use OpenMP within some mex-files, When configuring octave
| with openmp enabled,
|    ./configure --enable-openmp
| one gets the following warning:
| 
| configure: WARNING: You used the EXPERIMENTAL --enable-openmp option.
| configure: WARNING: Are you sure that is what you want to do?
| configure: WARNING:
| configure: WARNING: This option enables experimental SMP multithreding
| configure: WARNING: code that has had very little testing. There is no
| configure: WARNING: certainity that the results returned by Octave with
| configure: WARNING: this option enabled will be correct.
| 
| However, there is no single
|         #pragma omp
| within the whole source code of octave - OpenMP is obviously not used by
| the core of Octave. Therefore, I'm wondering what this warning is about?
| Should this warn about the possibility that some library might give wrong
| results? What is the problem the warning tries to warn about ?

The --enable-openmp configure option just checks for a compiler flag
and libraries.  I don't think anything else was ever done with it.
Unless someone wants to take on the task of making this actually do
something useful, then maybe it should just be removed?

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]