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

Spack recipe fails for latest develop, commit 950c5f1 #1268

Closed
yzhu-ub opened this issue Apr 2, 2024 · 2 comments · Fixed by #1272
Closed

Spack recipe fails for latest develop, commit 950c5f1 #1268

yzhu-ub opened this issue Apr 2, 2024 · 2 comments · Fixed by #1272
Assignees
Milestone

Comments

@yzhu-ub
Copy link

yzhu-ub commented Apr 2, 2024

I was trying to install Ascent@develop with Spack with the following specs:

ascent@develop+occa+python~fortran+fides+adios2 ^conduit~fortran+python ^[email protected]~64bitids+doubleprecision+mpi ^[email protected]%[email protected]~aws+blosc2+bzip2+cuda~dataman~dataspaces~fortran+hdf5~ipo~kokkos+libcatalyst+mpi+pic+png+python~rocm+shared+sst ^[email protected]+cxx+mpi+szip~fortran

and had the error msg as below:

2 errors found in build log:
     4894      Created wheel for flow: filename=flow-0.0.0-py3-none-any.whl size=2003 sha256=14c5d3b8e9acbbf51a7db400de4278f41f71c4f5aa0ca8d1a56a247ff4e161c6
     4895      Stored in directory: /tmp/pip-ephem-wheel-cache-qtarabad/wheels/6c/b4/76/f041c71b49ba8021b21de882f491dc473f4d89a7586b68f32e
     4896    Successfully built flow
     4897    Installing collected packages: flow
     4898    Successfully installed flow-0.0.0
     4899    
  >> 4900    CMake Error at libs/flow/python/cmake_install.cmake:71 (file):
     4901      file INSTALL cannot find
     4902      "/tmp/username/spack-stage/spack-stage-ascent-develop-v5xoaq7n3baldpmlnx5ceakevikclclg/spack-build-v5xoaq7/python-modules/flow/flow_python.so":
     4903      No such file or directory.
     4904    Call Stack (most recent call first):
     4905      libs/flow/cmake_install.cmake:88 (include)
     4906      libs/cmake_install.cmake:47 (include)
     4907      cmake_install.cmake:73 (include)
     4908    
     4909    
  >> 4910    make: *** [Makefile:113: install] Error 1

It seems flow_python was not built, which baffled me.

@cyrush
Copy link
Member

cyrush commented Apr 10, 2024

@yzhu-ub thank you for the report, I think I know what is happening.

We need to fix our python related cmake target dependencies, or else make -j ZZZ could cause an issue with the order in which the python module parts are assembled.

@cyrush cyrush self-assigned this Apr 10, 2024
@cyrush cyrush added this to the 0.9.3 milestone Apr 10, 2024
@cyrush
Copy link
Member

cyrush commented Apr 10, 2024

@yzhu-ub this issue should be resolved with PR #1272 , which is now on ascent@develop.
Thanks again for the report.

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.

2 participants