From: Ken Van de Houten <kjvand@gte.net>
Newsgroups: comp.unix.aix,comp.parallel.mpi,comp.protocols.tcp-ip,comp.sys.aix
Subject: sockets plus MPI code fails under aix
Date: Wed, 30 Sep 1998 21:12:45 -0700
Organization: gte.net
Message-Id: <6uuve7$3aa$1@news-2.news.gte.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: ukc comp.unix.aix:130899 comp.parallel.mpi:4099
    comp.protocols.tcp-ip:63660


Hi,

I've run into a problem trying to compile and run a code
which contains both MPI message passing function calls
and BSD socket function calls.       I'm compiling for an IBM
sp2 running AIX 4.2.      I'm compiling with the mpcc wrapper for xlc,
which adds all of the MPI-necessary paths and options.

The code is a simple test program which merely acts as a server
accepting incoming connections.     It runs okay on many operating
systems, and even works okay on AIX if I leave out the MPI calls
and compiler options.     But, if I compile with mpcc the server
always fails in the socket "accept" function call, with an error code
of 4, which translates to the error "A system call received an
interrupt."

Is there a fundamental problem under AIX with combining MPI and
sockets calls ???
Has anybody else run into this problem before ???

Any help will be greatly appreciated.

Thanks,
Ken

