how to define include path for compiling CFDEM-coupling

Submitted by oger on Sun, 06/08/2014 - 18:51

I am quite new in the CFDEM-coupling and after successfully install OpenFoam2.3. and LIGGGHTS-PUBLIC, I am trying to build the programs-solvers for CFDEM-coupling but I got an error during the compiling process after launching cfdemCompCFDEM
'could not open file mpi.h for source file subModels/forceModel/checkCouplingInterval/checkCouplingInterval.C due to No such file or directory'

of course the system include path includes /opt/mpich/include but still not functioning for this compiling case??

Where is my mistake ?
thanks for your help.

cgoniva's picture

cgoniva | Thu, 06/26/2014 - 12:05

Hi,
I usually use SYSTEMMPI option in OpenFOAM's etc/bashrc file to make sure liggghts and cfdem and openfoam use the same mpi versions - namely the ones set for the system.
cfdemSysTest will tell you if mpic++ etc. are in place.
Kind regards,
Chris