Re: [OMPI users] getting fortran90 to compile

2008-07-13 Thread Terry Frankcombe
On Sun, 2008-07-13 at 10:58 -0500, zach wrote: > I installed openmpi like > ./configure --prefix= FC=/usr/bin/gfortran-4.2 > make all install If gfortran is in your path (which is usually the best way to have it set up) then ./configure --prefix= should work. (It does for me.) Is there a partic

Re: [OMPI users] Object Send Doubt

2008-07-13 Thread Gabriele Fatigati
Hi Carlos, but why you need to pass an object? I don't understand this. Usuall, in MPI, we don't need to do this. 2008/7/13 Andreas Schäfer : > On 08:10 Sun 13 Jul , Carlos Henrique da Silva Santos wrote: > > Ok. Gabriele, > >But I would like to know, how can I define DATATYPE on send a

Re: [OMPI users] getting fortran90 to compile

2008-07-13 Thread Doug Reeder
Zachary, I believe you need to ad F90=/usr/bin/gfortran-4.2 (or something similar) to the configure arguments, FC= just gets f77 support. Doug Reeder On Jul 13, 2008, at 8:58 AM, zach wrote: I installed openmpi like ./configure --prefix= FC=/usr/bin/gfortran-4.2 make all install When i typ

Re: [OMPI users] Valgrind Functionality

2008-07-13 Thread Shiqing Fan
Hello Tom, There was a bug in the configure.m4 of memchecker/valgrind, but it shouldn't happen for revision 18303. Now it fixed with r18899. Could you please svn update your source, and try again? Thanks, Shiqing Tom Riddle wrote: Thanks, I've gotten to the point of building and running b

Re: [OMPI users] Object Send Doubt

2008-07-13 Thread Andreas Schäfer
On 08:10 Sun 13 Jul , Carlos Henrique da Silva Santos wrote: > Ok. Gabriele, >But I would like to know, how can I define DATATYPE on send and > recv? Could you give me an example? >For example, my class has the following design and I want to > send/recv Test object. > > class Test { >

Re: [OMPI users] getting fortran90 to compile

2008-07-13 Thread Brock Palen
Use ./configure --prefix=/path/blah/blah FC=gfortran F77=gfortran I think configure will pick up on it? FC and F77 need to point to the full executable, not just the install path of the compiler, so if gfortran is not in your $PATH set it to the full path: FC=/usr/bin/gfortran-4.2/bin/gfo

Re: [OMPI users] Valgrind Functionality

2008-07-13 Thread Tom Riddle
Thanks, I've gotten to the point of building and running branch/1.3. However when I attempt to run my simple osu_latency test I get the following runtime error now, which I hadn't before on a repo pull of trunk/openmpi-1.3a1r18303 opal_memchecker_base_select failed --> Returned value -13 inste

[OMPI users] getting fortran90 to compile

2008-07-13 Thread zach
I installed openmpi like ./configure --prefix= FC=/usr/bin/gfortran-4.2 make all install When i type mpif90 file1.f90 file2.f90 file3.f90 I get Unfortunately, this installation of Open MPI was not compiled with Fortran 90 support. As such, the mpif90 compiler is non-functional. What am i doing

Re: [OMPI users] Valgrind Functionality

2008-07-13 Thread Jeff Squyres
On Jul 13, 2008, at 9:11 AM, Tom Riddle wrote: Does anyone know if this feature has been incorporated yet? I did a ./configure --help but do not see the enable-ptmalloc2-internal option. - The ptmalloc2 memory manager component is now by default built as a standalone library named libopenm

Re: [OMPI users] Valgrind Functionality

2008-07-13 Thread Tom Riddle
Does anyone know if this feature has been incorporated yet? I did a ./configure --help but do not see the enable-ptmalloc2-internal option. - The ptmalloc2 memory manager component is now by default built as a standalone library named libopenmpi-malloc. Users wanting to use leave_pinned with

Re: [OMPI users] Object Send Doubt

2008-07-13 Thread Carlos Henrique da Silva Santos
Ok. Gabriele, But I would like to know, how can I define DATATYPE on send and recv? Could you give me an example? For example, my class has the following design and I want to send/recv Test object. class Test { private: int coordinate; vector s; public: void setD(int, vector)

Re: [OMPI users] Object Send Doubt

2008-07-13 Thread Gabriele Fatigati
Hi Carlos, simply you can send all object's field and rebuild new object in destination process. Maybe, you have to delete old object in source process. Remember that you can't send address (eg: pointers) because they refera in local memory. If you want to do "deep copy" of object, you have to se