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] 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
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