Open MPI logo

Open MPI User's Mailing List Archives

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

From: James Conway (jxc100_at_[hidden])
Date: 2007-09-29 19:15:20

(I sent this already, but it didn't appear on the list. The tar-
gzipped output from configure and make was over 100kB, so I am
sending again without that attached).

It seems that the XGrid MCA with OpenMPI 1.2.4 does not compile on a
Mac/Intel system using the latest Intel compilers (seems to be OK
with gcc). I downloaded the latest (Intel v10 20070809) C/C++ and
Fortran demos and get the following error when building OpenMPI
(output from configure and make are available but possibly too large
for the mailing list):

./configure CC=icc CXX=icpc F77=ifort F90=ifort
make all
/bin/sh ../../../../libtool --mode=link gcc -g -O2 -module -avoid-
version -framework XGridFoundation -framework Foundation -export-
dynamic -Wl,-u,_munmap -Wl,-multiply_defined,suppress -o -rpath /usr/local/lib/openmpi src/
pls_xgrid_component.lo src/pls_xgrid_module.lo src/
pls_xgrid_client.lo /Users/conway/programs/openMPI/openmpi-1.2.4/orte/ /Users/conway/programs/openMPI/openmpi-1.2.4/opal/
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
make[2]: *** [] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

What I notice here is that despite my specification of the Intel
compilers on the configure command line (including the correct c++
icpc compiler!) the libtool command that fails seems to be using gcc
(... --mode=link gcc ...) on the Xgrid sources. This is part of the
Modular Component Architecture (MCA) setup (configure.out) and also
uses gcc for the compiles:

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../opal/include
-I../../../../orte/include -I../../../../ompi/include -I/Users/conway/
programs/openMPI/openmpi-1.2.4/include -I../../../.. -D_REENTRANT -g -
O2 -MT src/pls_xgrid_module.lo -MD -MP -MF src/.deps/
pls_xgrid_module.Tpo -c src/pls_xgrid_module.m -fno-common -DPIC -o

I wouldn't expect this, but I can't say if it is intended or not.
This particular error can be avoided by excluding xgrid:
   ./configure CC=icc CXX=icpc F77=ifort F90=ifort --without-xgrid

James Conway

PS. Please note that the instructions for collecting install and make
information are not quite right, maybe out-of-date. On this page:
the following instruction is given:
   shell% cp config.log share/include/ompi_config.h $HOME/ompi-output
There is no "share" directory in the openMPI area, and the file seems
instead to be in "ompi":

James Conway, PhD.,
Department of Structural Biology
University of Pittsburgh School of Medicine
Biomedical Science Tower 3, Room 2047
3501 5th Ave
Pittsburgh, PA 15260
Phone: +1-412-383-9847
Fax: +1-412-648-8998
Email: jxc100_at_[hidden]