[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Library access problem

Thanks Erik for the quick reply,

I am just an industrial trainee experimenting with Condor and helping the scientists at our lab to run their jobs to use condor.

I will forward your observations to the person who needs to run this job. He knows best why he needs to do the matrix inversion.

Thanks for the insight any way. Might help him in his research.:)

I will try out that environment keyword.

Can you give an example of how to write a wrapper script.


Erik Paulson <epaulson@xxxxxxxxxxx> wrote:
On Mon, Mar 06, 2006 at 05:58:51PM -0800, Junaid N. Sahibzada wrote:
> Hi,
> I am running a matrix inversion application and for this application i have built some of my own custom built shared object .so libraries.

Are yo! u really sure you want to be inverting a matrix? I admit to knowing
absolutely nothing about what your science is, and I admit to not doing
that well in numerical linear algebra, but I do remember that
inverting a matrix to solve a system of equations is usually not the best
way to do it. But if you're happy with inverting then I'm happy with you

> I dont want to install these libraries on all nodes as the system admin wont allow me to do it.
> I have these .so files in my home directory.
> Is there any way i can instruct condor to look for these libraries in my home directory irrespective of the node they are executed on?

enivornment = LD_LIBRARY_PATH=/path/to/your/home/directory

in your submit file

Or, put your job in a wrapper script that sets LD_LIBRARY_PATH before
starting up.

Or, if your home directory is different on each machine! , you may need
some help from your condor administrator to put something in the machine
ad so you can use the $$ method of taking attributes out of the machine
ad and putting them into the environment of the machine. You may want to
do this if you want to use different shared libraries based on what
machine you're on (maybe you want AMD-optimized libraries on one machine,
and P4 optimized libraries on another)

Or, statically link.

Condor-users mailing list

Junaid N. Sahibzada
Cell # (+61) 404 998 494 
284/9 Crystal St. Waterloo, 2017, NSW, Australia
International Student MSc Internetworking, UTS, Australia
Bachelor of Information Technology, NUST, Pakistan

Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.