Skip to content

Intel OneAPI build #4

@fsimonis

Description

@fsimonis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions