help-octave
[Top][All Lists]
Advanced

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

RE: How to employ openMP in octave


From: iaask t
Subject: RE: How to employ openMP in octave
Date: Tue, 10 Jun 2008 13:31:08 +0800

Hi,

I have placed ' -L/usr/lib -lgomp' flag into the command but received the 
following error instead.

error: libgomp.so.1: shared object cannot be dlopen()ed
error: `perf_train' undefined near line 1 column 1
--------------------

Kindly advise.

Thanks.

----------------------------------------
> Date: Mon, 9 Jun 2008 15:26:43 +0200
> From: address@hidden
> To: address@hidden
> Subject: Re: How to employ openMP in octave
> CC: address@hidden
> 
> On Mon, Jun 9, 2008 at 3:02 PM, iaask t  wrote:
>>
>> Hi,
>>
>> May I know how do I compile an OpenMP program and use it in octave?
>> I have managed to port its sequence version successfully to octave but when 
>> I add the openMP directive into the code and try to execute it on octave, i 
>> received the following error.
>>
>> error: /home/dwin/perf/octave_perf/perf-2.86/perf_train.oct: undefined 
>> symbol: omp_set_num_threads
>> error: `perf_train' undefined near line 1 column 1
>>
> 
> you must link with your OpenMP runtime library for this to work. E.g.,
> when using gcc, you need to do mkoctfile  -lgomp.
> 
>> Kindly advise.
>>
>> Thank you.
>> _________________________________________________________________
>> Easily edit your photos like a pro with Photo Gallery.
>> http://get.live.com/photogallery/overview
>>
>> _______________________________________________
>> Help-octave mailing list
>> address@hidden
>> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>>
>>
> 
> 
> 
> -- 
> RNDr. Jaroslav Hajek
> computing expert
> Aeronautical Research and Test Institute (VZLU)
> Prague, Czech Republic
> url: www.highegg.matfyz.cz

_________________________________________________________________
NEW! Get Windows Live FREE.
http://www.get.live.com/wl/all


reply via email to

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