2010/4/16 "Miguel A. Vázquez" <mavazq...@cttc.es>:
> 2010/4/16 "Miguel A. Vázquez" <mavazq...@cttc.es
> <mailto:mavazq...@cttc.es>>:
>>
>> Jaroslav Hajek wrote:
>>>
>>> 2010/4/15 "Miguel A. Vázquez" <mavazq...@cttc.es
>>> <mailto:mavazq...@cttc.es>>:
>>>
>>>>
>>>> Thanks a lot for the corrections.
>>>>
>>>> However, it's still executing just one thread, I don't see two hello
>>>> messages.
>>>>
>>>> I'm using Octave 3.2.4 and gcc 4.1.1
>>>>
>>>> Regards
>>>>
>>>> Jaroslav Hajek wrote:
>>>>
>>>
>>>
>>> IIRC, gcc 4.1.x only had very experimental OpenMP support. I recommend
>>> you upgrade.
>>>
>>>
>>
>> I upgrade to gcc  4.4.1 and recompile but the problem is still there.
>>
>
>> I compile the same example in c++ with g++ without the octave directives
>> and
>> it worked properly.
>
> Did you configure Octave with --enable-openmp? What does mkoctfile -v
> show when you compile?
>
>
>
> --
> RNDr. Jaroslav Hajek, PhD
> computing expert & GNU Octave developer
> Aeronautical Research and Test Institute (VZLU)
> Prague, Czech Republic
> url: http://www.highegg.matfyz.cz
>
> Yes, I configured Octave with --enable-openmp. But it doesn't work.
>

Apparently you don't have the -fopenmp flag in CXXFLAGS, so you failed
to configure correctly. What exactly was the configure command you
used? What does the part of config.log related to openmp look like?

-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to