mpiexec 0.82 and PGI 5.2 : task.c errors!!!

Filippo Spiga spiga.filippo at gmail.com
Wed Jan 31 02:35:15 EST 2007


2007/1/30, Pete Wyckoff <pw at osc.edu>:
> Yow.  These and the other pile of errors are complaining about
> perfectly reasonable looking system headers.  I don't know why pgcc
> thinks "typedef __ssize_t ssize_t" is invalid.  But that's outside
> of our control.  Maybe you need to fix your pgcc install so that
> it picks up the PGI-specific versions of these headers instead.

PGI was installed correctly because some other software for computational
chemistry and molecular dynamics works well (with pgcc, pgCC and mpicc
compiled with PGI suite).

> This may be because the PGI compiler does not understand typeof().
> It's quite handy, but not part of any C standard.  Can you try
> editing line 36 of list.h to change that "#ifdef _CRAYC" to "#if 1"
> and see if it builds?  If it does, can you try "#ifdef __PGI", then
> do "make clean" and "make" again?

Ehm... this is the code @ line 36

36: #define container_of(ptr, type, member) ({                      \
37:        typeof( ((type *)0)->member ) *__mptr = (ptr);  \
38:        (type *)(unsigned long)((char *)__mptr -
offsetof(type,member));})
39:
40: /* noop */
41: static inline void prefetch(const void *x ATTR_UNUSED) {;}

In the list.c file i don't find the string "#ifdef _CRAYC" ... Is wrong my
file? o.O

> But compiling with anything other than gcc is probably not worth the
> effort.  There isn't much of anything that is performance critical
> in mpiexec, so using a specialized compiler like PGI won't show any
> improvment.

I try to use mpiexec compiled with GNU compiler and other software compiled
with mpicc (MPICH 1.2.7 built with PGI compiler). If all works well I leave
mpiexec compiled with GNU..

Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://email.osc.edu/pipermail/mpiexec/attachments/20070131/8deb185d/attachment.htm


More information about the mpiexec mailing list