On Fri, 14 Feb 2003, Jenny Aquilino wrote:

> That's a good question.  I think that if programs are statically linked
> there is probably not a need for it but if they're dynamic then I would
> think that there would be problems.  Because this issue came up,  I also
> started wondering whether those libraries should be shared or locally
> installed on each node.  I guess I'll just have to experiment with it
> some more and find out.

So, right now OSCAR doesn't explicitly help you push shared libraries out
to the compute nodes (as opposed to a system like Scyld).  However, we do
provide some tools that allow you to do this.  It sounds like you've
attempted to do the two things that are needed: pushing the libraries out
and setting up your environment.

As you are still seeing problems, there are really two possiblities: The
libraries aren't out there or your environment is set up incorrectly.
Checking to see if the libraries are out on the nodes is pretty easy - log
into the nodes and run ls <where ever you think the libraries should be.

Checking your environment is a tad bit more difficult.  Remember that not
all dot files are run in non-interactive logins.  So you can't just log
into the remote node and run printenv LD_LIBRARY_PATH.  Instead, you have
to login non-interactively and have it spit your environment back at you.
Something like:

  ssh <compute node> 'echo $LD_LIBRARY_PATH'

should work.  The quotes are important - otherwise $LD_LIBRARY_PATH will
be evaluated by your local shell and everything will go down hill from
there.

If both of these conditions are met, you might want to talk to PGI - at
that point, this isn't an OSCAR problem.

One other point (as if this e-mail isn't long enough already).  If there
are multiple users on the system, you may find it simpler to modify
/etc/ld.so.config and add /usr/pgi/lib to the system library path.  Then
run ldconfig on all your nodes to update the shared library system.  cpush
and cexec will most definitely be your friends on this one.


Hope this helps,

Brian

-- 
  Brian Barrett
  Graduate Student, Open Systems Lab, Indiana University
  http://www.osl.iu.edu/~brbarret/


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to