LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2008-10-16 07:50:57


On Oct 16, 2008, at 5:14 AM, Steven wrote:

> make or make -k failed in pt2pt directory:
>
> linux:/LTC/ompi_lamtests/pt2pt # make
> mpif77 -o sendrecv_f sendrecv_f.o -L../reporting -lompitest
> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/
> bin/ld: warning: i386 architecture of input file `sendrecv_f.o' is
> incompatible with i386:x86-64 output
> sendrecv_f.o: In function `MAIN__':
> sendrecv_f.f:(.text+0xa): undefined reference to
> `__intel_new_proc_init'
> sendrecv_f.f:(.text+0x14): undefined reference to `for_set_reentrancy'
> sendrecv_f.f:(.text+0x205): undefined reference to `for_stop_core'
> collect2: ld returned 1 exit status
> make: *** [sendrecv_f] Error 1

This looks suspiciously like a mismatch between the compiler that was
generated between the sendrecv_f.o file and the compiler used to link
the final sendrecv_f executable.

Is your mpicc / mpif77 able to generate executables properly?

-- 
Jeff Squyres
Cisco Systems