Jeff Squyres wrote:
I don't know if anyone has tried the xlf compilers in a long time;
it's probably unsurprising that they don't work. :-(
nah.. we use it all of the time..
an example is here..
http://www.ibm.com/developerworks/wikis/display/hpccentral/An+example+of+using+OpenMPI+with+SPECmpi2007
However, if you can handle not having the Fortran 90 bindings, you
might be able to eek by with the --disable-mpi-f90 option to configure.
On Jan 13, 2009, at 12:03 AM, Salmon, Rene wrote:
Hi,
I am trying to compile openmpi-1.2.8 on an IBM Power6 box using the xlc
and xlf compilers.
Here is my configure line:
./configure CC=xlc_r CXX=xlc++_r F77=xlf_r FC=xlf90_r --disable-shared
--enable-static
When I type make the build stops with the following error. Anyone have
any ideas as to what the problem might be?
/ompi/include -DOMPI_PROFILE_LAYER=0 -DOMPI_COMPILING_F77_WRAPPERS=1
-I../../..
G -c test_constants_f.c -o test_constants_f.o
/bin/sh ../../../libtool --tag=CC --mode=link xlc_r -O -DNDEBUG
-export-dy
ase.la attr_fn_f.lo f90_accessors.lo strings.lo test_constants_f.lo
-lnsl -lu
libtool: link: ar cru .libs/libmpi_f77_base.a attr_fn_f.o
f90_accessors.o strin
libtool: link: ranlib .libs/libmpi_f77_base.a
libtool: link: creating libmpi_f77_base.la
libtool: link: ( cd ".libs" && rm -f "libmpi_f77_base.la" && ln -s
"../libmpi_f7
base.la" )
make[4]: Leaving directory `/data1/salmr0/openmpi-1.2.8/ompi/mpi/f77'
make[3]: Leaving directory `/data1/salmr0/openmpi-1.2.8/ompi/mpi/f77'
Making all in f90
make[3]: Entering directory `/data1/salmr0/openmpi-1.2.8/ompi/mpi/f90'
./scripts/mpi-f90-interfaces.h.sh
/data1/salmr0/openmpi-1.2.8/ompi/mpi/f90 > mpi
make all-recursive
make[4]: Entering directory `/data1/salmr0/openmpi-1.2.8/ompi/mpi/f90'
Making all in scripts
make[5]: Entering directory
`/data1/salmr0/openmpi-1.2.8/ompi/mpi/f90/scripts'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/data1/salmr0/openmpi-1.2.8/ompi/mpi/f90/scripts'
make[5]: Entering directory `/data1/salmr0/openmpi-1.2.8/ompi/mpi/f90'
/bin/sh ../../../libtool --mode=compile xlf90_r
-I../../../ompi/include -I../.
I. -I../../../ompi/mpi/f90 -c -o mpi.lo mpi.f90
libtool: compile: xlf90_r -I../../../ompi/include
-I../../../ompi/include -I. -
f90 -c mpi.f90 -o mpi.o
"./mpi-f90-interfaces.h", line 264.1: 1514-170 (W) The dummy argument
"function"
with the EXTERNAL attribute. It is unknown whether the argument is a
SUBROUTINE
ument may not be used to determine the uniqueness of this procedure.
"./mpi-f90-interfaces.h", line 275.1: 1514-170 (W) The dummy argument
"comm_copy
ared only with the EXTERNAL attribute. It is unknown whether the
argument is a S
. The argument may not be used to determine the uniqueness of this
procedure.
"./mpi-f90-interfaces.h", line 493.1: 1514-170 (W) The dummy argument
"function"
with the EXTERNAL attribute. It is unknown whether the argument is a
SUBROUTINE
ument may not be used to determine the uniqueness of this procedure.
"./mpi-f90-interfaces.h", line 580.1: 1514-170 (W) The dummy argument
"function"
with the EXTERNAL attribute. It is unknown whether the argument is a
SUBROUTINE
ument may not be used to determine the uniqueness of this procedure.
"./mpi-f90-interfaces.h", line 1020.1: 1514-170 (W) The dummy argument
"query_fn
y with the EXTERNAL attribute. It is unknown whether the argument is a
SUBROUTIN
gument may not be used to determine the uniqueness of this procedure.
"./mpi-f90-interfaces.h", line 1371.1: 1514-170 (W) The dummy argument
"copy_fn"
with the EXTERNAL attribute. It is unknown whether the argument is a
SUBROUTINE
ument may not be used to determine the uniqueness of this procedure.
"./mpi-f90-interfaces.h", line 1394.1: 1514-170 (W) The dummy argument
"function
y with the EXTERNAL attribute. It is unknown whether the argument is a
SUBROUTIN
gument may not be used to determine the uniqueness of this procedure.
"./mpi-f90-interfaces.h", line 1477.1: 1514-170 (W) The dummy argument
"read_con
clared only with the EXTERNAL attribute. It is unknown whether the
argument is a
ON. The argument may not be used to determine the uniqueness of this
procedure.
"./mpi-f90-interfaces.h", line 1543.1: 1514-699 (S) Procedure
"mpi_sizeof0di4" m
dummy argument that corresponds by position in the argument list to a
dummy argu
cedure "mpi_sizeof0dl", present and type incompatible, present with
different ki
present with a different rank.
"./mpi-f90-interfaces.h", line 1627.1: 1514-699 (S) Procedure
"mpi_sizeof1di4" m
dummy argument that corresponds by position in the argument list to a
dummy argu
cedure "mpi_sizeof1dl", present and type incompatible, present with
different ki
present with a different rank.
"./mpi-f90-interfaces.h", line 1711.1: 1514-699 (S) Procedure
"mpi_sizeof2di4" m
dummy argument that corresponds by position in the argument list to a
dummy argu
cedure "mpi_sizeof2dl", present and type incompatible, present with
different ki
present with a different rank.
"./mpi-f90-interfaces.h", line 1795.1: 1514-699 (S) Procedure
"mpi_sizeof3di4" m
dummy argument that corresponds by position in the argument list to a
dummy argu
cedure "mpi_sizeof3dl", present and type incompatible, present with
different ki
present with a different rank.
"./mpi-f90-interfaces.h", line 1879.1: 1514-699 (S) Procedure
"mpi_sizeof4di4" m
dummy argument that corresponds by position in the argument list to a
dummy argu
cedure "mpi_sizeof4dl", present and type incompatible, present with
different ki
present with a different rank.
"./mpi-f90-interfaces.h", line 2213.1: 1514-170 (W) The dummy argument
"type_cop
lared only with the EXTERNAL attribute. It is unknown whether the
argument is a
N. The argument may not be used to determine the uniqueness of this
procedure.
"./mpi-f90-interfaces.h", line 2652.1: 1514-170 (W) The dummy argument
"function
y with the EXTERNAL attribute. It is unknown whether the argument is a
SUBROUTIN
gument may not be used to determine the uniqueness of this procedure.
"./mpi-f90-interfaces.h", line 2663.1: 1514-170 (W) The dummy argument
"win_copy
ared only with the EXTERNAL attribute. It is unknown whether the
argument is a S
. The argument may not be used to determine the uniqueness of this
procedure.
** mpi === End of Compilation 1 ===
1501-511 Compilation failed for file mpi.f90.
make[5]: *** [mpi.lo] Error 1
make[5]: Leaving directory `/data1/salmr0/openmpi-1.2.8/ompi/mpi/f90'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/data1/salmr0/openmpi-1.2.8/ompi/mpi/f90'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/data1/salmr0/openmpi-1.2.8/ompi/mpi/f90'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/data1/salmr0/openmpi-1.2.8/ompi/mpi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data1/salmr0/openmpi-1.2.8/ompi'
make: *** [all-recursive] Error 1
Thanks
Rene
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users