Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install.Cmake.Fortran in Linux to be compatible with CMake 3.23 #3335

Closed
Tracked by #3351
vicentebolea opened this issue Sep 9, 2022 · 0 comments · Fixed by #3351
Closed
Tracked by #3351

Install.Cmake.Fortran in Linux to be compatible with CMake 3.23 #3335

vicentebolea opened this issue Sep 9, 2022 · 0 comments · Fixed by #3351
Assignees

Comments

@vicentebolea
Copy link
Collaborator

Something changed in 3.23 that breaks this test.

Internal cmake changing into directory: /__w/ADIOS2/ADIOS2/el8-gcc8-mpi/testing/install/cmake/Fortran
Error: cmake execution failed
The Fortran compiler identification is GNU 8.5.0
Detecting Fortran compiler ABI info
Detecting Fortran compiler ABI info - done
Check for working Fortran compiler: /usr/bin/gfortran - skipped
Found MPI_Fortran: /opt/spack/var/spack/environments/adios2-ci/.spack-env/view/lib/libmpi_usempif08.so (found version "3.1") 
Found MPI: TRUE (found version "3.1")  
Found adios2: /__w/ADIOS2/ADIOS2/el8-gcc8-mpi/testing/install/install/lib64/cmake/adios2/adios2-config.cmake (found version "2.8.3") found components: Fortran MPI 
Configuring done
CMake Error at /__w/ADIOS2/ADIOS2/el8-gcc8-mpi/testing/install/install/lib64/cmake/adios2/adios2-config-common.cmake:199 (set_property):
  The link interface of target "adios2::core_mpi" contains:

    MPI::MPI_CXX

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /__w/ADIOS2/ADIOS2/el8-gcc8-mpi/testing/install/install/lib64/cmake/adios2/adios2-config.cmake:29 (include)
  CMakeLists.txt:10 (find_package)


CMake Error at /__w/ADIOS2/ADIOS2/el8-gcc8-mpi/testing/install/install/lib64/cmake/adios2/adios2-c-targets.cmake:63 (set_target_properties):
  The link interface of target "adios2::c_mpi" contains:

    MPI::MPI_C

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /__w/ADIOS2/ADIOS2/el8-gcc8-mpi/testing/install/install/lib64/cmake/adios2/adios2-config-common.cmake:177 (include)
  /__w/ADIOS2/ADIOS2/el8-gcc8-mpi/testing/install/install/lib64/cmake/adios2/adios2-config.cmake:29 (include)
  CMakeLists.txt:10 (find_package)


Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_CXX_FLAGS
    CMAKE_C_COMPILER
    CMAKE_C_FLAGS


CMake Generate step failed.  Build files cannot be regenerated correctly.

CMake Error at /__w/ADIOS2/ADIOS2/source/testing/install/run_cmake.cmake:34 (message):
  Result of test was 1, should be 0
@vicentebolea vicentebolea changed the title Install.Cmake.Fotran in Linux to be compatible with CMake 3.23 Install.Cmake.Fortran in Linux to be compatible with CMake 3.23 Sep 27, 2022
@vicentebolea vicentebolea self-assigned this Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant