PTL logo

From: Yeray Gutiérrez Cedrés (ycedres_at_[hidden])
Date: 2012-01-30 11:22:48


I'm having trouble building MPI.NET in Linux 2.6.16 running on a 64-bit
PowerPC and using gcc 4.1.2.

ycedres_at_login1:~/mono/mpi.net/mpi.net-1.0.0> uname
-a

Linux login1 2.6.16.53-0.16-ppc64 #1 SMP Tue Oct 2 16:57:49 UTC 2007 ppc64
ppc64 ppc64 GNU/Linux
ycedres_at_login1:~/mono/mpi.net/mpi.net-1.0.0>
ycedres_at_login1:~/mono/mpi.net/mpi.net-1.0.0> gcc -dumpversion
4.1.2
ycedres_at_login1:~/mono/mpi.net/mpi.net-1.0.0>

This is how I run the configure script (I need to define the environment
variables MP_CC and MP_FC for the mpicc wrapper):

ycedres_at_login1:~/mono/mpi.net/mpi.net-1.0.0> export MP_CC=gcc
ycedres_at_login1:~/mono/mpi.net/mpi.net-1.0.0> export MP_FC=gfortran
ycedres_at_login1:~/mono/mpi.net/mpi.net-1.0.0> ./configure
--prefix=/gpfs/apps/MPI.NET MPICC=/usr/bin/mpicc
MPI_HEADER=/gpfs/apps/MPICH2/mx/1.0.7..2/32/include/mpi.h
MPIEXEC=/gpfs/apps/MPICH2/mx/1.0.7..2/32/bin/mpiexec

When I run make, gcc dumps this error: 0.6.0": No such file or directory.
Why this could be happening?

ycedres_at_login1:~/mono/mpi.net/mpi.net-1.0.0> make
Making all in MPIUtils
make[1]: Entering directory `/gpfs/home/corp/ycedres/mono/
mpi.net/mpi.net-1.0.0/MPIUtils'
make[2]: Entering directory `/gpfs/home/corp/ycedres/mono/
mpi.net/mpi.net-1.0.0'
make[2]: Leaving directory `/gpfs/home/corp/ycedres/mono/
mpi.net/mpi.net-1.0.0'
/usr/bin/ilasm2 /dll /output:MPIUtils.dll /key:./MPIUtils.snk Memory.il
Assembling 'Memory.il' , no listing file, to dll --> 'MPIUtils.dll'

Signing assembly with the specified strongname keypair
Operation completed successfully
make[1]: Leaving directory `/gpfs/home/corp/ycedres/mono/
mpi.net/mpi.net-1.0.0/MPIUtils'
Making all in MPI
make[1]: Entering directory `/gpfs/home/corp/ycedres/mono/
mpi.net/mpi.net-1.0.0/MPI'
make[2]: Entering directory `/gpfs/home/corp/ycedres/mono/
mpi.net/mpi.net-1.0.0'
make[2]: Leaving directory `/gpfs/home/corp/ycedres/mono/
mpi.net/mpi.net-1.0.0'
/usr/bin/perl ./Unsafe.pl /gpfs/apps/MPICH2/mx/1.0.7..2/32/include/mpi.h
./Unsafe.cs CustomUnsafe.cs cbridge.c
if /bin/sh ../libtool --tag=CC --tag=CC --mode=compile /usr/bin/mpicc
-DPACKAGE_NAME=\"MPI.NET\" -DPACKAGE_TARNAME=\"mpi-net\"
-DPACKAGE_VERSION=\"0.6.0\" -DPACKAGE_STRING=\"MPI.NET\ 0.6.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mpi-net\" -DVERSION=\"0.6.0\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_MPI=1 -I.
-I. -g -O2 -MT cbridge.lo -MD -MP -MF ".deps/cbridge.Tpo" -c -o
cbridge.lo cbridge.c; \
then mv -f ".deps/cbridge.Tpo" ".deps/cbridge.Plo"; else rm -f
".deps/cbridge.Tpo"; exit 1; fi
mkdir .libs
 /usr/bin/mpicc -DPACKAGE_NAME=\"MPI.NET\" -DPACKAGE_TARNAME=\"mpi-net\"
-DPACKAGE_VERSION=\"0.6.0\" "-DPACKAGE_STRING=\"MPI.NET 0.6.0\""
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mpi-net\" -DVERSION=\"0.6.0\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_MPI=1 -I. -I.
-g -O2 -MT cbridge.lo -MD -MP -MF .deps/cbridge.Tpo -c cbridge.c -fPIC
-DPIC -o .libs/cbridge.o
gcc: 0.6.0": No such file or directory
make[1]: *** [cbridge.lo] Error 1
make[1]: Leaving directory `/gpfs/home/corp/ycedres/mono/
mpi.net/mpi.net-1.0.0/MPI'
make: *** [all-recursive] Error 1
ycedres_at_login1:~/mono/mpi.net/mpi.net-1.0.0>

Any help will be appreciated.