Hello to everybody.
Sorry for many questions but i'm working alone and don't have anyone else to help me. I follow the instruction in the http://www.cfdem.com/system/files/githubaccess_public.pdf
I have OpenFoam installed on my computer and installation of LIGGGHTS was passed smoothly.
But when i'm trying to install CFDEM "cfdemCompCFDEM" (after passing a few time) an error message appears:
#####Opt/bin/cfdemPostproc
#####/usr/bin/ld: cannot find -llagrangianCFDEM-PUBLIC-2.0.0
#####collect2: ld returned 1 exit status
#####make: *** [/home/asorkin/OpenFOAM/asorkin-2.0.0/platforms/linux64GccDPOpt/bin/cfdemPostproc] Error 1
#####compilation done.
Is it error only in past processing? Do i need to install something else for the past processing? Or is it somethong with my OpenFoam?
If i'm trying the tests cfdemTestTUT
The error message is:
#####--> FOAM FATAL ERROR:
#####No times selected
##### From function reconstructPar
##### in file reconstructPar.C at line 139.
##### FOAM exiting
##### rm: cannot remove `cfdemSolverPiso_settlingTestMPI.eps': No such file or directory
#####/gpfs/home/asorkin/CFDEM/CFDEMcoupling-PUBLIC-/tutorials/cfdemSolverPiso/settlingTestMPI/parCFDDEMrun.sh: line 43: octave: #####command not found
#####cannot open display:
#####Run 'evince --help' to see a full list of available command line options.
#####cp: cannot stat `cfdemSolverPiso_settlingTestMPI.eps': No such file or directory
#####deleting data at: /gpfs/home/asorkin/CFDEM/CFDEMcoupling-PUBLIC-/tutorials/cfdemSolverPiso/settlingTestMPI :\n
#####Cleaning /gpfs/home/asorkin/CFDEM/CFDEMcoupling-PUBLIC-/tutorials/cfdemSolverPiso/settlingTestMPI/CFD case
#####rm: cannot remove `/gpfs/home/asorkin/CFDEM/CFDEMcoupling-PUBLIC-/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/clockData': No #####such file or directory
#####rm: cannot remove `/gpfs/home/asorkin/CFDEM/CFDEMcoupling-PUBLIC-/tutorials/cfdemSolverPiso/settlingTestMPI/DEM/post/*': No such #####file or directory
#####rm: cannot remove `/gpfs/home/asorkin/CFDEM/CFDEMcoupling-PUBLIC-/tutorials/cfdemSolverPiso/settlingTestMPI/DEM/liggghts #####.restartCFDEM*': No such file or directory
#####done
Thank you in advance. And Happy New Year!
nikros | Mon, 01/04/2016 - 07:08
Hello. I found the problem:
Hello. I found the problem: it is because the lmpi_cxx cannot be found.
I found two solutions here: http://www.cfdem.com/forums/error-compiling-cfdem-cannot-find-lmpicxx
1) to remove the line with -lmpi_cxx in CFDEM's Make/options. After that i can compile the cfdemParticle, but the next error arrives from the cfdemSolverPiso.
2) to remove the line --disable-mpi-cxx from the OpenFoam/ThirdParty-2.1.x/Allwmake. I cannot do it, because i'm not an administrator in my work computer.
Any suggestion what else can i do?
Thank you in advance.
j-kerbl | Mon, 01/18/2016 - 13:19
Hi Nikros,
Hi Nikros,
changing the OpenFoam/ThirdParty-2.1.x/Allwmake only helps, if you are using OpenMPI from ThirdParty and not previously installed MPI.
You can see which MPI OpenFOAM uses in $FOAM_ETC/bashrc ( or for csh $FOAM_ETC/cshrc).
Look for the variable "WM_MPLIB"
If this is set to OPENMPI, then the ThirdParty is used. SYSTEMOPENMPI uses a manually installed OpenMPI somewhere on your system.
You do not have any admin around??
There would be a way to work around this. You would have to install OpenFOAM within your $HOME as a local user installation. Then you can adjust it as much as you like.
Cheers
josef