LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Johannes Theron (jan.theron_at_[hidden])
Date: 2004-11-08 18:15:37


I just compiled a govt CFD code (F77, F90 and C mixed code with MPI) with
lam-mpi (7.1.1) and I get the same error during runtime as with mpich. I was
wondering if anyone could shed some light on my problem...

Essentially, the job gets fired off (2 on my dual G5 Mac and two on a dual
Xserve G5 connected via gigabit ethernet.) I use passwordless rsh to
communicate between the two. (eg. Rsh xbot0 ls fired off from rotorx and
vice versa yields the listing of the appropriate directory without prompting
for a password.)

The fiorst part of the program runs fine. This consists of taking a
computational grid (eg. The domain around an aircraft wing) and splitting
it into smaller chunks for use by the various mpi jobs. These split grids
are written as new grid files on the headnode (rotorx).

When the computational job actually starts, (the Xserve (xbot0) needs to
read these files from the head node (rotorx)), I get the following error:

***************
** ERROR ** UNABLE TO OPEN GRID FILE od_scratch/grid.14

 STOP_ALL called from routine GRID_READ, group 3

 ** ERROR ** UNABLE TO OPEN GRID FILE od_scratch/grid.15

 STOP_ALL called from routine GRID_READ, group 4
****************

I configured my lam as follows:

export FC="xlf -qextname"
export F77="xlf -qextname"
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
export CFLAGS="-fast"
export CXXFLAGS="-O3"
export FFLAGS="-O3 -qstrict"
./configure --with-rsh=/usr/bin/rsh --prefix=/Volumes/scratch/usr/lammpi
--with-memory-manager=none --disable-tv-queue

Make

Sudo make install

I included -lmpi -llam -llamf77mpi -llammpio when compiling my code.

Thanks

Jan Theron