error when compiling CFDEMcoupling-PFM

Submitted by jennifer on Thu, 04/25/2024 - 17:06

Hello, everyone! I am trying to compile the full CFDEM-PFM, and I have successfully installed OpenFOAM-6 and the corresponding version of paraview.
When I type cfdemSysTest into the terminal, it shows no problem.
*********************************************
* C F D E M (R) c o u p l i n g *
* *
* by DCS Computing GmbH *
* www.dcs-computing.com *
*********************************************

*********************************
CFDEM(R)coupling system settings:
*********************************
CFDEM_VERSION=24.01
couple to OF_VERSION=6
compile option=Opt

check if paths are set correctly
valid:yes critical:yes - $CFDEM_PROJECT_DIR = /home/liuxin/CFDEM/CFDEMcoupling
valid:yes critical:no - $CFDEM_PROJECT_USER_DIR = /home/liuxin/CFDEM/liuxin-6
valid:yes critical:yes - $CFDEM_SRC_DIR = /home/liuxin/CFDEM/CFDEMcoupling/src
valid:yes critical:yes - $CFDEM_SOLVER_DIR = /home/liuxin/CFDEM/CFDEMcoupling/applications/solvers
valid:yes critical:yes - $CFDEM_TUT_DIR = /home/liuxin/CFDEM/CFDEMcoupling/tutorials
valid:yes critical:yes - $CFDEM_LIGGGHTS_SRC_DIR = /home/liuxin/LIGGGHTS/LIGGGHTS/src
valid:yes critical:yes - $CFDEM_LIGGGHTS_BIN_DIR = /home/liuxin/LIGGGHTS/LIGGGHTS/src-build
valid:yes critical:yes - $CFDEM_LPP_DIR = /home/liuxin/LIGGGHTS/LPP/src
valid:yes critical:yes - $CFDEM_ADD_LIBS_DIR = /home/liuxin/CFDEM/CFDEMcoupling/etc
valid:yes critical:no - $CFDEM_TEST_HARNESS_PATH = /home/liuxin/CFDEM/liuxin-6/log/logFilesCFDEM-24.01-6

library names
$CFDEM_LIB_NAME = lagrangianCFDEM-24.01-6
$PATH = /home/liuxin/CFDEM/CFDEMcoupling/platforms/linux64GccDPInt32Opt/bin:/home/liuxin/LIGGGHTS/LIGGGHTS/src-build:/home/liuxin/OpenFOAM-6/ThirdParty-6/platforms/linux64Gcc/gperftools-svn/bin:/home/liuxin/OpenFOAM-6/ThirdParty-6/platforms/linux64Gcc/ParaView-5.4.0/bin:/home/liuxin/OpenFOAM/liuxin-6/platforms/linux64GccDPInt32Opt/bin:/home/liuxin/OpenFOAM-6/site/6/platforms/linux64GccDPInt32Opt/bin:/home/liuxin/OpenFOAM-6/OpenFOAM-6/platforms/linux64GccDPInt32Opt/bin:/home/liuxin/OpenFOAM-6/OpenFOAM-6/bin:/home/liuxin/OpenFOAM-6/OpenFOAM-6/wmake:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
$LD_LIBRARY_PATH = /home/liuxin/CFDEM/CFDEMcoupling/platforms/linux64GccDPInt32Opt/lib:/home/liuxin/OpenFOAM-6/ThirdParty-6/platforms/linux64Gcc/gperftools-svn/lib:/home/liuxin/OpenFOAM-6/ThirdParty-6/platforms/linux64Gcc/ParaView-5.4.0/lib/paraview-5.4:/home/liuxin/OpenFOAM-6/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/openmpi-system:/home/liuxin/OpenFOAM-6/ThirdParty-6/platforms/linux64GccDPInt32/lib/openmpi-system:/usr/lib/x86_64-linux-gnu/openmpi/lib:/home/liuxin/OpenFOAM/liuxin-6/platforms/linux64GccDPInt32Opt/lib:/home/liuxin/OpenFOAM-6/site/6/platforms/linux64GccDPInt32Opt/lib:/home/liuxin/OpenFOAM-6/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib:/home/liuxin/OpenFOAM-6/ThirdParty-6/platforms/linux64GccDPInt32/lib:/home/liuxin/OpenFOAM-6/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/dummy
$WM_NCOMPPROCS = 4
*******************
g++:
/usr/bin/g++
g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

gcc:
/usr/bin/gcc
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

mpic++:
/usr/bin/mpic++
g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

mpirun:
/usr/bin/mpirun
mpirun (Open MPI) 4.0.3

Report bugs to http://www.open-mpi.org/community/help/

What bothers me is that errors are reported during CFDEMcoupling-PFM builds, especially during lights builds. When I type cfdemCompLIG or cfdemCompCFDEMall in the terminal, I get an error and ubuntu can get stuck for a long time.

[96%] Building CXX object CMakeFiles/liggghts dir/tet_mesh CPP. O
[ 96%] Building CXX object CMakeFiles/liggghts.dir/thermo.cpp.o
[ 96%] Building CXX object CMakeFiles/liggghts.dir/timer.cpp.o
[ 97%] Building CXX object CMakeFiles/liggghts.dir/tri_mesh.cpp.o
[ 97%] Building CXX object CMakeFiles/liggghts.dir/tri_mesh_planar.cpp.o
[ 97%] Building CXX object CMakeFiles/liggghts.dir/universe.cpp.o
[ 97%] Building CXX object CMakeFiles/liggghts.dir/update.cpp.o
[ 97%] Building CXX object CMakeFiles/liggghts.dir/variable.cpp.o
[ 98%] Building CXX object CMakeFiles/liggghts.dir/velocity.cpp.o
[ 98%] Building CXX object CMakeFiles/liggghts.dir/verlet.cpp.o
[ 98%] Building CXX object CMakeFiles/liggghts.dir/verlet_implicit.cpp.o
[ 98%] Building CXX object CMakeFiles/liggghts.dir/write_data.cpp.o
[ 99%] Building CXX object CMakeFiles/liggghts.dir/write_dump.cpp.o
[ 99%] Building CXX object CMakeFiles/liggghts.dir/write_restart.cpp.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [CMakeFiles/liggghts.dir/build.make:3911: CMakeFiles/liggghts.dir/granular_styles.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:106: CMakeFiles/liggghts.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Has anyone had the same problem as me? You know how to fix it? I hope someone can help me! Thank you all!!!