11.07.2015 Views

Slides are available for download from: http://tau ... - The ACTS Toolkit

Slides are available for download from: http://tau ... - The ACTS Toolkit

Slides are available for download from: http://tau ... - The ACTS Toolkit

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compiling Fortran Codes with TAU• If your Fortran code uses free <strong>for</strong>mat in .f files (fixed is default <strong>for</strong> .f), you may use:% setenv TAU_OPTIONS ‘-optPdtF95Opts=“-R free” -optVerbose ’• To use the compiler based instrumentation instead of PDT (source-based):% setenv TAU_OPTIONS ‘-optCompInst -optVerbose’• If your Fortran code uses C preprocessor directives (#include, #ifdef, #endif):% setenv TAU_OPTIONS ‘-optPreProcess -optVerbose -optDetectMemoryLeaks’• To use an instrumentation specification file:% setenv TAU_OPTIONS ‘-optTauSelectFile=mycmd.<strong>tau</strong> -optVerbose -optPreProcess’% cat mycmd.<strong>tau</strong>BEGIN_INSTRUMENT_SECTIONmemory file=“foo.f90” routine=“#”# instruments all allocate/deallocate statements in all routines in foo.f90loops file=“*” routine=“#”io file=“abc.f90” routine=“FOO”END_INSTRUMENT_SECTION13 th DOE <strong>ACTS</strong> Workshop: Scalable and Robust Libraruesabd Tiiks fior High-End ComputingTAU<strong>http</strong>://<strong>tau</strong>.uoregon.edu

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!