in reply to How can a perl script call a parallelized program using its system function?
I tried in vain to include the line system("module load impi"); just before initiating the call to VASP. I
Loading the modules in a separate call to system won't help because they will not be visible to the second system call.
Instead, doing both commands in the same system call ought to work:
system( "module load impi && PATH_to_executable > vasp.out" );
|
|---|