LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Rajeev Thakur (thakur_at_[hidden])
Date: 2004-08-27 10:19:02


> Date: Thu, 26 Aug 2004 10:47:44 -0700
> From: jnt7 <Jan.Theron_at_[hidden]>
> Subject: LAM: MPI Files
> To: lam_at_[hidden]
>
> Hi
>
> I ran into some trouble when porting LAM-7.0.6 to the G5; on
> single processes
> (using OpenMP to utilize both processors, i.e. MPI/OpenMP)
> the code works
> fine, but as soon as I have more than one process (say, one
> process per CPU) -
> not using OpenMP (i.e. MPI/MPI), my program fails or produces
> incorrect results.
>
> It appears that the MPI processes are unable to read files
> that it had created itself.
>
> What would be my best bet at a remedy; mount my G5 disks using NFS,
> configuring LAM/MPI --without-romio, or perhaps something else?

If you are writing files from a process on one machine and need to read them
back from a process on another machine, then the files must be on a common
file system that both machines have access to, such as an NFS-mounted
directory. This applies whether you use regular C/POSIX I/O or the MPI-IO
functions in LAM.

Rajeev