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" );

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked
  • Comment on Re: How can a perl script call a parallelized program using its system function?
  • Download Code