Newsgroups: comp.parallel.mpi
From: cmwoo@hkusua.hku.hk (Woo Chat Ming)
Subject: Re: Problem with MPI with F90.
Organization: University of Hong Kong
Date: 4 Jul 1996 03:41:23 GMT
Message-ID: <4rfeh3$ee9@hkusuc.hku.hk>
 
Hello,
   I have written a program in Fortran 77. I parallelized it using MPI
library, which is written in Fortran 77 and I executed the program in
IBM SP2. 

However, when I try to run the program interactively, the 
following error message appear and the program stopped :
*************
$mytest
  0:Could not load program mytest 
  0:Symbol _xliindexg in pmd2 is undefined
  0:Error was: Exec format error
ERROR: 0031-250  task 3: Terminated
ERROR: 0031-250  task 2: Terminated
ERROR: 0031-250  task 1: Terminated
*************
On the other hand, the program runs very smoothly if I run it through the 
loadleveler. 

What happen to my program ?

I have used the following steps to compile my program :

>    1. Create a file `mpi90.f' with the following contents:
> 
>    module mpi90
>      include "mpif.h"
>    end module mpi90
>
>    Note: Ensure that there are at
>    least 6 spaces in front of each
>    line!
>     
>    2. Compile it using:  xlf90 -qfixed mpi90.f
>
>    3. Replace `include "mpif.h"' with `use mpi90'

I am using MPI-CH library and xlf90 compiler. 

Thank you for any help.

Regards,
Woo Chat Ming.

