http://qs321.pair.com?node_id=1106582

wayne_deng2000 has asked for the wisdom of the Perl Monks concerning the following question:

I tried to run several tasks (written in perl) on a 8-core node (divided into 8 tasks), but encounter an error for finding a perl module. I tested single task on one thread, no such problem occurred. The weird thing is that the module path is already in ENV path when checking with perl -V. The perl file that gives error begins like this:
#!/usr/bin/perl use strict; use warnings; use XML::Parser; ...
Error message is like this:
Can't locate XML/Parser.pm in @INC (@INC contains: ... /usr/lib64/per +l5 /usr/share/perl5 .) at ./blast_parser.pl line 4. BEGIN failed--compilation aborted at ./blast_parser.pl line 4. [blastall] FATAL ERROR: File write error
The interesting thing is that XML::Parser.pm is in the path of /usr/lib64/perl5 that is listed in above @INC and in %ENV (I checked). I tried to include this path in perl file (use lib ), but got same error message. Couldn't figure out where is wrong and how to solve. The perl version: v5.10.1 (*) built for x86_64-linux-thread-multi. Linux version: 2.6.32-358.2.1.el6.x86_64 Thanks for any suggestions. Wayne