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

openmpi/4.1.0 conan 2.0 package not maintained by conan-center #624

Open
jkotan opened this issue Apr 13, 2023 · 1 comment
Open

openmpi/4.1.0 conan 2.0 package not maintained by conan-center #624

jkotan opened this issue Apr 13, 2023 · 1 comment

Comments

@jkotan
Copy link
Collaborator

jkotan commented Apr 13, 2023

I split this ticket from #620.

It looks like the openmpi/4.1.0 conan package is still not ready for conan 2.0

 ERROR: Package 'openmpi/4.1.0' not resolved: openmpi/4.1.0: Cannot load recipe.
Error loading conanfile at '/github/home/.conan2/p/openmf80d14015631f/e/conanfile.py': Unable to load conanfile in /github/home/.conan2/p/openmf80d14015631f/e/conanfile.py
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/github/home/.conan2/p/openmf80d14015631f/e/conanfile.py", line 1, in <module>
    from conans import ConanFile, tools, AutoToolsBuildEnvironment
ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)

https://github.com/ess-dmsc/h5cpp/actions/runs/4675291381/jobs/8280263435#step:6:102

and according to

conan-io/conan-center-index#13655

we have to wait for it much longer (if at all) or do it yourself or comment out MPI ??

@jkotan
Copy link
Collaborator Author

jkotan commented Nov 11, 2024

The openmpi library was updated in the conan center repository but it is not recognizable by find_package() in hdf5 cmake configuration. It looks like there is ssh missing or paths not set correctly.

 -- Conan: Target declared 'libnl::libnl'
CMake Error at CMakeLists.txt:772 (message):
  Parallel libraries not found


-- Configuring incomplete, errors occurred!

hdf5/1.14.5: ERROR: 
Package '364f90e6ad6ec8baeb11f1744c1dcdd0306898d7' build failed
hdf5/1.14.5: WARN: Build folder /home/runner/.conan2/p/b/hdf5c58380f2f77cb/b/build/Release
ERROR: hdf5/1.14.5: Error in build() method, line 185
	cmake.configure()
	ConanException: Error 1 while executing
Error: Process completed with exit code 1.

https://github.com/ess-dmsc/h5cpp/actions/runs/11723688348/job/32655909169

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

No branches or pull requests

1 participant