There's not enough information here to help. The error output
*seems* to indicate that you ran into some kind of file writing
problem that was unrelated to MPI, and I'm guessing that things went
downhill from there. Specifically, "File writing problem" is not a
string that appears in the LAM/MPI source code. You might look for
it in your code (or any other libraries that you use) and a) see why
it can happen, and b) when it does happen, what happens to your
program after that? I'm guessing that it exits with a non-zero
status to indicate that it completed in error. If this is the case,
LAM is simply reporting this to you.
On Jun 18, 2007, at 12:52 AM, SCIPIONI Roberto wrote:
> Dear all,
>
>
> I am trying to run an mpi code and strangely enough the code runs
> but at the end in the writing of the final results 2 processes and
> only two of them give error.
>
> Do you have an idea of what I have to look at ?
>
> The error reads:
>
>
> ------------------------
>
> 7 30 /home/robechan/work/fdtd_3D_xyzPML_MPI_OpenMP/Data/
> Ind_Foll_Loc_7.dat
> 6 10 /home/robechan/work/fdtd_3D_xyzPML_MPI_OpenMP/Data/
> Ind_Foll_Loc_6.dat
> 5 10 /home/robechan/work/fdtd_3D_xyzPML_MPI_OpenMP/Data/
> Ind_Foll_Loc_5.dat
> Process : 5 -- error: 2 -- File writing problem -- Ind_Foll_Loc
> 3 10 /home/robechan/work/fdtd_3D_xyzPML_MPI_OpenMP/Data/
> Ind_Foll_Loc_3.dat
> Process : 3 -- error: 2 -- File writing problem -- Ind_Foll_Loc
> ----------------------------------------------------------------------
> -------
> 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 28280 failed on node n0 (192.168.0.100) with exit status 1.
> ----------------------------------------------------------------------
> -------
> mpirun failed with exit status 1
>
>
> -------
>
> Thanks
>
>
> Roberto Scipioni
> ICYS, Japan
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
--
Jeff Squyres
Cisco Systems
|