Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] problems compiling openmpi-1.6 on some platforms
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-05-31 18:13:54


On May 30, 2012, at 7:29 AM, Siegmar Gross wrote:

> [snipped Solaris / VT stuff]

I'll let the Oracle and/or VT guys answer that.

> Unfortunately "cc" on Linux creates the following error.
>
> ln -s "../../../openmpi-1.6/opal/asm/generated/
> atomic-ia32-linux-nongas.s" atomic-asm.S
> CPPAS atomic-asm.lo
> <command-line>:19:0: warning: "__FLT_EVAL_METHOD__" redefined
> [enabled by default]
> <built-in>:110:0: note: this is the location of the previous definition
> cpp: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
> compilation terminated.
> cc: cpp failed for atomic-asm.S
> make[2]: *** [atomic-asm.lo] Error 1
> make[2]: Leaving directory `/.../opal/asm'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/.../opal'
> make: *** [all-recursive] Error 1

What compiler is "cc"?

> Adding the option "--with-libltdl=internal" (should be the default
> anyway) didn't solve the problem so that I tried to add the options
> "--without-libltdl --disable-dlopen" to the cc-configuration on
> Linux. Unfortunately I still get the above error although I started
> everything in a new directory.

FWIW: the atomic stuff is unrelated to libltdl. So I can see how adding those options had no effect.

> I have another problem on SunOS_x86 with both "cc" and "gcc" where
> "configure" breaks with the following error.
>
> configure: creating ./config.status
> config.status: creating Makefile
> ./config.status: line 1197: 4396 Done(141)
> eval sed \"\$ac_sed_extra\" "$ac_file_inputs"
> 4397 Segmentation Fault | $AWK -f "$ac_tmp/subs.awk" > $ac_tmp/out
> config.status: error: could not create Makefile

Ouch -- sed seg faulted!

There's not much we can do there; if basic commands are not working on your system, then OMPI failing is really just a symptom of some deeper problem.

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/