Re: [OMPI users] MPI_Allreduce hangs

2012-06-27 Thread Martin Siegert
On Wed, Jun 27, 2012 at 02:30:11PM -0400, Jeff Squyres wrote: > On Jun 27, 2012, at 2:25 PM, Martin Siegert wrote: > > >> http://www.open-mpi.org/~jsquyres/unofficial/openmpi-1.6.1ticket3131r26612M.tar.bz2 > > > > Thanks! I tried this and, indeed, the program (I tested quantum espresso, > >

Re: [OMPI users] Fwd: MPI Problem

2012-06-27 Thread Mohamad Ali Rostami
Good. :) It works.  integer(kind=4) nprocs, myrank, dest, source, tag, ierr, tagi Thank you, Ali RWTH Aachen From: "Iliev, Hristo" To: Open MPI Users Sent: Wednesday, June 27, 2012 9:00 PM Subject: [OMPI users]

Re: [OMPI users] hang in mpi_allreduce in single linux machine‏

2012-06-27 Thread Jeff Squyres
Open MPI 1.3.4 is pretty ancient. Can you upgrade to Open MPI 1.6? On Jun 27, 2012, at 2:59 PM, William Au wrote: > Hi, > > When I ran multiple processes in a single machine, the programs are hanging > in mpi_allreduce in different points > during different runs. I am using 1.3.4. When I

[OMPI users] Fwd: MPI Problem

2012-06-27 Thread Iliev, Hristo
Hit Reply by mistake instead of Reply to all... Begin forwarded message: > From: Hristo Iliev > Subject: Re: [OMPI users] MPI Problem > Date: 27 юни 2012 20:58:55 CEST > To: Mohamad Ali Rostami > > Hi, > > I spotted "-fdefault-integer-8" in the

[OMPI users] hang in mpi_allreduce in single linux machine‏

2012-06-27 Thread William Au
Hi, When I ran multiple processes in a single machine, the programs are hanging in mpi_allreduce in different points during different runs. I am using 1.3.4. When I used different machines to run the processes, it is OK. Also, when I recompiled open mpi in debug mode, the problem goes

Re: [OMPI users] MPI Problem

2012-06-27 Thread Mohamad Ali Rostami
Hey Yes, I am from RWTH Aachen, doing Hybrid Parallelization of some code on HPC. These are the outputs from the command line: $ mpif90 --showme gfortran -I/opt/MPI/openmpi-1.5.3/linux/gcc/include -fexceptions -pthread -I/opt/MPI/openmpi-1.5.3/linux/gcc/lib

Re: [OMPI users] MPI_Allreduce hangs

2012-06-27 Thread Jeff Squyres
On Jun 27, 2012, at 2:25 PM, Martin Siegert wrote: >> http://www.open-mpi.org/~jsquyres/unofficial/openmpi-1.6.1ticket3131r26612M.tar.bz2 > > Thanks! I tried this and, indeed, the program (I tested quantum espresso, > pw.x, so far) no longer hangs. Good! We're doing a bit more definitive

Re: [OMPI users] MPI_Allreduce hangs

2012-06-27 Thread Martin Siegert
Hi Jeff, On Wed, Jun 20, 2012 at 04:16:12PM -0400, Jeff Squyres wrote: > On Jun 20, 2012, at 3:36 PM, Martin Siegert wrote: > > > by now we know of three programs - dirac, wrf, quantum espresso - that > > all hang with openmpi-1.4.x (have not yet checked with openmpi-1.6). > > All of these

Re: [OMPI users] rpmbuild defining opt install path

2012-06-27 Thread Jeff Squyres
On Jun 27, 2012, at 2:12 PM, Lloyd Brown wrote: > That's a really good idea. The trouble is that I need to have multiple > versions installed (eg. compiled with the various compilers), so I think > I still need to manipulate name in some way, so the packages will be > named differently. But

Re: [OMPI users] rpmbuild defining opt install path

2012-06-27 Thread Lloyd Brown
That's a really good idea. The trouble is that I need to have multiple versions installed (eg. compiled with the various compilers), so I think I still need to manipulate name in some way, so the packages will be named differently. But _prefix should definitely give me more flexibility as to

Re: [OMPI users] MPI Problem

2012-06-27 Thread Iliev, Hristo
I will appreciate if he would respond to my earlier inquiry as he appears to be a user of our computing facilities. -- Hristo Iliev, Ph.D. -- High Performance Computing RWTH Aachen University, Center for Computing and Communication > -Original Message- > From: users-boun...@open-mpi.org

Re: [OMPI users] MPI Problem

2012-06-27 Thread Jeff Squyres
On Jun 27, 2012, at 1:09 PM, Mohamad Ali Rostami wrote: > It seems that the problem is solved. > > Actually, when I replaced "use mpi" by "include "mipf.h". You lose all parameter type checking this way. > And adding -lmpi -lmpi90, everything works. You should not need to do this for Open

Re: [OMPI users] rpmbuild defining opt install path

2012-06-27 Thread Jeff Squyres
Hmm. I'm not sure why --rebuild is different than not--rebuild. I'm not an RPM expert, though... On Jun 26, 2012, at 4:24 PM, Lloyd Brown wrote: > Something else interesting that I just discovered. If I do this, I have > the problem: > > rpmbuild --rebuild -bb path/to/openmpi-1.6-2.src.rpm

Re: [OMPI users] rpmbuild defining opt install path

2012-06-27 Thread Jeff Squyres
On Jun 26, 2012, at 2:40 PM, Lloyd Brown wrote: > Is there an easy way with the .spec file and the rpmbuild command, for > me to override the path the OpenMPI RPM installs into, in /opt? > Basically, I'm already doing something like this: I think all you need to do is override the RPM-builtin

Re: [OMPI users] MPI Problem

2012-06-27 Thread Mohamad Ali Rostami
It seems that the problem is solved. Actually, when I replaced "use mpi" by "include "mipf.h". And adding -lmpi -lmpi90, everything works.  I think you need these two "-lmpi -lmpi90" when you have Blas or LAPACK libraries. Regards, Ali From: Jeff Squyres

Re: [OMPI users] undefined reference to `netcdf_mp_nf90_open_'

2012-06-27 Thread Jeff Squyres
Per other replies on this thread, I think you're missing some -l (and possibly -L) options on your compile line. You probably don't need --showme to see exactly what mpif90 is doing because it looks like the issue is not with mpif90, but rather with the arguments that you're passing to it.

Re: [OMPI users] undefined reference to `netcdf_mp_nf90_open_'

2012-06-27 Thread Syed Ahsan Ali
> > Dear Tim >>> >> > I built netcdf with mpif90using this option >> >> ./configure MPIF90=/home/openmpi/bin/mpif90 and compiled the application using mpif90 comipler option. Regards Ahsan > If your mpif90 is properly built and set up with the same Fortran > compiler you are using, it

Re: [OMPI users] undefined reference to `netcdf_mp_nf90_open_'

2012-06-27 Thread Syed Ahsan Ali
Dear Dima I was not sure but it seemed to be like something related to netcdf and mpif90. I have struggling with the compilation of comso, int2lm parallel has been installed successfully but cosmo is giving this error. I don't have any -lnetcdf or -lnetcdff in linker options of the Fopts file. I

Re: [OMPI users] undefined reference to `netcdf_mp_nf90_open_'

2012-06-27 Thread Syed Ahsan Ali
Dear Jeff Can you explain a little how to get this. "* you can take the mpif90 command that is being used to generate these errors and add "--showme" to the end of it, and you'll see what underlying compiler command is being executed under the covers."* * * Regards Ahsan On Tue, Jun 26, 2012 at

[OMPI users] Reconstructed concept about a semi-automatic optimized parallel I/O with Open MPI

2012-06-27 Thread Xuan Wang
Hi guys, This is the reconsidered concept about our semi-automatic optimized parallel I/O system. Referring to the last discussion please take a look at the following link: http://www.open-mpi.org/community/lists/users/2012/06/19517.php Thank Ralph and Jeff for giving me so many advises. The

Re: [OMPI users] MPI Problem

2012-06-27 Thread Iliev, Hristo
Hi, Could you please compare the output from "mpif77/mpif90 -showme" when executed from the command line and from inside the Makefile? Could you also check that the argument to MPI_INIT is a normal INTEGER and is not getting some funny KIND or preprocessor treatment? Regards, -- Hristo

Re: [OMPI users] MPI Problem

2012-06-27 Thread Mohamad Ali Rostami
Something strange, By adding all the libraries which I found from mpif90/mpif77 --showme, Fortran 77 version worked finally, but Fortran 90 version still has the problem. Error: There is no specific subroutine for the generic 'mpi_init' at (1) any idea??