Re: [OMPI users] Performing partial calculation on a single node in an MPI job

2016-10-18 Thread Vahid Askarpour
Hi George and Jeff, Thank you for taking the time to respond to my query. You did inspire me in the right direction. Some of the variables involved in the calculation of B were not broadcast. In addition, a double do-loop combined with an IF statement was overwriting on the correct B values. I

Re: [OMPI users] Performing partial calculation on a single node in an MPI job

2016-10-17 Thread George Bosilca
I should have been more precise: you cannot use Fortran's vector subscript with Open MPI. George. On Mon, Oct 17, 2016 at 2:19 PM, Jeff Hammond wrote: > George: > > http://mpi-forum.org/docs/mpi-3.1/mpi31-report/node422.htm > > Jeff > > On Sun, Oct 16, 2016 at 5:44 PM, George Bosilca > wrote:

Re: [OMPI users] Performing partial calculation on a single node in an MPI job

2016-10-17 Thread Jeff Hammond
George: http://mpi-forum.org/docs/mpi-3.1/mpi31-report/node422.htm Jeff On Sun, Oct 16, 2016 at 5:44 PM, George Bosilca wrote: > Vahid, > > You cannot use Fortan's vector subscript with MPI. > -- Jeff Hammond jeff.scie...@gmail.com http://jeffhammond.github.io/ __

Re: [OMPI users] Performing partial calculation on a single node in an MPI job

2016-10-16 Thread George Bosilca
Vahid, You cannot use Fortan's vector subscript with MPI. Are you certain that the arrays used in your bcast are contiguous ? If not you would either need to move the data first into a single dimension array (which will then have the elements contiguously in memory), or define specialized datatyp

[OMPI users] Performing partial calculation on a single node in an MPI job

2016-10-16 Thread Vahid Askarpour
Hello, I am attempting to modify a relatively large code (Quantum Espresso/EPW) and here I will try to summarize the problem in general terms. I am using an OPENMPI-compiled fortran 90 code in which, midway through the code, say 10 points x(3,10) are broadcast across say 4 nodes. The index 3