Compilation error: mpiexec-0.76 + PGI CDK 5.1 on x86-64

James Stephens jns at ias.edu
Wed Apr 21 14:21:42 EDT 2004


Hi,

I am experiencing difficulties compiling mpiexec-0.76 using PGI CDK 5.1 
on x86-64. The configure stage
works fine but after this I get problems:

CC=/usr/pgi/linux86-64/5.1/bin/pgcc ./configure 
--with-default-comm=mpich-p4 --disable-p4-shmem 
--with-pbssrc=/usr/local/src/torque-1.0.1p6
checking for gcc... /usr/pgi/linux86-64/5.1/bin/pgcc
checking for C compiler default output... 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 /usr/pgi/linux86-64/5.1/bin/pgcc accepts -g... yes
checking for /usr/pgi/linux86-64/5.1/bin/pgcc option to accept ANSI C... 
none needed
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for tm_init in -lpbs... yes
checking for pbse_to_txt in -llog... yes
checking for sed... /bin/sed
checking how to run the C preprocessor... 
/usr/pgi/linux86-64/5.1/bin/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
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands

make
/usr/pgi/linux86-64/5.1/bin/pgcc -M -g 
-I/usr/local/src/torque-1.0.1p6/src/include mpiexec.c get_hosts.c 
start_tasks.c wait_tasks.c util.c config.c stdio.c growstr.c > .depend
mpiexec.c:
get_hosts.c:
start_tasks.c:
wait_tasks.c:
util.c:
config.c:
stdio.c:
growstr.c:
/usr/pgi/linux86-64/5.1/bin/pgcc -g 
-I/usr/local/src/torque-1.0.1p6/src/include -c mpiexec.c
/usr/pgi/linux86-64/5.1/bin/pgcc -g 
-I/usr/local/src/torque-1.0.1p6/src/include -c get_hosts.c
/usr/pgi/linux86-64/5.1/bin/pgcc -g 
-I/usr/local/src/torque-1.0.1p6/src/include -c start_tasks.c
PGC-W-0095-Type cast required for this conversion (start_tasks.c: 993)
PGC/x86-64 Linux/x86-64 5.1-3: compilation completed with warnings
/usr/pgi/linux86-64/5.1/bin/pgcc -g 
-I/usr/local/src/torque-1.0.1p6/src/include -c wait_tasks.c
/usr/pgi/linux86-64/5.1/bin/pgcc -g 
-I/usr/local/src/torque-1.0.1p6/src/include -c util.c
/usr/pgi/linux86-64/5.1/bin/pgcc -g 
-I/usr/local/src/torque-1.0.1p6/src/include -c config.c
/usr/pgi/linux86-64/5.1/bin/pgcc -g 
-I/usr/local/src/torque-1.0.1p6/src/include -c stdio.c
PGC-S-0137-Incompatible prototype declaration for function walk_buf_list 
(stdio.c: 530)
PGC-W-0095-Type cast required for this conversion (stdio.c: 656)
PGC-W-0095-Type cast required for this conversion (stdio.c: 696)
PGC/x86-64 Linux/x86-64 5.1-3: compilation completed with severe errors
make: *** [stdio.o] Error 2

I am able to compile mpiexec on x86-64 using gcc-3.2.3-24, but 
unfortunately MPICH was
built with PGI because I need F90 capability.

Any ideas?

-- 
==============================================================
Dr. James C. Stephens             Email: jns at ias.edu

Computer Manager,                 Tel: (001) 609 734 8176 Work
School of Natural Sciences,            (001) 609 434 1266 Home
Institute For Advanced Study,
Princeton, New Jersey 08540       Fax: (001) 609 951 4519

Web: http://www.sns.ias.edu/~jns
==============================================================




More information about the mpiexec mailing list