# Conda Paraview MPI Build Issue

**URL:** https://discourse.paraview.org/t/conda-paraview-mpi-build-issue/3724
**Category:** ParaView Support
**Created:** [March 3, 2020, 12:06am UTC](https://discourse.paraview.org/t/conda-paraview-mpi-build-issue/3724 "2020-03-03T00:06:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bhermanmit](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/a3d4f5/32.png) [@bhermanmit](https://discourse.paraview.org/u/bhermanmit)
#### Post date: [March 3, 2020, 12:06am UTC](https://discourse.paraview.org/t/conda-paraview-mpi-build-issue/3724/1 "2020-03-03T00:06:52Z")

</div>

I am working on updating paraview-feedstock from conda-forge for OpenMPI and MPICH support. I followed patterns from mpi4py and hdf5/h5py to see how to incorporate the correct MPI libraries. Following that, I added -DPARAVIEW\_USE\_MPI=ON option to cmake command.

See [https://github.com/bhermanmit/paraview-feedstock/commit/a278d7fef1ff6a820e4120e7f02e93f23efabb92](https://github.com/bhermanmit/paraview-feedstock/commit/a278d7fef1ff6a820e4120e7f02e93f23efabb92).

Each of my parallel builds failed with an error when building vtkIceTCore. The error is:

```
2020-03-01T20:15:10.7206664Z Scanning dependencies of target vtkIceTCore
2020-03-01T20:15:10.7214071Z make[2]: Leaving directory '$SRC_DIR/build'
2020-03-01T20:15:10.7248512Z make[2]: Entering directory '$SRC_DIR/build'
2020-03-01T20:15:10.7511213Z In file included from /home/conda/feedstock_root/build_artifacts/paraview_1583093264546/work/ThirdParty/IceT/vtkicet/src/include/IceT.h:15:0,
2020-03-01T20:15:10.7512592Z from /home/conda/feedstock_root/build_artifacts/paraview_1583093264546/work/ThirdParty/IceT/vtkicet/src/include/IceTDevPorting.h:13,
2020-03-01T20:15:10.7514139Z from /home/conda/feedstock_root/build_artifacts/paraview_1583093264546/work/ThirdParty/IceT/vtkicet/src/ice-t/porting.c:13:
2020-03-01T20:15:10.7515456Z /home/conda/feedstock_root/build_artifacts/paraview_1583093264546/_build_env/x86_64-conda_cos6-linux-gnu/sysroot/usr/include/stdlib.h:513:15: error: expected '=', ',', ';', 'asm' or ' __attribute__' before 'void'
2020-03-01T20:15:10.7516239Z static inline void* aligned_alloc (size_t al, size_t sz)
2020-03-01T20:15:10.7516618Z ^~~~
2020-03-01T20:15:10.7693947Z make[2]: *** [ThirdParty/IceT/vtkicet/src/ice-t/CMakeFiles/vtkIceTCore.dir/build.make:59: ThirdParty/IceT/vtkicet/src/ice-t/CMakeFiles/vtkIceTCore.dir/porting.c.o] Error 1
2020-03-01T20:15:10.7695372Z make[2]: Leaving directory '$SRC_DIR/build'
2020-03-01T20:15:10.7696290Z make[1]: *** [CMakeFiles/Makefile2:28045: ThirdParty/IceT/vtkicet/src/ice-t/CMakeFiles/vtkIceTCore.dir/all] Error 2

```

The entire build can be found at: [https://dev.azure.com/conda-forge/84710dde-1620-425b-80d0-4cf5baca359d/\_apis/build/builds/126672/logs/145](https://dev.azure.com/conda-forge/84710dde-1620-425b-80d0-4cf5baca359d/_apis/build/builds/126672/logs/145)

Any ideas how I can fix this?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 3, 2020, 2:04am UTC](https://discourse.paraview.org/t/conda-paraview-mpi-build-issue/3724/2 "2020-03-03T02:04:54Z")

</div>

@ben.boeckel

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [March 21, 2020, 2:04am UTC](https://discourse.paraview.org/t/conda-paraview-mpi-build-issue/3724/3 "2020-03-21T02:04:00Z")

</div>

It looks like something is doing `#define inline` to something invalid. Could you please provide the preprocessed output for the file in question?

---

<div class="post-metadata">

### Author: ![Felipe\_Bordeu](https://discourse.paraview.org/user_avatar/discourse.paraview.org/felipe_bordeu/32/6143_2.png) [@Felipe\_Bordeu](https://discourse.paraview.org/u/Felipe_Bordeu)
#### Post date: [May 3, 2021, 1:53pm UTC](https://discourse.paraview.org/t/conda-paraview-mpi-build-issue/3724/4 "2021-05-03T13:53:37Z")

</div>

Hello, did you solve your problem??

I have the same problem.

Felipe
