Problem running CFDEM Examples

Submitted by abhishek on Thu, 02/21/2013 - 13:45

Hello CFDEM Users,

I tried to install CFDEM on Ubuntu machine. After installing, I didn't manage to run the tutorials. So, I tried to run the following example :
~/CFDEM/CFDEMcoupling-PUBLIC-2.1.0/tutorials/cfdemSolverPiso/settlingTestMPI/CFD

using the command :
mpirun -np 2 cfdemSolverPiso -parallel

and I found the follwoing error :

--> FOAM FATAL ERROR:
bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor

From function UPstream::init(int& argc, char**& argv)
in file UPstream.C at line 81.

FOAM aborting

--> FOAM FATAL ERROR:
bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor

From function UPstream::init(int& argc, char**& argv)
in file UPstream.C at line 81.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&)#0 Foam::error::printStack(Foam::Ostream&) in "/ in opt/openfoam210/platforms/linux64GccDP"/opt/openfoOpt/lib/libOpeam210/platfnFOAM.so"orms/linux64G
#ccDPOpt/lib/1 libOpenFOAM.so"
Foam::error::abort()#1 Foam::error::abort() in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam::UPstream::init(int&, char**&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam::UPstream::init(int&, char**&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/openmpi-system/libPstream.so"
#3 Foam::argList::argList(int&, char**&, bool, bool) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/openmpi-system/libPstream.so"
#3 Foam::argList::argList(int&, char**&, bool, bool) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4 in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4

in "/home/abhishek/OpenFOAM/abhishek-2.1.0/platforms/linux64GccDPOpt/bin/cfdemSolverPiso"
#5 __libc_start_main in "/home/abhishek/OpenFOAM/abhishek-2.1.0/platforms/linux64GccDPOpt/bin/cfdemSolverPiso"
#5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#6 in "/lib/x86_64-linux-gnu/libc.so.6"
#6

in "/home/abhishek/OpenFOAM/abhishek-2.1.0/platforms/linux64GccDPOpt/bin/cfdemSolverPiso"
[aerospike:28376] *** Process received signal ***
[aerospike:28376] Signal: Aborted (6)
[aerospike:28376] Signal code: (-6)
in "/home/abhishek/OpenFOAM/abhishek-2.1.0/platforms/linux64GccDPOpt/bin/cfdemSolverPiso"
[aerospike:28375] *** Process received signal ***
[aerospike:28375] Signal: Aborted (6)
[aerospike:28375] Signal code: (-6)
[aerospike:28375] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36420) [0x7f4cf3bd6420]
[aerospike:28375] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f4cf3bd63a5]
[aerospike:28375] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7f4cf3bd9b0b]
[aerospike:28375] [ 3] /opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam5error5abortEv+0x166) [0x7f4cf4a56dc6]
[aerospike:28375] [ 4] /opt/openfoam210/platforms/linux64GccDPOpt/lib/openmpi-system/libPstream.so(_ZN4Foam8UPstream4initERiRPPc+0x48f) [0x7f4cf374aa9f]
[aerospike:28375] [ 5] /opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbb+0x23ce) [0x7f4cf4a6c6fe]
[aerospike:28375] [ 6] cfdemSolverPiso() [0x417348]
[aerospike:28375] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f4cf3bc130d]
[aerospike:28375] [ 8] cfdemSolverPiso() [0x41eb7d]
[aerospike:28375] *** End of error message ***
[aerospike:28376] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36420) [0x7fc8618e4420]
[aerospike:28376] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fc8618e43a5]
[aerospike:28376] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7fc8618e7b0b]
[aerospike:28376] [ 3] /opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam5error5abortEv+0x166) [0x7fc862764dc6]
[aerospike:28376] [ 4] /opt/openfoam210/platforms/linux64GccDPOpt/lib/openmpi-system/libPstream.so(_ZN4Foam8UPstream4initERiRPPc+0x48f) [0x7fc861458a9f]
[aerospike:28376] [ 5] /opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbb+0x23ce) [0x7fc86277a6fe]
[aerospike:28376] [ 6] cfdemSolverPiso() [0x417348]
[aerospike:28376] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fc8618cf30d]
[aerospike:28376] [ 8] cfdemSolverPiso() [0x41eb7d]
[aerospike:28376] *** End of error message ***

=====================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= EXIT CODE: 6
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
=====================================================================================
APPLICATION TERMINATED WITH THE EXIT STRING: Aborted (signal 6)

Could someone please explain, whats going wrong in this. OpenFoam runs fine on the machine.

Thanks,

Abhishek