Re: [OMPI users] C++ error: static object marked for destruction more than once

2007-06-13 Thread Julian Cummings
On Wed, 2007-06-13 at 20:54 -0400, Jeff Squyres wrote: > On Jun 13, 2007, at 8:47 PM, Julian Cummings wrote: > > > I would recommend > > that the OpenMPI configuration be modified to insert this flag (or > > some > > equivalent) as an LCXXFLAGS or even an LDFLAGS component in the > > compiler

Re: [OMPI users] C++ error: static object marked for destruction more than once

2007-06-13 Thread Jeff Squyres
On Jun 13, 2007, at 8:47 PM, Julian Cummings wrote: I did some quick tests with my little hello example that indicate that the application code only needs to be *linked* with -fpic, not compiled with it. The -fpic flag on the mpicxx link line points the linker to a PGI "libso" subdirectory

Re: [OMPI users] C++ error: static object marked for destruction more than once

2007-06-13 Thread Julian Cummings
Hi Jeff, On Wed, 2007-06-13 at 14:39 -0400, Jeff Squyres wrote: > On Jun 13, 2007, at 2:29 PM, Julian Cummings wrote: > > > Thanks, I will give that a try and repost to the list if problems > > remain. I am kind of surprised that compiling with -fpic is not > > done by > > default on a Linux s

Re: [OMPI users] Open MPI issue with Iprobe

2007-06-13 Thread Corwell, Sophia
Hi Galen, Yes, that worked! Thanks so much! -sophia -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Galen Shipman Sent: Monday, June 11, 2007 2:15 PM To: Open MPI Users Subject: Re: [OMPI users] Open MPI issue with Iprobe I think the

Re: [OMPI users] C++ error: static object marked for destruction more than once

2007-06-13 Thread Jeff Squyres
On Jun 13, 2007, at 2:29 PM, Julian Cummings wrote: Thanks, I will give that a try and repost to the list if problems remain. I am kind of surprised that compiling with -fpic is not done by default on a Linux system, since OpenMPI builds as a set of shared library .so files. Normally you wa

Re: [OMPI users] C++ error: static object marked for destruction more than once

2007-06-13 Thread Julian Cummings
Hi Jeff, Thanks, I will give that a try and repost to the list if problems remain. I am kind of surprised that compiling with -fpic is not done by default on a Linux system, since OpenMPI builds as a set of shared library .so files. Normally you want position-independent code in such libraries s

Re: [OMPI users] C++ error: static object marked for destruction more than once

2007-06-13 Thread Jeff Squyres
Bummer -- I thought I had replied to that one (perhaps I'm thinking that multiple people have posted this and I've replied to some but not all of them). Brock is correct that using "-fpic" to compile your MPI C++ app should solve the problem. This information *used* to be posted on the P

Re: [OMPI users] C++ error: static object marked for destruction more than once

2007-06-13 Thread Brock Palen
Try compiling with -fPIC, that solved our (Andrew Caird is my boss) problem, not optimal but it worked, but i have not tried it with pgi-7.0 only pgi-6.0/6.1 Let me know if that works Brock Palen Center for Advanced Computing bro...@umich.edu (734)936-1985 On Jun 13, 2007, at 12:38 AM

Re: [OMPI users] TCP connection errors

2007-06-13 Thread Jonathan Underwood
Thanks Adrian - that's a useful suggestion, I'll explore that. Jonathan.

Re: [OMPI users] TCP connection errors

2007-06-13 Thread Adrian Knoth
On Tue, Jun 12, 2007 at 08:37:38PM +0100, Jonathan Underwood wrote: > > > Presumably switching the two interfaces on the frontend (eth0<->eth1) > > > would also solve this problem? > > If you have root privileges this seems to be a another good approach. > I don't, but will explain the issue to sy

[OMPI users] C++ error: static object marked for destruction more than once

2007-06-13 Thread Julian Cummings
Hello, This is a follow up to a message originally posted by Andrew J Caird on 2006-08-16. No one ever replied to Andrew's message, and I am experiencing exactly the same problem with a more recent version of OpenMPI (1.2.1) and the PGI compiler (7.0). Essentially, the problem is that if you lin