Quick start installation guide#
This topic discusses how to quickly build hipFORT from source.
Prerequisites#
hipFORT requires GFortran version 7.5.0 or newer. For more information, see the GFortran website.
Building and testing hipFORT from source#
Ensure you have installed
gfortran
,git
,cmake
, and HIP.Build, install, and test hipFORT from source using 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