Re: [OMPI users] Newbie doubt.

2008-09-19 Thread Jeff Squyres
Can you narrow down the problem a bit? Have you run through a debugger, perchance, to see if anything turns up? Is your code working (running to completion and producing correct answers) at low process counts, etc.? On Sep 19, 2008, at 5:01 PM, Davi Vercillo C. Garcia (デビッド) wrote:

Re: [OMPI users] Newbie doubt.

2008-09-19 Thread Davi Vercillo C. Garcia (デビッド)
Hello again, My code evolved and I'm having more problems that I cannot solve. When I execute it, using a hight number of processes, it crashes. And I'm using MPI_Write but there's nothing in output file. My code can be found at: http://pastebin.com/d1ea278f1 -- Davi Vercillo Carneiro Garcia ht

Re: [OMPI users] Newbie doubt.

2008-09-17 Thread Davi Vercillo C. Garcia (デビッド)
Hi, > Yuo must close the File using > MPI_File_close(MPI_File *fh) > before calling MPI_Finalize. Newbie question... newbie problem ! UHiauhiauh... Thanks !!! > By the way i think you shouldn't do > strcat(argv[1], ".bz2"); > This would overwrite any following arguments. I know... I was just t

Re: [OMPI users] Newbie doubt.

2008-09-17 Thread jody
Hi Yuo must close the File using MPI_File_close(MPI_File *fh) before calling MPI_Finalize. By the way i think you shouldn't do strcat(argv[1], ".bz2"); This would overwrite any following arguments. Jody On Wed, Sep 17, 2008 at 5:13 AM, Davi Vercillo C. Garcia (デビッド) wrote: > Hi, > > I'm sta

[OMPI users] Newbie doubt.

2008-09-16 Thread Davi Vercillo C. Garcia (デビッド)
Hi, I'm starting to use OpenMPI and I'm having some troubles. I wrote a simple program that tries to open files using the function MPI_File_open(). Like below: #include #include #include #include int processoPrincipal(void); int processosEscravos(void); int main(int argc, char** argv) {