mpiexec 0.82 and PGI 5.2 : task.c errors!!!
Filippo Spiga
spiga.filippo at gmail.com
Tue Jan 30 03:10:28 EST 2007
Hi at all,
I want to compile mpiexec 0.82 with PCI compilers. I use this
options for configure
root at scilx:/opt/mpiexec-0.82# env CFLAGS="-fast" CXXFLAGS="-fast"
CC="pgcc" CXX="pgCC -E" F90="pgf90" FC="pgf77" CPP="pgCC -E"
./configure --with-pbs=/usr/spool/PBS --with-default-comm=mpich-p4
--prefix /opt/mpiexec-PGI --enable-p4-shmem
checking for gcc... pgcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether pgcc accepts -g... yes
checking for pgcc option to accept ANSI C... none needed
checking whether we are using the Intel C compiler... no
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for pbs-config... /usr/local/bin/pbs-config
checking for sed... /bin/sed
checking how to run the C preprocessor... pgCC -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for environ... __environ
checking for socklen_t... yes
checking for working POSIX fnmatch... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for strsep... yes
checking for strsignal... yes
checking for poll... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mpiexec.spec
config.status: creating config.h
But these errors appears...
root at scilx:/opt/mpiexec-0.82# make
pgcc -M -fast -I/usr/local/include mpiexec.c get_hosts.c start_tasks.c
task.c event.c util.c config.c stdio.c growstr.c pmi.c gm.c ib.c p4.c
rai.c concurrent.c exedist.c spawn.c > .depend
mpiexec.c:
get_hosts.c:
start_tasks.c:
task.c:
event.c:
util.c:
config.c:
stdio.c:
growstr.c:
pmi.c:
gm.c:
ib.c:
p4.c:
rai.c:
concurrent.c:
exedist.c:
spawn.c:
pgcc -fast -I/usr/local/include -c mpiexec.c
PGC-W-0114-More than one type specified (/usr/include/unistd.h: 189)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/unistd.h: 189)
PGC-W-0114-More than one type specified (/usr/include/unistd.h: 201)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/unistd.h: 201)
PGC-W-0114-More than one type specified (/usr/include/unistd.h: 206)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/unistd.h: 206)
PGC-W-0114-More than one type specified (/usr/include/unistd.h: 212)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/unistd.h: 212)
PGC-W-0114-More than one type specified (/usr/include/unistd.h: 219)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/unistd.h: 219)
PGC-W-0114-More than one type specified (/usr/include/unistd.h: 229)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/unistd.h: 229)
PGC-W-0114-More than one type specified (/usr/include/sys/stat.h: 44)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/sys/stat.h: 44)
PGC-W-0114-More than one type specified (/usr/include/sys/stat.h: 55)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/sys/stat.h: 55)
PGC-W-0114-More than one type specified (/usr/include/sys/stat.h: 63)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/sys/stat.h: 63)
PGC-W-0114-More than one type specified (/usr/include/sys/stat.h: 68)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/sys/stat.h: 68)
PGC-W-0114-More than one type specified (/usr/include/sys/stat.h: 90)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/sys/stat.h: 90)
PGC-W-0114-More than one type specified (/usr/include/sys/resource.h: 28)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/sys/resource.h: 28)
PGC/x86 Linux/x86 5.2-4: compilation completed with warnings
pgcc -fast -I/usr/local/include -c get_hosts.c
PGC-W-0114-More than one type specified (/usr/include/unistd.h: 189)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/unistd.h: 189)
PGC-W-0114-More than one type specified (/usr/include/sys/resource.h: 28)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/sys/resource.h: 28)
PGC/x86 Linux/x86 5.2-4: compilation completed with warnings
pgcc -fast -I/usr/local/include -c start_tasks.c
PGC-W-0114-More than one type specified (/usr/include/unistd.h: 189)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/unistd.h: 189)
PGC/x86 Linux/x86 5.2-4: compilation completed with warnings
pgcc -fast -I/usr/local/include -c task.c
PGC-W-0114-More than one type specified (/usr/include/unistd.h: 189)
PGC-W-0143-Useless typedef declaration (no declarators present)
(/usr/include/unistd.h: 189)
PGC-S-0036-Syntax error: Recovery attempted by inserting keyword
struct before '{' (task.c: 43)
PGC-S-0036-Syntax error: Recovery attempted by inserting ':' before
'*' (task.c: 43)
PGC-S-0039-Use of undeclared variable __mptr (task.c: 43)
PGC-S-0055-Illegal operand of indirection operator (*) (task.c: 43)
PGC-S-0035-Syntax error: Recovery attempted by replacing ';' by '!='
(task.c: 43)
PGC-W-0099-Type cast required for this comparison (task.c: 43)
PGC-S-0091-Integer constant expression required (task.c: 43)
PGC-S-0037-Syntax error: Recovery attempted by deleting ';' (task.c: 43)
PGC-W-0109-Type specification of field unnamed/pad ignored (task.c: 43)
PGC-S-0094-Illegal type conversion required (task.c: 43)
PGC-S-0094-Illegal type conversion required (task.c: 43)
PGC-S-0036-Syntax error: Recovery attempted by inserting keyword
struct before '{' (task.c: 43)
PGC-S-0036-Syntax error: Recovery attempted by inserting ':' before
'*' (task.c: 43)
PGC-S-0055-Illegal operand of indirection operator (*) (task.c: 43)
PGC-S-0035-Syntax error: Recovery attempted by replacing ';' by '!='
(task.c: 43)
PGC-W-0099-Type cast required for this comparison (task.c: 43)
PGC-S-0091-Integer constant expression required (task.c: 43)
PGC-W-0109-Type specification of field unnamed/pad ignored (task.c: 43)
PGC-S-0032-Syntax error: Unexpected input at ')' (task.c: 43)
PGC-S-0029-Syntax error: Recovery attempted by deleting from ')' on
line 43 through ')' on line 43 (task.c)
PGC-S-0036-Syntax error: Recovery attempted by inserting keyword
struct before '{' (task.c: 57)
PGC-S-0036-Syntax error: Recovery attempted by inserting ':' before
'*' (task.c: 57)
PGC-S-0055-Illegal operand of indirection operator (*) (task.c: 57)
PGC-S-0035-Syntax error: Recovery attempted by replacing ';' by '!='
(task.c: 57)
PGC-W-0099-Type cast required for this comparison (task.c: 57)
PGC-S-0091-Integer constant expression required (task.c: 57)
PGC-S-0037-Syntax error: Recovery attempted by deleting ';' (task.c: 57)
PGC-W-0109-Type specification of field unnamed/pad ignored (task.c: 57)
PGC-S-0094-Illegal type conversion required (task.c: 57)
PGC-S-0094-Illegal type conversion required (task.c: 57)
PGC-S-0036-Syntax error: Recovery attempted by inserting keyword
struct before '{' (task.c: 57)
PGC-F-0008-Error limit exceeded (task.c)
PGC/x86 Linux/x86 5.2-4: compilation aborted
make: *** [task.o] Error 2
What's wrong?
Thanks
--
Filippo Spiga
More information about the mpiexec
mailing list