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
I managed to build and run preCICE without PETSc using the Intel compiler, Intel MPI and Intel python in the docker container.
Used:
Not sure if increasing shared memory is required after the updates though.
Required as the container doesn't contain the newest versions.
Then
LibXml2 is part of the intel python installation, but not detected by CMake.
I was able to build with:
Setting CMAKE_PREFIX_PATH somehow doesn't work.
One has to disable
com.mpiports. I am not sure whym2n.mpiportsworks flawlessly.