I use a 128 node cluster, and the environment is fixed. Each cluster has its own local disk space accessible in /tmp/ and various places, plus a network share where you put your code. What you should be doing is putting your module in the network share. If you don't have one, you must have a very painful clustering setup to work with!
On my system (SunFire/Linux) if the labstaff updates the build environment it propagates to all the nodes. Also, jobs have to be submitted by a load balancing queuer anyway. You can't get persistent storage on any _specific_ node, because you are assigned whatever nodes are free by the queuer.
If you are under the impression that perl modules have to be installed in /usr/local/lib/..., and that isn't synchronized across your systems (possible, but unlucky!), you are wrong; you can install a module anywhere. Just update your lib path with a little
use lib qw(/path/to/your/module); at the beginning of your perl program. You don't even have to change environment variables.
If none of these seem like options, then you should probably ask your cluster administrator what you should do.
Conversely you could pipe commands to `ssh` with
open() or
system() or something, but that's less than ideal.
~e
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.