Skip to content
pgimwolfe edited this page Jul 9, 2015 · 2 revisions

-echo flag

Add the following lines to a file '.mypgirc' in your home directory. This adds a command line flag '-echo', which will simply echo the actual command line to stdout and quit. You can use this with the Cray ftn, cc, CC wrappers to see how the PGI drivers are actually invoked.

phase Echophase is 
    forall
    before(NoFiles)
    echo($DRIVERCOMMAND $files $switches);
    
switch -echo is
    enable(Echophase)
    stopafter(Echophase);