Firefly and PC GAMESS-related discussion club


 
Learn how to ask questions correctly  
 
 
We are NATO-free zone
 



Re^3: How to write a single BATCH file to run multiple batch files?

Solntsev Pasha
solntsev@univ.kiev.ua


Dear Siddheshwar.

For example, if you use PBS as your job manager, you can reserve say 8 processors. Then you can start two FF processes and force them to use only 4 processors. Relevant part of you PBS script presented below.

#PBS -l nodes=1:ppn=8

mpirun -np 4 /path/to/firefly ..........   &
mpirun -np 4 /path/to/firefly ..........

I have never tried to do this, but you can try.

Good luck

Pavel.

On Tue Dec 4 '12 6:24am, Siddheshwar Chopra wrote
-------------------------------------------------
>Rightly said by you. My question was incomplete Sir. Ok let me put it properly now. I want to run say 2 instances of FIREFLY8, both through different batch files. SO instead of going to the 2 batch files individually I want to launch both of them at once using a single batch file. And additionally I want this file to launch both the batch files parallely.

>On Mon Dec 3 '12 8:02am, Solntsev Pasha wrote
>---------------------------------------------
>>Dear Siddheshwar.

>>Shortly, your question is not related to Firefly program. Even more, absolutely not clear what you are asking. Operation system? problem? Did you try Google? I would be glad to help you with bash/sh scripts but could you be more specific with you problem.

>>All the best.

>>Pavel.
>>
>>
>>
>>On Sun Dec 2 '12 3:38pm, Siddheshwar Chopra wrote
>>-------------------------------------------------
>>>Can anyone tell me how to write a single batch file which should activate various other batch files. But this batch file must activate all other batch files at once/parallely.


[ Previous ] [ Next ] [ Index ]           Tue Dec 4 '12 6:35pm
[ Reply ] [ Edit ] [ Delete ]           This message read 815 times