* [devel] gcc + OpenMP (libgomp)
@ 2008-12-01 0:30 Led
2008-12-01 0:34 ` Dmitry V. Levin
0 siblings, 1 reply; 3+ messages in thread
From: Led @ 2008-12-01 0:30 UTC (permalink / raw)
To: devel
Как можно "задействовать" OpenMP (libgomp) при компиляции?
В частности, даже указывая -fopenmp, не находится omp.h (поключенный как
#include <omp.h>
)
Как правильно указать, что хэдеры нужно искать и
в /usr/lib64/gcc/x86_64-alt-linux/4.3.2/include ?
--
Led
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] gcc + OpenMP (libgomp)
2008-12-01 0:30 [devel] gcc + OpenMP (libgomp) Led
@ 2008-12-01 0:34 ` Dmitry V. Levin
2008-12-01 1:16 ` Led
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2008-12-01 0:34 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 546 bytes --]
On Mon, Dec 01, 2008 at 02:30:21AM +0200, Led wrote:
> Как можно "задействовать" OpenMP (libgomp) при компиляции?
> В частности, даже указывая -fopenmp, не находится omp.h (поключенный как
> #include <omp.h>
> )
> Как правильно указать, что хэдеры нужно искать и
> в /usr/lib64/gcc/x86_64-alt-linux/4.3.2/include ?
Если с нахождением файла
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/include/limits.h
нет проблем, то и с /usr/lib64/gcc/x86_64-alt-linux/4.3.2/include/omp.h
проблем не должно быть.
А вообще, info libgomp.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] gcc + OpenMP (libgomp)
2008-12-01 0:34 ` Dmitry V. Levin
@ 2008-12-01 1:16 ` Led
0 siblings, 0 replies; 3+ messages in thread
From: Led @ 2008-12-01 1:16 UTC (permalink / raw)
To: ALT Devel discussion list
On Monday, 01 December 2008 02:34:55 Dmitry V. Levin wrote:
> On Mon, Dec 01, 2008 at 02:30:21AM +0200, Led wrote:
> > Как можно "задействовать" OpenMP (libgomp) при компиляции?
> > В частности, даже указывая -fopenmp, не находится omp.h (поключенный как
> > #include <omp.h>
> > )
> > Как правильно указать, что хэдеры нужно искать и
> > в /usr/lib64/gcc/x86_64-alt-linux/4.3.2/include ?
>
> Если с нахождением файла
> /usr/lib64/gcc/x86_64-alt-linux/4.3.2/include/limits.h
> нет проблем, то и с /usr/lib64/gcc/x86_64-alt-linux/4.3.2/include/omp.h
> проблем не должно быть.
Да, я ошибся: всё таки находит omp.h
Там в другом месте промлема:
internal compiler error: in replace_by_duplicate_decl, at tree-cfg.c:5576
на строчке:
# pragma omp parallel for schedule(dynamic,8) shared(row_count, status)
> А вообще, info libgomp.
Спасибо, посмотрю, может там найду ответ, потому как с libgomp4.1
компилится...
--
Led
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-01 1:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-01 0:30 [devel] gcc + OpenMP (libgomp) Led
2008-12-01 0:34 ` Dmitry V. Levin
2008-12-01 1:16 ` Led
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git