Compile LIGGGHTS failed

Submitted by pipegaldames on
pipegaldames

Yes, I installed g++.

g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.

Tue, 25 Feb 2014 - 05:30 Permalink
pipegaldames

When I type "mpic++" in console the same message appears:

The Open MPI wrapper compiler was unable to find the specified compiler
no in your PATH.

Note that this compiler was either specified at configure time or in
one of several possible environment variables.

Any help ?

Regards

Tue, 25 Feb 2014 - 17:12 Permalink
pipegaldames

I modified in archive bashrc inside OpenFOAM/OpenFOAM-2.3.x/etc the next line:

"export WM_MPLIB=OPENMPI " by this

export WM_MPLIB=MPI

With this change, the compilation of LIGGGHTS works correctly.

Now my problem is for compile CFDEM through comand "cfdemCompCFDEM", in the end of console appears the next:

/home/pipegaldames/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle/lnInclude/cfdemCloud.H:73:7: error: forward declaration of ‘struct Foam::meshMotionModel’
make: *** [Make/linux64GccDPOpt/cfdemPostproc.o] Error 1
Note: the list of utilities compiled might be incomplete.
please check /home/pipegaldames/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/applications/utilities for more utilities available

------------------------

What can be problem? . Any help is appreciated.
Regards,
Felipe

Tue, 25 Feb 2014 - 19:25 Permalink
eddie

In reply to by pipegaldames

I had this problem before. it seems openmpi's mpicxx is disabled when compiling this package.
I made following changes, and the problem was gone.

go to $WM_THIRD_PARTY_DIR and find Allwmake.
locate "OPENMPI" and find the line with "./configure --prefix=.....--disable-mpi-cxx ..."
apparently, mpicxx is not complied.
make changes to "--enable-mpi-cxx" or simply remove it.

then, run "./Allwmake", if openmpi is successfully installed, then that problem should be gone.

Wed, 30 Mar 2016 - 21:22 Permalink
RjwV

I believe you are using OpenFOAM version 2.3.0?

CFDEM is only compatible with OpenFOAM 2.2.1 and earlier versions as far as I know. I think it's best if you install the OF version I just mentioned or an older one if you prefer, and try the procedure again. It should work then.

Kind regards.

Fri, 14 Mar 2014 - 15:04 Permalink
cgoniva

Dear cfdsam,

I usually follow this procedure:
Install OpenFOAM(R) 2.3.x (the github version), using the SYSTEMMPI setting in OpenFOAM(R)'s .../etc/bashrc

then compile CFDEM(R)coupling and check with cfdemSysTest if all necessary mpi libraries (e.g. mpic++) are available

All programs, OpenFOAM(R), LIGGGHTS(R) and CFDEM(R)coupling are then compiled with the same mpi, which is crutual.

Cheers,
Chris

Wed, 20 Aug 2014 - 10:05 Permalink

Hi everyone,

I tried the installation of new version CFDEMcoupling 2.6.0 released, and when I try to compile LIGGGHTS with "cfdemCompLIG", appears next message:

The Open MPI wrapper compiler was unable to find the specified compiler
no in your PATH.

Note that this compiler was either specified at configure time or in
one of several possible environment variables.

--------------------------------

Finally appears error messages and the compilation failed. Any help for fix this problem?

Regards,
Felipe.