Re: [omp] can not find omp.h

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

 



Hi Asma,

> I tried to compile c++ program with openMP directives, but the
> compiler (gcc version 4.4.2) can not find omp.h
> I tried to install libgomp1:
> 
> 1) rpm -ivh libgomp1-4.4.2-5mnb2.i586.rpm 
> Préparation...              ########################################### [100%]
>     paquetage libgomp1-4.4.2-5mnb2.i586 already installed
> 
> 2) locate libgomp
> /usr/lib/libgomp.so.1
> /usr/lib/libgomp.so.1.0.0
> 
> but I can not find omp.h in /usr/include
> 
> any one has an idea about this problem, I waist alot of time searching
> in internet for a solution but in vain
as the compiler tries to find "omp.h", you should install it;-) 

To me, libgomp1-4.4.2-5mnb2.i586.rpm seems to contain only the
runtime-libraries, not the files needed for developing (like the
header-files). These are (probably) contained in
libgomp1-devel-4.4.2-5mnb2.i586.rpm - but that depends on your operation
System (Linux?) and Distribution (Mandriva?); so you should ask on a
mailing-list for your distribution...

HTH,

Axel


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux