in reply to MPI Module
The error you quote: bad interpreter: No such file or directorypitest.pl: /usr/local/bin/perl is not a perl error, it is a bash (or possibly some other shell) that is attempting to run the interpreter specified on the shebang line of the file. The specified interpreter doesn't exist, so it errors.