[OMPI users] unresolvable R_X86_64_64 relocation against symbol `mpi_fortran_*

2011-09-22 Thread Dmitry N. Mikushin
Hi, OpenMPI 1.5.4 compiled with gcc 4.6.1 and linked with target app gives a load of linker messages like this one: /usr/bin/ld: ../../lib/libutil.a(parallel_utilities.o)(.debug_info+0x529d): unresolvable R_X86_64_64 relocation against symbol `mpi_fortran_argv_null_ There are a lot of similar me

Re: [OMPI users] unresolvable R_X86_64_64 relocation against symbol `mpi_fortran_*

2011-09-22 Thread Dmitry N. Mikushin
Same error when configured with --with-pic --with-gnu-ld 2011/9/22 Dmitry N. Mikushin : > Hi, > > OpenMPI 1.5.4 compiled with gcc 4.6.1 and linked with target app gives > a load of linker messages like this one: > > /usr/bin/ld: ../../lib/libutil.a(parallel_utilities.o)(.debug_info+0x529d): > unre

Re: [OMPI users] unresolvable R_X86_64_64 relocation against symbol `mpi_fortran_*

2011-09-22 Thread Jeff Squyres
This usually means that you're mixing compiler/linker flags somehow (e.g., built something with 32 bit, built something else with 64 bit, try to link them together). Can you verify that everything was built with all the same 32/64? On Sep 22, 2011, at 1:21 PM, Dmitry N. Mikushin wrote: > Hi,

Re: [OMPI users] unresolvable R_X86_64_64 relocation against symbol `mpi_fortran_*

2011-09-22 Thread Dmitry N. Mikushin
Hi Jeff, You're right because I also tried 1.4.3, and it's the same issue there. But what could be wrong? I'm using the simplest form - ../configure --prefix=/opt/openmpi_gcc-1.4.3/ and only installed compilers are system-default gcc and gfortran 4.6.1. Distro is ubuntu 11.10. There is no any mpi

[OMPI users] openmpi -cc= option

2011-09-22 Thread Uday Kumar Reddy B
I have openmpi via the distribution package: openmpi-1.4.3-7.fc14.i686 When attempting to make mpicc use another compiler as follows: mpicc -cc=icc ... I get gcc: unrecognized option '-cc=icc' /tmp/ccHd339C.o: In function `main': It looks like it's just passing this as option to gcc instead of

Re: [OMPI users] openmpi -cc= option

2011-09-22 Thread Jeff Squyres
Right: -cc is not an option to Open MPI's mpicc wrapper compiler (I don't think it ever has been). See http://www.open-mpi.org/faq/?category=mpi-apps#cant-use-wrappers and http://www.open-mpi.org/faq/?category=mpi-apps#override-wrappers-after-v1.0. On Sep 22, 2011, at 3:44 PM, Uday Kumar Reddy

Re: [OMPI users] openmpi -cc= option

2011-09-22 Thread Uday Kumar Reddy B
On Fri, Sep 23, 2011 at 1:21 AM, Jeff Squyres wrote: > Right: -cc is not an option to Open MPI's mpicc wrapper compiler (I don't > think it ever has been). But that's not what the manual says ('man mpicc'). -- COMMAND LINE ARGUMENTS -show - Show the commands that would be us

Re: [OMPI users] openmpi -cc= option

2011-09-22 Thread Ralph Castain
Ummm...yes, because you are getting the man page for the MPICH mpicc, not ours. Try setting your manpage path to point to the OMPI install directory. On Sep 22, 2011, at 1:55 PM, Uday Kumar Reddy B wrote: > On Fri, Sep 23, 2011 at 1:21 AM, Jeff Squyres wrote: >> Right: -cc is not an option to

Re: [OMPI users] openmpi -cc= option

2011-09-22 Thread Uday Kumar Reddy B
On 09/23/2011 01:33 AM, Ralph Castain wrote: Ummm...yes, because you are getting the man page for the MPICH mpicc, not ours. Try setting your manpage path to point to the OMPI install directory. Yes, but I can't find anything about -cc in openmpi's mpicc man page. So, -cc should either not

Re: [OMPI users] openmpi -cc= option

2011-09-22 Thread Ralph Castain
On Sep 22, 2011, at 2:17 PM, Uday Kumar Reddy B wrote: > > > On 09/23/2011 01:33 AM, Ralph Castain wrote: >> Ummm...yes, because you are getting the man page for the MPICH mpicc, not >> ours. Try setting your manpage path to point to the OMPI install directory. > > Yes, but I can't find anyth

Re: [OMPI users] openmpi -cc= option

2011-09-22 Thread Jeff Squyres
On Sep 22, 2011, at 4:17 PM, Uday Kumar Reddy B wrote: > Yes, but I can't find anything about -cc in openmpi's mpicc man page. So, -cc > should either not be supported or work as per mpich's mpicc if you are > wrapping around it. mpicc has no way of knowing that an option is not supposed to wor

Re: [OMPI users] openmpi -cc= option

2011-09-22 Thread Uday Kumar Reddy B
On 09/23/2011 01:49 AM, Jeff Squyres wrote: On Sep 22, 2011, at 4:17 PM, Uday Kumar Reddy B wrote: Yes, but I can't find anything about -cc in openmpi's mpicc man page. So, -cc should either not be supported or work as per mpich's mpicc if you are wrapping around it. mpicc has no way of kno

Re: [OMPI users] openmpi -cc= option

2011-09-22 Thread Gus Correa
Jeff Squyres wrote: On Sep 22, 2011, at 4:17 PM, Uday Kumar Reddy B wrote: Yes, but I can't find anything about -cc in openmpi's mpicc man page. So, -cc should either not be supported or work as per mpich's mpicc if you are wrapping around it. mpicc has no way of knowing that an option is n

Re: [OMPI users] openmpi -cc= option

2011-09-22 Thread Jeff Squyres
On Sep 22, 2011, at 4:39 PM, Uday Kumar Reddy B wrote: >> More specifically: how is mpicc supposed to know that any given option was >> intended for mpicc and not the underlying compiler, particularly the ones >> that it doesn't support? > > Yes, it won't in the general case, but since -cc is a

[OMPI users] maximum size for read buffer in MPI_File_read/write

2011-09-22 Thread German Hoecht
Hello, MPI_File_read/write functions uses an integer to specify the size of the buffer, for instance: int MPI_File_read(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status) with: count Number of elements in buffer (integer). datatype Data type of each buffer element

[OMPI users] on cluster job slowdown near end

2011-09-22 Thread Tom Hilinski
Hi, A job I am running slows down as it approaches the end. I'd appreciate any ideas you may have on possible cause or what else I can look at for diagnostic info. Environment: * Linux cluster, very recent version of Fedora. * openmpi 1.5 Characteristics of job: * Tasks are all the same size and

[OMPI users] PATH settings

2011-09-22 Thread Martin Siegert
Hi, I am trying to figure out how openmpi (1.4.3) sets its PATH for executables. From the man page: Locating Files If no relative or absolute path is specified for a file, Open MPI will first look for files by searching the directories specified by the --path option. If there i