sourceryinstitute / OpenCoarrays

A parallel application binary interface for Fortran 2018 compilers.
http://www.opencoarrays.org
BSD 3-Clause "New" or "Revised" License
247 stars 56 forks source link

Defect: CMakeLists.txt wrong env variable #771

Closed v-h-giang closed 8 months ago

v-h-giang commented 1 year ago

In line 283 of CMakeLists.txt , i think env variable I_MPI_ROOT was changed or diffence in my machine , and error occur when compile with cmake

File : CMakeLists.txt (283 line) Current : cmake_path(SET MPI_ROOT NORMALIZE "$ENV{I_MPI_ROOT}")

should be changed to: cmake_path(SET MPI_ROOT NORMALIZE "$ENV{I_MPI_ONEAPI_ROOT}")