Installation#
Prerequisites#
GFortran version 7.5.0 or newer. For more information, refer to the GFortran website.
Building and testing hipFORT from source#
Ensure you have
gfortran
,git
,cmake
, and HIP installed.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