compiling LIG -another problem

Submitted by Rashid on Wed, 12/18/2013 - 16:09

Hello guys,
i have a problem the compiling of LIGGGHTS after typing the cmmand cfdemCompLIG.
It shows up an error which i dont understand. Here is a part of it.

I managed to add the lines correctly (referring to my 1st) post.

_________________________________________________________________________________________________________

/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h:671:1: Warnung: unbenutzter Parameter »comm_keyval« [-Wunused-parameter]
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h:671:1: Warnung: unbenutzter Parameter »attribute_val« [-Wunused-parameter]
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h:671:1: Warnung: unbenutzter Parameter »extra_state« [-Wunused-parameter]
In file included from fix_adapt.h:33:0,
from style_fix.h:1,
from lammps.cpp:34:
fix.h:183:16: Warnung: unbenutzter Parameter »args« [-Wunused-parameter]
In file included from multi_node_mesh.h:32:0,
from multi_node_mesh_parallel.h:26,
from tracking_mesh.h:31,
from surface_mesh.h:31,
from tri_mesh.h:31,
from fix_contact_history.h:34,
from style_fix.h:17,
from lammps.cpp:34:
domain.h:146:15: Warnung: unbenutzter Parameter »pos« [-Wunused-parameter]
domain.h:147:15: Warnung: unbenutzter Parameter »pos« [-Wunused-parameter]
domain.h:148:15: Warnung: unbenutzter Parameter »pos« [-Wunused-parameter]
domain.h:149:18: Warnung: unbenutzter Parameter »pos« [-Wunused-parameter]
domain.h:150:15: Warnung: unbenutzter Parameter »i« [-Wunused-parameter]
In file included from tri_mesh.h:77:0,
from fix_contact_history.h:34,
from style_fix.h:17,
from lammps.cpp:34:
tri_mesh_I.h: In Elementfunktion »double LAMMPS_NS::TriMesh::resolveTriSphereContactBary(int, int, double, double*, double*, double*)«:
tri_mesh_I.h:56:13: Warnung: Variable »surfNorm« wird nicht verwendet [-Wunused-variable]
tri_mesh_I.h: Im globalen Gültigkeitsbereich:
tri_mesh_I.h:47:17: Warnung: unbenutzter Parameter »iPart« [-Wunused-parameter]
tri_mesh_I.h: In Elementfunktion »double LAMMPS_NS::TriMesh::resolveCornerContactBary(int, int, bool, double*, double*, double*)«:
tri_mesh_I.h:149:14: Warnung: Variable »d« wird nicht verwendet [-Wunused-variable]
tri_mesh_I.h: In Elementfunktion »virtual int LAMMPS_NS::TriMesh::generateRandomOwnedGhost(double*)«:
tri_mesh_I.h:351:17: Warnung: Variable »tmp« wird nicht verwendet [-Wunused-variable]
tri_mesh_I.h: Im globalen Gültigkeitsbereich:
tri_mesh_I.h:387:14: Warnung: unbenutzter Parameter »pos« [-Wunused-parameter]
tri_mesh_I.h:387:14: Warnung: unbenutzter Parameter »delta« [-Wunused-parameter]
In file included from fix_heat_gran_conduction.h:32:0,
from style_fix.h:28,
from lammps.cpp:34:
fix_heat_gran.h:36:18: Warnung: unbenutzter Parameter »unfixflag« [-Wunused-parameter]
In file included from style_fix.h:66:0,
from lammps.cpp:34:
fix_property_atom.h:70:16: Warnung: unbenutzter Parameter »ilo« [-Wunused-parameter]
fix_property_atom.h:70:16: Warnung: unbenutzter Parameter »ihi« [-Wunused-parameter]
In file included from fix_template_sphere.h:32:0,
from fix_template_multiplespheres.h:32,
from style_fix.h:92,
from lammps.cpp:34:
probability_distribution.h:133:28: Warnung: unbenutzter Parameter »rp« [-Wunused-parameter]
In file included from style_fix.h:100:0,
from lammps.cpp:34:
fix_wall_gran.h:128:16: Warnung: unbenutzter Parameter »mesh« [-Wunused-parameter]
fix_wall_gran.h:128:16: Warnung: unbenutzter Parameter »i« [-Wunused-parameter]
fix_wall_gran.h:128:16: Warnung: unbenutzter Parameter »rsq« [-Wunused-parameter]
fix_wall_gran.h:128:16: Warnung: unbenutzter Parameter »area_ratio« [-Wunused-parameter]
In file included from domain_wedge.h:1:0,
from lammps.cpp:47:
domain_wedge_dummy.h:41:10: Warnung: unbenutzter Parameter »rw« [-Wunused-parameter]
domain_wedge_dummy.h:49:17: Warnung: unbenutzter Parameter »_n1« [-Wunused-parameter]
domain_wedge_dummy.h:52:17: Warnung: unbenutzter Parameter »_n2« [-Wunused-parameter]
domain_wedge_dummy.h:55:17: Warnung: unbenutzter Parameter »_c« [-Wunused-parameter]
mpic++ -g -O2 -fPIC -funroll-loops -fstrict-aliasing -Wall -W -Wno-uninitialized -DLAMMPS_GZIP -c universe.cpp
In file included from /usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h:288:0,
__________________________________________________________________________________________________________________

does somebody have an idea...its very important to get the compiling of CFDEM and LIGGHTS finally done!

thank you very much!!

richti83's picture

richti83 | Thu, 12/19/2013 - 11:52

Hi, I can not see any error in your post, the statements are only warning of the compiler, don't worry about them.
The build should finish after a while with lmp_fedora_fpic blabla.

You can supress the warnings when you remove the -W statemant in the MAKE/Makefile.fedora_fpic in the line with the compilerflags.

best,
Christian.

I'm not an associate of DCS GmbH and not a core developer of LIGGGHTS®
ResearchGate | Contact