next up previous contents
Next: Process diagnostics: Up: Compiling and Running Parallel Previous: Compiling The Programs:   Contents

Running The Programs:

Continuing from the example above, the executable prog obtained above is now used to run the program. At the hydra prompt type prog and press ENTER

If you want to capture the output of prog in a file which you can edit later type in the following format
prog $>$ outptfile
Note: Errors can be captured in a similar fashion. This can be useful for debugging. Use
prog $2>\&1$ | tee out_put_file

Using the & character you can run your program and hence all the processes it spawns in background. This means you will return to the command prompt as soon as you press enter. You can now continue with other tasks eg reading mail !!
For example prog &
prog$>$progop &



Sushil Prasad 2004-09-16