Run a bunch of jobs at the same time locally
To run a bunch of jobs concurrently in CSH run:
#!/bin/csh set i = 1 while ( $i <= 30 ) set name = "run_name_${i}" do_something $name & @ i++ end wait
Categories
Computer and Software Engineering
To run a bunch of jobs concurrently in CSH run:
#!/bin/csh set i = 1 while ( $i <= 30 ) set name = "run_name_${i}" do_something $name & @ i++ end wait
Categories