Roberto,
What do you see when you do an ldd on the maui binary. You should see something like:

# ldd /opt/maui/sbin/maui
        libm.so.6 => /lib64/tls/libm.so.6 (0x0000003324800000)
libtorque.so.0 => /opt/torque/lib/libtorque.so.0 (0x0000002a95579000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x0000003324500000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003324300000)

If there isn't a path for libtorque.so.0 then you need to either set LD_LIBARY_PATH in your init script to the lib directory for where torque is installed, or add that path to /etc/ld.so.conf and re-run /sbin/ldconfig so it searches that path along with the normal search paths. At my site Torque is installed into /opt/torque and Maui is installed into /opt/maui. Because of this, I had to add an entry to /etc/ld.so.conf to have it search /opt/torque/lib so it could find the necessary library.

        -Brad Viviano

SCIPIONI Roberto wrote:
Dear all,


I installed Torque on the head and the different packages on the nodes. I 
installed MAUI as well but when I tried to run

torque.setup or maui
I get the error


./maui: error while loading shared libraries: libtorque.so.0: cannot open shared object file: No such file or directory

While in fact  the library is available although with the symbolic link


------------------


drwxr-xr-x   3 root root    4096 Mar 30 14:42 .
drwxr-xr-x  15 root root    4096 Mar 29 18:03 ..

-rw-r--r--   1 root root    3070 Mar 22 19:20 libmpichf90.a

-rw-r--r--   1 root root 1581178 Mar 30 14:42 libtorque.a

-rwxr-xr-x   1 root root     804 Mar 30 14:42 libtorque.la

lrwxrwxrwx   1 root root      18 Mar 30 14:42 libtorque.so -> libtorque.so.0.0.0

lrwxrwxrwx   1 root root      18 Mar 30 14:42 libtorque.so.0 -> 
libtorque.so.0.0.0

-rwxr-xr-x   1 root root  660640 Mar 30 14:42 libtorque.so.0.0.0

drwxr-xr-x  21 root root   12288 Mar 13 17:58 python2.5

--------------------------------------------------------------------

Do you have any idea what could be the problem ?


Roberto



_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers
_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers

Reply via email to