Re: [OMPI users] MPI + Mixed language coding(Fortran90 + C++)

2008-11-03 Thread Jeff Squyres
ot know how to continue further. Thanks, Rajesh From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Mi Yan Sent: samedi 1 novembre 2008 23:26 To: Open MPI Users Cc: 'Open MPI Users'; users-boun...@open-mpi.org Subject: Re: [OMPI users] MPI + Mixed langu

Re: [OMPI users] MPI + Mixed language coding(Fortran90 + C++)

2008-11-03 Thread Rajesh Ramaya
pi.org Subject: Re: [OMPI users] MPI + Mixed language coding(Fortran90 + C++) So your tests show: 1. "Shared library in FORTRAN + MPI executable in FORTRAN" works. 2. "Shared library in C++ + MPI executable in FORTRAN " does not work. It seems to me that the symbols in C li

Re: [OMPI users] MPI + Mixed language coding(Fortran90 + C++)

2008-11-02 Thread Terry Frankcombe
On Sat, 2008-11-01 at 07:52 -0400, Jeff Squyres wrote: > On Oct 31, 2008, at 3:07 PM, Rajesh Ramaya wrote: > > > Thank you very much for the immediate reply. I am able to > > successfully > > access the data from the common block but the values are zero. In my > > algorithm I even update a com

Re: [OMPI users] MPI + Mixed language coding(Fortran90 + C++)

2008-11-01 Thread Mi Yan
10/31/2008 03:07 Subject PMRe: [OMPI users] MPI + Mixed language coding(Fortran90 + C++)

Re: [OMPI users] MPI + Mixed language coding(Fortran90 + C++)

2008-11-01 Thread Jeff Squyres
On Oct 31, 2008, at 3:07 PM, Rajesh Ramaya wrote: Thank you very much for the immediate reply. I am able to successfully access the data from the common block but the values are zero. In my algorithm I even update a common block but the update made by the shared library is not taken in to

Re: [OMPI users] MPI + Mixed language coding(Fortran90 + C++)

2008-10-31 Thread Gustavo Seabra
On Fri, Oct 31, 2008 at 3:07 PM, Rajesh Ramaya wrote: > Actually I am > not writing any MPI code inside? It's the executable (third party software) > who does that part. What are you using for this? We too use Fortran and C routines combined with no problem at all. I would think that whatever "th

Re: [OMPI users] MPI + Mixed language coding(Fortran90 + C++)

2008-10-31 Thread Rajesh Ramaya
ssage- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres Sent: vendredi 31 octobre 2008 18:53 To: Open MPI Users Subject: Re: [OMPI users] MPI + Mixed language coding(Fortran90 + C++) On Oct 31, 2008, at 11:57 AM, Rajesh Ramaya wrote: > I am comple

Re: [OMPI users] MPI + Mixed language coding(Fortran90 + C++)

2008-10-31 Thread Jeff Squyres
On Oct 31, 2008, at 11:57 AM, Rajesh Ramaya wrote: I am completely new to MPI. I have a basic question concerning MPI and mixed language coding. I hope any of you could help me out. Is it possible to access FORTRAN common blocks in C++ in a MPI compiled code. It works without MPI but as

[OMPI users] MPI + Mixed language coding(Fortran90 + C++)

2008-10-31 Thread Rajesh Ramaya
Hello MPI Users, I am completely new to MPI. I have a basic question concerning MPI and mixed language coding. I hope any of you could help me out. Is it possible to access FORTRAN common blocks in C++ in a MPI compiled code. It works without MPI but as soon I switch to MPI the access of commo