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

Compiling The Programs:

To compile C code that uses the multiprocessing utilities, use the command as follows. For example, to compile the source code in a file called prog.c and to obtain the executable in file called prog you would enter the following IRIX command,
cc prog.c -o prog -lm

If you plan to use the debugger (dbx, described in the next section) use the following command for compilation
cc -g prog.c -o prog -lm



Sushil Prasad 2004-09-16