[OMPI users] Regarding Fortran 90 subroutines with MPI

2009-12-31 Thread Arunkumar C R
Hi, I have encountered some run time errors in the general purpose program given below. Could you please assist me in correcting this. The MPI code is written in Fortran 90. The concept of subroutine is used because I want to write program for another scientific problem. module data use

Re: [OMPI users] Regarding Fortran 90 subroutines with MPI

2009-12-31 Thread Eugene Loh
It would help if you would include the error messages you encounter. You need to call MPI_Init(ierr) before you can call (just about) any other MPI call. E.g., add "call MPI_Init(ierr)" as the first executable statement of your "program prog". The error I get with your program is *** An er

Re: [OMPI users] Regarding Fortran 90 subroutines with MPI

2009-12-31 Thread ETHAN DENEAULT
Arun, Before you call any MPI subroutines, you have to call MPI_Init(ierr) first. Once you put that line in, it should work. Cheers, Ethan -- Dr. Ethan Deneault Assistant Professor of Physics SC 234 University of Tampa Tampa, FL 33606 -Original Message- From: users-boun...@open-mpi

Re: [OMPI users] Regarding Fortran 90 subroutines with MPI

2009-12-31 Thread Eugene Loh
Eugene Loh wrote: It would help if you would include the error messages you encounter. You need to call MPI_Init(ierr) before you can call (just about) any other MPI call. E.g., add "call MPI_Init(ierr)" as the first executable statement of your "program prog". The error I get with your p

Re: [OMPI users] OpenMPI problem on Fedora Core 12

2009-12-31 Thread Gijsbert Wiesenekker
First of all, the reason that I have created a CPU-friendly version of MPI_Barrier is that my program is asymmetric (so some of the nodes can easily have to wait for several hours) and that it is I/O bound. My program uses MPI mainly to synchronize I/O and to share some counters between the nodes,