First, the list of what @INC contains would be useful.

Second, your use lib line uses a directory that is relative to the current working directory. I highly recommend switching that to something with an absolute path, even if that absolute path is dynamic. For example, if you want relative to the script, you can use:

use FindBin; use File::Spec; use lib File::Spec->catdir($FindBin::Bin, qw(System common Bio Tools)) +; # or ... use lib File::Spec->catdir($FindBin::Bin, qw(System common));
or something like that.

I would look to ensure that Bio::Tools::pICalculator is not only in that directory as perceived by the other nodes in the cluster, but is also readable by that user on all nodes. Note that if you're running as root, and using NFS to mount a common directory, it often gets clobbered to become an unprivileged user for permission purposes - so make sure the files are readable by all.

Update: added another use lib option based on suaveant's excellent observation.


In reply to Re: accessing perl libraries by Tanktalus
in thread accessing perl libraries by jonp

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.