[Swift-devel] Time/hires.pm used by coaster worker.pl is not available on Ranger compute nodes
Mihael Hategan
hategan at mcs.anl.gov
Wed Nov 10 16:06:10 CST 2010
That, I think, is only used for the timestamps in the log file.
Otherwise the granularity of localtime() is seconds (and not very useful
for timing the worker script).
I'm curious whether there is a way to "only include it if it's there".
Essentially it re-defines the standard localtime(), so no other changes
would be needed.
Mihael
On Wed, 2010-11-10 at 14:53 -0600, Michael Wilde wrote:
> Glen Hocky observed this in recent runs. It makes worker.pl fail to start.
>
> I verified that this module is available on the login nodes but not the worker nodes.
>
> For now, worker.pl works OK if you just comment out the line:
>
> # use Time::HiRes qw(time);
>
> The error you get on Ranger is below.
>
> Sarah, you may want to watch for this if you run on Ranger.
>
> - Mike
>
> Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.2/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.1/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.2/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.1/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ./worker.pl line 17.
> BEGIN failed--compilation aborted at ./worker.pl line 17.
> i115-206$ fg
>
More information about the Swift-devel
mailing list