Trying to compile
Pete Wyckoff
pw at osc.edu
Wed Mar 19 13:07:25 EDT 2008
denismpa at gmail.com wrote on Wed, 19 Mar 2008 12:15 -0300:
> here is my ldd answer for qstat:
>
> -bash-3.00$ ldd $(which qstat)
> libtorque.so.0 => /opt/torque/lib64/libtorque.so.0 (0x0000002a95557000)
> libtkx8.3.so => /usr/lib64/libtkx8.3.so (0x000000333aa00000)
> libtk8.4.so => /usr/lib64/libtk8.4.so (0x000000333a600000)
> libX11.so.6 => /usr/X11R6/lib64/libX11.so.6 (0x000000333a800000)
> libtclx8.3.so => /usr/lib64/libtclx8.3.so (0x000000333a400000)
> libtcl8.4.so => /usr/lib64/libtcl8.4.so (0x000000333a200000)
> libdl.so.2 => /lib64/libdl.so.2 (0x0000003339e00000)
> libm.so.6 => /lib64/tls/libm.so.6 (0x000000333a000000)
> libc.so.6 => /lib64/tls/libc.so.6 (0x0000003339b00000)
> /lib64/ld-linux-x86-64.so.2 (0x0000003339900000)
>
> and my ldd answer for mpiexec:
>
> -bash-3.00$ ldd ./mpiexec
> libm.so.6 => /lib64/tls/libm.so.6 (0x000000333a000000)
> libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x000000333ac00000)
> libc.so.6 => /lib64/tls/libc.so.6 (0x0000003339b00000)
> libdl.so.2 => /lib64/libdl.so.2 (0x0000003339e00000)
> /lib64/ld-linux-x86-64.so.2 (0x0000003339900000)
>
> I had compiled mpiexec with these options:
> Version 0.83, configure options: '--with-default-comm=mpich-p4'
> '--with-pbs=/usr/local' 'CC=/opt/intel/cce/9.1.047/bin/icc'
>
> It was not working, then I tried these configure options:
>
> Version 0.83, configure options: '--with-default-comm=mpich-p4'
> '--with-pbs=/opt/torque' 'CC=/opt/intel/cce/9.1.047/bin/icc'
> 'LDFLAGS=-L/opt/torque/lib64 -L/usr/lib64 -L/lib64'
>
> but the ldd output have not changed.
That's your problem. You're linking to the wrong version of the PBS
libs. I think if you don't specify --with-pbs at all, it tries to
find a script pbs-config in your path, and figures out where torque
lives from that. Make sure /opt/torque/bin is in your path and that
you can run this script, then try the configure.
> -bash-3.00$ PBSDEBUG=yup ./mpiexec -n 1 hello
> ALERT: cannot verify file '2T', errno=2 (No such file or directory)
> ERROR: cannot authenticate connection, errno=2 (No such file or directory)
> mpiexec: Error: get_hosts: pbs_connect: Unauthorized Request .
It's hopeless. You must build mpiexec using the correct torque.
> I have noticed that within the strace output, there are a lot of
> errors like "missing file" as follows
> 22850 open("/usr/local/lib/tls/x86_64/libm.so.6", O_RDONLY) = -1
> ENOENT (No such file or directory)
Normal.
> I just realized that I forgot to say I am using Maui scheduller. Could
> it be a problem?
Nope, fine.
-- Pete
More information about the mpiexec
mailing list