From HPCRL Wiki
Jump to: navigation, search



PolyOpt/Fortran is a polyhedral loop optimization framework for Fortran, integrated in the ROSE compiler. The main features are:

  • Automatic extraction of regions that can be optimized in the polyhedral model
  • Full support of PoCC (the Polyhedral Compiler Collection) analysis and optimizations:
    • Dependence analysis with Candl
    • Program transformations for tiling and parallelism with Pluto
    • Code generation with CLooG
    • Parametric tiling with PTile
  • Numerous under-the-hood functionalities and optimizations

Note that only a subset of Fortran is currently supported by PolyOpt/Fortran: see PolyOpt/C for C/C++ programs support.


  • 03/09/2012: Release of the 0.1.0 version of PolyOpt/Fortran.



Please note that the following document is preliminary. The documentation will be improved soon. In the meantime, do not hesitate to contact the authors for any questions.

PolyOpt manual: polyopt.pdf.


The installation of PolyOpt/Fortran is packaged in an installer script install.sh. It assumes ROSE is built, and will download and install a local copy of PoCC.

$> tar xzf polyopt-fortran-0.1.0.tar.gz
$> cd polyopt-fortran-0.1.0
$> export ROSE_ROOT=/path/to/rose/install
$> export BOOST_ROOT=/path/to/boost/install
$> ./install.sh
$> export PATH=$PATH:`pwd`/src

For a test run of the compiler:

$> PolyRose --polyopt-help

To inspect the available options:

$> PolyRose --polyopt-help
Available options for PolyOpt/Fortran: 
Verbosity options: 
Main optimization paths: 
Scop extraction related options: 
Main driver related options: 
Codegen related options: 
Dependence analysis options: 
PoCC related options: 


This software was produced with support from the Defense Advanced Research Projects Agency (DARPA) through AFRL Contract FA8650-09-C-7915 and from the Department of Energy through grant DE-SC0005033. Nothing in this work should be construed as reflecting the official policy or position of the US Defense Department, the US Department of Energy, the United States government, Ohio State University, or Rice University. THIS SOFTWARE HAS BEEN APPROVED FOR PUBLIC RELEASE, UNLIMITED DISTRIBUTION.

Personal tools