I am running a perl script that calls multiple programs. This script itself is called by a submitted PBS script. One of the programs called by the parent perl script is parallelized (it is VASP). When I use
system("PATH_to_executable > vasp.out");
within the parent script, VASP runs on a single compute node and that is painfully slow. I tried in vain to include the line
system("module load impi");
just before initiating the call to VASP. I would be most grateful if any of you has ideas for me.