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

Intel OneAPI build #4

Open
fsimonis opened this issue Nov 7, 2022 · 0 comments
Open

Intel OneAPI build #4

fsimonis opened this issue Nov 7, 2022 · 0 comments

Comments

@fsimonis
Copy link
Member

fsimonis commented Nov 7, 2022

I managed to build and run preCICE without PETSc using the Intel compiler, Intel MPI and Intel python in the docker container.

Used:

docker run --rm --shm-size=512m -it intel/oneapi-hpckit:devel-ubuntu20.04

Not sure if increasing shared memory is required after the updates though.

Required as the container doesn't contain the newest versions.

apt update && apt upgrade

Then

apt install libboost-dev-all libboost-filesystem-dev libboost-test-dev libboost-porgram-options-dev libeigen3-dev

LibXml2 is part of the intel python installation, but not detected by CMake.

I was able to build with:

cmake -DPRECICE_PETScMapping=Off -DLibXml2_ROOT=/opt/intel/oneapi/intelpython/python3.9/ ..

Setting CMAKE_PREFIX_PATH somehow doesn't work.

One has to disable com.mpiports. I am not sure why m2n.mpiports works flawlessly.

ctest --repeat until-fail:20 -E com.mpiports
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