Giter Club home page Giter Club logo

Comments (6)

mbkumar avatar mbkumar commented on September 27, 2024

I managed to get the executable in the cmake branch work by installing Intel tool chain (Intel OneAPI HPC toolkit), uninstalling OpenMPI and HDF5 (both of which were installed from yum repos), and compiling HDF5 with Intel compilers. The above-mentioned issue could be due to mixing code from incompatible libraries.

I will try to get the cmake+gcc generated executable work.

from spec.

zhucaoxiang avatar zhucaoxiang commented on September 27, 2024

@mbkumar I don't want to create a new issue. I think this is relevant.
I got the following error when compiling on stellar. Do you know if the dependence of CMAKE>3.20 can be revised? Somehow, stellar only has 3.18 and 3.19.

CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  CMake 3.20.0 or higher is required.  You are running version 3.18.2

from spec.

mbkumar avatar mbkumar commented on September 27, 2024

from spec.

zhucaoxiang avatar zhucaoxiang commented on September 27, 2024

@mbkumar After changing the CMakeLists.txt, I got the following error. Any clue?

$ cmake -DCMAKE_Fortran_COMPILER=/opt/intel/oneapi/mpi/2021.1.1/bin/mpiifort .
-- The C compiler identification is unknown
-- The Fortran compiler identification is Intel 20.2.1.20201208
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/intel/oneapi/mpi/2021.1.1/bin/mpicc - skipped
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /opt/intel/oneapi/mpi/2021.1.1/bin/mpiifort - skipped
-- Checking whether /opt/intel/oneapi/mpi/2021.1.1/bin/mpiifort supports Fortran 90
-- Checking whether /opt/intel/oneapi/mpi/2021.1.1/bin/mpiifort supports Fortran 90 - yes
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
-- Found OpenMP_Fortran: -qopenmp (found version "5.0")
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND) (found version "5.0")
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Could NOT find Threads (missing: Threads_FOUND)
-- Looking for pow in m
-- Looking for pow in m - not found
-- compiler is mpiifort
-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - not found
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindThreads.cmake:234 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  /usr/share/cmake/Modules/FindBLAS.cmake:310 (find_package)
  CMakeLists.txt:63 (find_package)


-- Configuring incomplete, errors occurred!

from spec.

mbkumar avatar mbkumar commented on September 27, 2024

from spec.

mbkumar avatar mbkumar commented on September 27, 2024

The issue is now fixed thanks to the help from Kitware.

from spec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.