Trying to compile

Troy Baer troy at osc.edu
Wed Mar 12 18:15:33 EDT 2008


On Wed, 2008-03-12 at 18:31 -0300, Denis wrote:
> I have a Rocks Cluster and I'm using torque 2.1.7
> 
> I am trying to compile the mpiexec 0.83 but I am not being able to.
> 
> I have done
> 
> ./configure --with-default-comm=mpich-p4 --with-pbs=/usr/local
> 
> It runs well, but on make time, it return an error. There are the
> lasts makes' output lines:
> gcc -g -O2 -Wall -W -Wpointer-arith -Wwrite-strings -Wcast-align
> -Wcast-qual -Wbad-function-cast -Wundef -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -I/usr/local/include -c
> spawn.c
> gcc  -o mpiexec mpiexec.o get_hosts.o start_tasks.o task.o event.o
> util.o config.o stdio.o growstr.o pmi.o gm.o ib.o p4.o rai.o
> concurrent.o exedist.o spawn.o -L/usr/local/lib -ltorque -Wl,--rpath
> -Wl,/usr/local/lib
> /usr/local/lib/libtorque.a(pbsD_connect.o)(.text+0x152): In function
> `pbs_connect':
> : undefined reference to `_intel_fast_memcpy'
> /usr/local/lib/libtorque.a(tcp_dis.o)(.text+0x121): In function `tcp_gets':
> : undefined reference to `_intel_fast_memcpy'
> /usr/local/lib/libtorque.a(tcp_dis.o)(.text+0x3de): In function `tcp_puts':
> : undefined reference to `_intel_fast_memcpy'
> /usr/local/lib/libtorque.a(tcp_dis.o)(.text+0x598): In function `DIS_tcp_setup':
> : undefined reference to `_intel_fast_memset'
> /usr/local/lib/libtorque.a(tm.o)(.text+0xb3): In function `tm_nodeinfo':
> : undefined reference to `_intel_fast_memcpy'
> /usr/local/lib/libtorque.a(tm.o)(.text+0x4b8): In function `localmom':
> : undefined reference to `_intel_fast_memcpy'
> /usr/local/lib/libtorque.a(tm.o)(.text+0x1a1c): In function `tm_poll':
> : undefined reference to `_intel_fast_memcpy'
> /usr/local/lib/libtorque.a(disrsi_.o)(.text+0xf1): In function `disrsi_':
> : undefined reference to `_intel_fast_memcmp'
> /usr/local/lib/libtorque.a(disrsi_.o)(.text+0x1c8): In function `disrsi_':
> : undefined reference to `_intel_fast_memcmp'
> /usr/local/lib/libtorque.a(disiui_.o)(.text+0x5f): In function `disiui_':
> : undefined reference to `_intel_fast_memcpy'
> collect2: ld returned 1 exit status
> make: *** [mpiexec] Error 1
> 
> 
> Somebody have any idea of what is happening?

Was your TORQUE installation compiled with gcc, or something else?
Based on these undefined references, I suspect that your TORQUE
installation may have been compiled with the Intel C compiler (icc), in
which case you should probably compile mpiexec with the Intel compiler
as well.

	--Troy
-- 
Troy Baer, Supercomputing Support Engineer
Ohio Supercomputer Center
Phone:  614-292-9701
http://www.osc.edu/supercomputing/



More information about the mpiexec mailing list