Open MPI logo

Open MPI User's Mailing List Archives

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

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2007-10-09 02:08:23


 From the files you attached, I see the following in config.log:

OMPI_CC_ABSOLUTE=' DISPLAY known

and several lines later:

OMPI_CXX_ABSOLUTE=' DISPLAY known

But in Makefile, I see this bogus 2-line value (same as you noted):

OMPI_CC_ABSOLUTE = DISPLAY known
/usr/bin/gcc

and several lines later:

OMPI_CXX_ABSOLUTE = DISPLAY known
/usr/bin/g++

Note that we set these two values in configure with the following
commands:

OMPI_CC_ABSOLUTE="`which $CC`"
OMPI_CXX_ABSOLUTE="`which $CXX`"

So I *suspect* that the bogus values in config.status are totally
hosing you when trying to create all the other files -- the version
of "sed" is a red herring.

What exactly is your output when you run "which gcc" and "which g+
+"? We are blindly taking the whole value -- mainly because I've
never seen "which foo" give more than one line on stdout. ;-)

What *could* be happening is that your shell startup files are
generating some output (e.g., "DISPLAY known") and that's being
output before "which foo" is run because of the `` usage. Do your
shell startup files emit "DISPLAY known" when you start up?

On Oct 8, 2007, at 5:19 PM, Reuti wrote:

> Am 07.10.2007 um 01:16 schrieb Michael Clover:
>
>> I was just trying to install openmpi-1.2.4 on a brand new iMac (2.4
>> GHZ Intel Core 2 Duo, 1GB RAM, OSX 10.4.10), having just loaded the
>> xtools environnment. I am able to successfully run the configure,
>> but make dies instantly:
>>
>> configure -prefix=/usr/local/openmpi --disable-mpi-cxx --disable-
>> mpi-f90 --without-xgrid FC=gfortran | tee config.out
>> ...
>> config.status: executing depfiles commands
>> config.status: executing libtool commands
>> cloverm:~/bin/openmpi-1.2.4:[22]>make -j 4 |& tee make.out
>> Makefile:602: *** missing separator. Stop.
>> cloverm:~/bin/openmpi-1.2.4:[23]>ls *.out
>> config.out make.out
>> cloverm:~/bin/openmpi-1.2.4:[24]>tar -zcvf ompi-output.tar.gz *.log
>> *.out
>> config.log
>> config.out
>> make.out
>> cloverm:~/bin/openmpi-1.2.4:[25]>ld -v
>> Apple Computer, Inc. version cctools-622.5.obj~13
>>
>> I have copied lines 599-609 from Makefile, so you can see that Make
>> is trying to run gcc, in a way that doesn't look correct
>>
>> OMPI_AS_GLOBAL =
>> OMPI_AS_LABEL_SUFFIX =
>> OMPI_CC_ABSOLUTE = DISPLAY known
>> /usr/bin/gcc
>
> The "DISPLAY known" shouldn't be there. What is a plain:
>
> which gcc
>
> giving? Just /usr/bin/gcc as for me or something more?
>
> -- Reuti
>
>
>> OMPI_CONFIGURE_DATE = Sat Oct 6 16:05:59 PDT 2007
>> OMPI_CONFIGURE_HOST = michael-clovers-computer.local
>> OMPI_CONFIGURE_USER = mrc
>> OMPI_CXX_ABSOLUTE = DISPLAY known
>> /usr/bin/g++
>> OMPI_F77_ABSOLUTE = none
>> OMPI_F90_ABSOLUTE = none
>>
>>
>> I am also attaching the tee'd results, the config.log, and the
>> Makefile that doesn't work:
>>
>> cloverm:~/bin/openmpi-1.2.4:[27]>tar -zcvf ompi-output.tar.gz *.log
>> *.out Makefile
>> config.log
>> config.out
>> make.out
>> Makefile
>> <ompi-output.tar.gz>
>>
>> Michael Clover
>> mclover_at_[hidden]
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
Cisco Systems