From: t.kuan@ic.ac.uk
Newsgroups: comp.parallel.mpi
Subject: Re: MPI on Origin200
Date: 14 Mar 1999 19:05:14 GMT
Organization: Imperial College, London, UK
Message-Id: <7ch19a$16h$1@jura.cc.ic.ac.uk>
References: <7cbvtt$68j$1@jura.cc.ic.ac.uk>
User-Agent: tin/pre-1.4-981225 ("Volcane") (UNIX) (IRIX64/6.2 (IP28))
Xref: ukc comp.parallel.mpi:4747


seems like a found the problem. the header file used was from another
implementation.

tek seang


t.kuan@ic.ac.uk wrote:
: Dear all,

:    I am trying to set up MPI using SGI's Message Passing Toolkit on the
: Origin200 running IRIX 6.5 and Array 3.2. however, it does not return
: the correct rank for the simple program below. all processes spawned
: returned numprocs values of 0 and myid of 0.

: 	program test
: 	include "mpif.h"
: 	integer myid,numprocs,ierr
: 	call MPI_INIT(ierr)
:  	call MPI_COMM_RANK(MPI_COMM_WORLD,myid,ierr)
: 	call MPI_COMM_SIZE(MPI_COMM_WORLD,numprocs,ierr)
:         print*,"Process ",myid," of ",numprocs," is alive"
: 	call MPI_FINALIZE(ierr)
: 	stop
: 	end

:    I have a similiar version of the program in C and it returns the
: correct rank and number of processes. any ideas as to the source of the
: problem?

: tek seang

