The National Institute for Computational Sciences

How do I compile my code without actually compiling my code?

If you want to see what potentially happens while compiling your code, but you don't want any files to be created or overwritten, you must use the -dryrun option flag when using Cray wrappers. This option shows commands built by the driver but does not actually compile.

For example, "cc -dryrun hello.C -o hello.exe".