Making sure compilation success

Hi
The version of my PGI compiler is 16.4, and what method can be used to make sure that my compilation was successful?
Thank you![/b]

Properly compiled files result in object files.

pgfortran -c foo.f
should produce foo.o, if successful.

file foo.o

should indicate it is an object file.

pgfortran -o foo foo.f90
or
pgcc -o hello hello.c

are successful if they create the executable (foo,hello) and the
programs run.


So, compile a program and run it and if it works, compilation
was successful.

dave