Next: Submit Your Job For
Up: Compile and test your
Previous: Portland Group Compilers
Now, you can try and run a test of your program. Take a small subset of your input data, and use it as input for your program to verify your program's execution.
./program < testdata.dat.
If the program successfully runs, you can use a program like ``time'' to test optimization settings:
- Run the program, with time ./program < testdata.dat
- Recompile the program, with new optimization settings.
- Re-run the program, with ``time'', to see if the optimization settings
improved execution.
If the program doesn't run, (if it dumps core or otherwise exits irregularly),
you can use ``gdb'' or ``ddd'' to debug it.
Preston Smith
2002-09-16