Hi, Manish,
The LAM version I am using is LAM 6.5.6.
The ROMIO is installed with the package LAM-runtime.
My test code is very brief:
#include <stdio.h>
#include "mpi.h"
#include "mpio.h"
int main(int argc,char **argv)
{
int me,ndata;
int dt;
MPI_File fh;
MPI_Init(&argc,&argv);
MPI_Comm_rank(MPI_COMM_WORLD,&me);
MPI_File_open(MPI_COMM_WORLD,"data",MPI_MODE_RDONLY,MPI_INFO_NULL,&fh);
MPI_File_seek(fh,me*1024,MPI_SEEK_SET);
MPI_File_read(fh,&dt,1,MPI_INT,MPI_STATUS_IGNORE);
MPI_File_close(&fh);
MPI_Finalize();
}
After Lamboot and compile successfully.
mpirun -np 4 ./filename
and the output is:
File locking failed in ADIOI_Set_lock. If the file system is NFS, you need
to use NFS version 3 and mount the directory with the 'noac' option (no
attribute caching).
File locking failed in ADIOI_Set_lock. If the file system is NFS, you need
to use NFS version 3 and mount the directory with the 'noac' option (no
attribute caching).
File locking failed in ADIOI_Set_lock. If the file system is NFS, you need
to use NFS version 3 and mount the directory with the 'noac' option (no
attribute caching).
File locking failed in ADIOI_Set_lock. If the file system is NFS, you need
to use NFS version 3 and mount the directory with the 'noac' option (no
attribute caching).
-----------------------------------------------------------------------------
One of the processes started by mpirun has exited with a nonzero exit
code. This typically indicates that the process finished in error.
If your process did not finish in error, be sure to include a "return
0" or "exit(0)" in your C code before exiting the application.
PID 19462 failed on node n0 with exit status 1.
-----------------------------------------------------------------------------
p.s. I have mounted the NFS3 with "noac" option.
Thanks a lot!
Yijian Wang
On Mon, 30 Sep 2002, Manish Chablani wrote:
>
> Hi,
>
> Can you mail the version of LAM you are using and also tell us if
> you have installed ROMIO seperately or installed the ROMIO version that comes
> with LAM.
>
> If you could send the exact output and your test code it would be great.
>
> cheers,
> Manish Chablani
> ------------------------------------------------------
> Graduate Student, CS Department,
> Indiana University.
>
> Make today a LAM/MPI day !!!
> http://www.lam-mpi.org/
> ------------------------------------------------------
>
> On Sun, 29 Sep 2002, Yijian Wang wrote:
>
> >
> > I am using the parallel I/O functions of LAM/MPI on a Linux PC cluster.
> > After I mounted the filesystem NFS3 with the noac option. I still get the
> > error as following:
> >
> > File locking failed in ADIOI_Set_lock. If the file system is NFS, you need
> > to use NFS version 3 and mount the directory with the 'noac' option (no
> > attribute caching).
> >
> > Does anybody know what's the reason?
> >
> > Thanks!
> >
> > Yijian Wang
> >
> >
> > _______________________________________________
> > This list is archived at http://www.lam-mpi.org/MailArchives/lam/
> >
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/
|