This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

Installation#

Prerequisites#

  • GFortran version 7.5.0 or newer. For more information, refer to the GFortran website.

Building and testing hipFORT from source#

  1. Ensure you have gfortran, git, cmake, and HIP installed.

  2. Build, install, and test hipFORT from the source with the following commands:

    git clone https://github.com/ROCm/hipfort.git
    cd hipfort
    cmake -S. -Bbuild -DHIPFORT_INSTALL_DIR=/tmp/hipfort -DBUILD_TESTING=ON
    make -C build
    make -C build check