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

hypre +sycl build failure #242

Open
balay opened this issue Oct 19, 2023 · 4 comments
Open

hypre +sycl build failure #242

balay opened this issue Oct 19, 2023 · 4 comments
Assignees

Comments

@balay
Copy link
Member

balay commented Oct 19, 2023

ref: ./bin/spack install -j12 [email protected]+sycl~trilinos~dealii %[email protected]

icpx  -O3 -fsycl -fsycl-unnamed-lambda  -DHAVE_CONFIG_H -I.. -I./.. -I./../struct_mv -I.    -qmkl -I/include -DMKL_ILP64 -I/software/intel/oneapi/mkl/2023.2.0/include      -I/software/intel/oneapi/include  -c memory.c -o memory.obj
In file included from device_utils.c:8:
./_hypre_onedpl.hpp:18:10: fatal error: 'oneapi/dpl/execution' file not found
#include <oneapi/dpl/execution>
         ^~~~~~~~~~~~~~~~~~~~~~
xsdk@pj01:~/spack.y$ find /software/intel/oneapi -name execution
/software/intel/oneapi/dpl/2022.2.0/linux/include/oneapi/dpl/execution

spack-build-out.txt

cc: @victorapm

@waynemitchell
Copy link

I don't see the oneDPL include directories listed in the compile line. I assume that is why it cannot find that file. It looks like you do not have the environment variable DPLROOT set, which is why that -I/include appears.

I will also warn that there have been issues with many versions of oneDPL, and it may be necessary for you to install a specific version to get hypre to run. By the way, what system are you on?

@balay
Copy link
Member Author

balay commented Oct 19, 2023

This build is on a regular linux box [with oneapi compilers installed]

And its a sapck build - so perhaps its shouldn't rely on DPLROOT env variable? [or the spack spec needs appropriate dependencies to support hypre+sycl build?]

BTW: similar issue at: spack/spack#40565

@waynemitchell
Copy link

I'm not a spack user, nor do I know about the status of building hypre with the sycl backend via spack... so I'll let others comment on that end. It's definitely not something I've tested, so I can't say whether it's expected to work or not.

As for using the sycl build on a linux box, I don't think hypre will run if configured with sycl here. The sycl support is really only intended for use with Intel GPUs, and if no GPU is available, hypre will abort on initialization.

@balay
Copy link
Member Author

balay commented Nov 9, 2023

ref: spack/spack#40722

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants