[GE users] SunGrid Engine & BLAST

Andre Alefeld Andre.Alefeld at Sun.COM
Fri Jan 28 09:06:05 GMT 2005


Hi,

the following command shows the library paths on our MacOS machine.
Is it possible that Motif is not installed on yours ?

pippin% otool -L qmon
qmon:
	libXltree.dylib (compatibility version 0.0.0, current version 0.0.0)
	libspoolc.dylib (compatibility version 0.0.0, current version 0.0.0)
	/usr/lib/libdl.dylib (compatibility version 1.0.0, current version 1.0.0
)
	/usr/X11R6/lib/libXm.3.dylib (compatibility version 0.0.0, current versi
on 0.0.0)
	/usr/X11R6/lib/libXpm.4.dylib (compatibility version 4.11.0, current ver
sion 4.11.0)
	/usr/X11R6/lib/libXt.6.dylib (compatibility version 6.0.0, current versi
on 6.0.0)
	/usr/X11R6/lib/libXext.6.dylib (compatibility version 6.4.0, current ver
sion 6.4.0)
	/usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current vers
ion 6.2.0)
	/usr/X11R6/lib/libSM.6.dylib (compatibility version 6.0.0, current versi
on 6.0.0)
	/usr/X11R6/lib/libICE.6.dylib (compatibility version 6.3.0, current vers
ion 6.3.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
 63.0.0)

Hrishikesh Deshmukh wrote:

> Hi All,
> Here are the errors which i get when i try to run qmon from an x11
> terminal. I did instal openmotif3 using fink!! The first error cannot
> find certain library, the second one cannot find someother one!
> ./qmon
> dyld: ./qmon can't open library: libXltree.dylib  (No such file or
> directory, errno = 2)
> Trace/BPT trap
> emac21:/usr/local/sge/bin/darwin blast$ export
> DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/l
> ocal/sge/lib/darwin/
> emac21:/usr/local/sge/bin/darwin blast$ ./qmon
> dyld: ./qmon can't open library: /usr/X11R6/lib/libXm.3.dylib  (No
> such file or directory,
>  errno = 2)
> Trace/BPT trap
> emac21:/usr/local/sge/bin/darwin blast$ echo $DYLD_LIBRARY_PATH
> :/usr/local/sge/lib/darwin/
> 
> Thanks,
> H
> 
> On Thu, 27 Jan 2005 14:35:38 -0500, Hrishikesh Deshmukh
> <hdeshmuk at gmail.com> wrote:
> 
>>Sorry a newbie question, what is a wrapper? Also about the first
>>suggestion what is the install_name_tool!!
>>
>>% install_name_tool -change libXltree.dylib <libXltree.dylib in your
>>SGE dir> qmon
>> % install_name_tool -change libspoolc.dylib <libspoolc.dylib in your
>>SGE dir> qmon
>>
>>Thanks,
>>H
>>
>>
>>On Wed, 26 Jan 2005 20:01:42 -0800 (PST), Ron Chen
>><ron_chen_123 at yahoo.com> wrote:
>>
>>>--- Paul Greidanus <paul.greidanus at ualberta.ca> wrote:
>>>
>>>>however, I've had it cause me lots of trouble with
>>>>other apps
>>>
>>>There are 2 ways around this:
>>>
>>>1) use install_name_tool
>>>If you look at the shared library dependency chain:
>>>% otool -L qmon
>>>qmon:
>>>   libXltree.dylib (compatibility version 0.0.0, current version 0.0.0)
>>>   libspoolc.dylib (compatibility version 0.0.0, current version 0.0.0)
>>>   ...
>>>
>>>Only libXltree.dylib & libspoolc.dylib do not have an
>>>absolute path, so use install_name_tool to edit the binary:
>>>
>>>% install_name_tool -change libXltree.dylib <libXltree.dylib in your SGE dir> qmon
>>>% install_name_tool -change libspoolc.dylib <libspoolc.dylib in your SGE dir> qmon
>>>(those libs are likely in $SGE_ROOT/lib/darwin/)
>>>
>>>2) write a wrapper, rename the qmon binary as qmon.real,
>>>and name the wrapper as qmon, and put it in qmon's
>>>directory:
>>>
>>>#!/bin/sh
>>>
>>>export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/sge/lib/darwin
>>>./qmon.real
>>>
>>> -Ron
>>>
>>>
>>>
>>>>, so you shouldn't do it in your .profile
>>>>without being
>>>>careful about how it behaves, and knowing to remove
>>>>it if it causes trouble.
>>>
>>>
>>>__________________________________
>>>Do you Yahoo!?
>>>Yahoo! Mail - Find what you need with new enhanced search.
>>>http://info.mail.yahoo.com/mail_250
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>>>For additional commands, e-mail: users-help at gridengine.sunsource.net
>>>
>>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
> 

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Andre Alefeld                Phone: ++49 (0)941 3075-255
Software Engineering         Fax:   ++49 (0)941 3075-222
Sun Microsystems GmbH
Dr.-Leo-Ritter-Str. 7	     mailto: andre.alefeld at sun.com
D-93049 Regensburg           http://www.sun.com/grid


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list