CFDEM Tutorial tests not running

Submitted by mardussa on Fri, 07/07/2017 - 08:32

Hi everyone,

I am trying to run the CFDEM Tutorial tests after installing CFDEM with OpenFOAM-4.x and LIGGGHTS-3.6.0.

I followed the instructions for installing LIGGGHTS in the link below, because I was interested in using Voro++ with it:
https://www.cfdem.com/forums/tutorial-setup-liggghts-360-ubuntu-16x-mint...

I had to change a couple of the env variables in my .bashrc file as the location of LPP was not within the LIGGGHTS folder etc but everything seemed to work out ok as the output for cfdemSysTest appeared to pass everything as seen in the attached output text file.

Following https://www.cfdem.com/system/files/githubaccess_public.pdf I have skipped the cfdemCompLIG step (as I believe it is already compiled?) and went straight on to cfdemCompCFDEM.

Now when I try to run the cfdemTestTUT I get what is seen in the corresponding attached text file.

I'm not sure where I have gone wrong along the way. It appears the OpenFOAM-4.x is running, but also that certain files are not being created like the executable that mpirun is looking for? Also when the test cases is run, it attempts to open an image file that doesnt exist, so I'm not sure about that issue either.

Any help would be greatly appreciated.

Cheers,
Rob

medvedeg | Fri, 07/07/2017 - 10:10

Hallo Rob,

looks like CFDEMcoupling is not compiled properly, since the executables cannot be found.
What does "which cfdemSolverPiso" say?

Regards

Alexander Podlozhnyuk

mardussa | Mon, 07/10/2017 - 02:37

Hi Alexander,

I get no output from which cfdemSolverPiso, either before or after I enter the OpenFOAM alias.

I also get a message whenever I open a new terminal that my version of OpenFOAM is not supported, but I think that is because when I initially open a terminal I have not yet entered the OpenFOAM-4.x alias that I have set.

Also I have now just found that when I scroll up in a new terminal that there is a message that has been there hidden away! It is:

************************************
using default CFDEM_ADD_LIBS_DIR=/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/src/lagrangian/cfdemParticle/etc/addLibs_universal
using default CFDEM_ADD_LIBS_NAME=additionalLibs_
!!! ERROR !!!: CFDEM_ADD_LIBS_DIR/CFDEM_ADD_LIBS_NAME=/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/src/lagrangian/cfdemParticle/etc/addLibs_universal/additionalLibs_ does not exist.
[3;J
************************************

(followed by the OpenFOAM error which I was seeing before)

ERROR from your CFDEM code!
ERROR: your OpenFOAM(R) version is not supported!
Please use a version that is supported, i.e., see the bashrc file in the source directory!
************************************
************************************

So its looking for the CFD_ADD_LIBS, of which there are many in the addLibs_universal directory (inc additionalLibs_4.x), however there is no additionalLibs_ (with nothing after the underscore). I'm not sure if it is looking for the incorrect file, or if is looking for the correct one and it does not exist.

Also, there is no bashrc file in the source directory (I assume it means ~/CFDEM/CFDEMcoupling-PUBLIC-4.x/src). Perhaps this is because it is not compiling properly as you suggest? Any help would be appreciated,

Regards,

Rob

mardussa | Mon, 07/10/2017 - 08:16

So I have done a bit of fiddling, and the error messages I was getting in my last comment about the CFD_ADD_LIBS is sorted I think, as it is now looking for the correct files and is finding them.

I also had a closer look at the log files from cfdemCompCFDEM (which I can't seem to attach to this comment). It appears that the header files are not being found as defined in the [solver].c files.

alice's picture

alice | Mon, 07/10/2017 - 08:25

Hello mardussa,
first of all, you're right, files can only be attached when you open a thread for the first time, and not in the comments. When you have a look at the log-files, please go to the very end of them and check, if the process was successful in the end. The messages you mentioned might as well be preprocessor statements, which have no impact on whether the compilation was successful or not. You can also check if the solver (e.g. cfdemSolverPiso) can be found in the terminal. There might be some errors when trying to run the tutorials, since something regarding postprocessing changed. If you comment the functions part in the system/controlDict of cfdemSolverPiso/ErgunTestMPI you should be able to run that case.
Cheers,
Alice

mardussa | Tue, 07/11/2017 - 06:33

Ok the log files all say pretty much the same thing:

// log_compileCFDEMcoupling_cfdemSolverPiso_cfdemSolverPiso-2017-07-11-14:00 //

/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/applications/solvers/cfdemSolverPiso

removing all .dep files ...
Make/linux64GccDPInt32Opt/options:54: /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/src/lagrangian/cfdemParticle/etc/addLibs_universal/additionalLibs_: No such file or directory
make: *** No rule to make target '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/src/lagrangian/cfdemParticle/etc/addLibs_universal/additionalLibs_'. Stop.
Make/linux64GccDPInt32Opt/options:54: /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/src/lagrangian/cfdemParticle/etc/addLibs_universal/additionalLibs_: No such file or directory
make: *** No rule to make target '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/src/lagrangian/cfdemParticle/etc/addLibs_universal/additionalLibs_'. Stop.
wmake error: file 'Make/linux64GccDPInt32Opt/sourceFiles' could not be created in /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/applications/solvers/cfdemSolverPiso

where the relevant names are as seen in the log file names below.

log_compileCFDEMcoupling_cfdemSolverPisoScalar
log_compileCFDEMcoupling_cfdemParticle
log_compileCFDEMcoupling_cfdemSolverPisoSTM
log_compileCFDEMcoupling_cfdemPostproc
log_compileCFDEMcoupling_fvOptionsCFDEM
log_compileCFDEMcoupling_cfdemSolverIB
log_compileCFDEMcoupling_scalarTransportModelsCFDEM
log_compileCFDEMcoupling_cfdemSolverPiso
log_compile_results_success

The final log file says that there were 4 successful compiles:
cfdemSolverPiso
cfdemSolverIB
cfdemSolverPisoScalar
cfdemSolverPisoSTM

but which (whatever solver) does not give any output.

It looks like from the log files that it is still trying to locate the additionalLibs_ folder instead of the additionalLibs_4.x folder. I thought I had fixed that problem as I said in the above comment, but perhaps there is more than one place I need to define additionalLibs_4.x?

I tried commenting out the functions part of the cfdemSolverPiso/ErgunTestMPI/CFD/system/controlDict but continued to fail to run past the mesh generation and distribution across the multiple cores:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.x-b5331fdc8656
Exec : blockMesh
Date : Jul 11 2017
Time : 14:20:29
Host : "XPS15"
PID : 10600
Case : /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

--> FOAM Warning :
From function entry::getKeyword(keyType&, Istream&)
in file db/dictionary/entry/entryIO.C at line 80
Reading /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/system/controlDict
found on line 162 the punctuation token ')'
expected either } or EOF
Creating block mesh from
"/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/constant/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Reading patches section

Creating block mesh topology

Reading physicalType from existing boundary file

Default patch type set to empty

Check topology

Basic statistics
Number of internal faces : 8
Number of boundary faces : 14
Number of defined boundary faces : 14
Number of undefined boundary faces : 0
Checking patch -> block consistency

Creating block offsets
Creating merge list .

Creating polyMesh from blockMesh
Creating patches
Creating cells
Creating points with scale 1
Block 0 cell size :
i : 0.001725 .. 0.001725
j : 0.001725 .. 0.001725
k : 0.00230417 .. 0.00230417

Block 1 cell size :
i : 0.001725 .. 0.001725
j : 0.00101048 .. 0.00101048
k : 0.00230417 .. 0.00230417

Block 2 cell size :
i : 0.00101048 .. 0.00101048
j : 0.00270527 .. 0.00270527
k : 0.00230417 .. 0.00230417

Block 3 cell size :
i : 0.00270527 .. 0.00270527
j : 0.00101048 .. 0.00101048
k : 0.00230417 .. 0.00230417

Block 4 cell size :
i : 0.00101048 .. 0.00101048
j : 0.001725 .. 0.001725
k : 0.00230417 .. 0.00230417

Writing polyMesh
----------------
Mesh Information
----------------
boundingBox: (-0.0138 -0.0138 0) (0.0138 0.0138 0.0553)
nPoints: 5225
nCells: 4608
nFaces: 14400
nInternalFaces: 13248
----------------
Patches
----------------
patch 0 (start: 13248 size: 192) name: inlet
patch 1 (start: 13440 size: 192) name: outlet
patch 2 (start: 13632 size: 768) name: wall

End

starting DEM run in parallel...
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/log_run_liggghts_init_DEM': No such file or directory

// run_liggghts_init_DEM //

/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/DEM

--------------------------------------------------------------------------
mpirun was unable to launch the specified application as it could not access
or execute an executable:

Executable: /home/robert/LIGGGHTS-PUBLIC3.6.0/src/lmp_fedora_fpic
Node: XPS15

while attempting to start process rank 0.
--------------------------------------------------------------------------
4 total processes failed to start
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/log_run_parallel_cfdemSolverPiso_ErgunTestMPI_CFDDEM': No such file or directory
Decomposing case.
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.x-b5331fdc8656
Exec : decomposePar -force
Date : Jul 11 2017
Time : 14:20:30
Host : "XPS15"
PID : 10625
Case : /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

--> FOAM Warning :
From function entry::getKeyword(keyType&, Istream&)
in file db/dictionary/entry/entryIO.C at line 80
Reading /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/system/controlDict
found on line 162 the punctuation token ')'
expected either } or EOF

Decomposing mesh region0

Create mesh

Calculating distribution of cells
Selecting decompositionMethod simple

Finished decomposition in 0 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Distributing points to processors

Constructing processor meshes
--> FOAM Warning :
From function entry::getKeyword(keyType&, Istream&)
in file db/dictionary/entry/entryIO.C at line 80
Reading /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/system/controlDict
found on line 162 the punctuation token ')'
expected either } or EOF

Processor 0
Number of cells = 1152
Number of faces shared with processor 1 = 192
Number of faces shared with processor 2 = 192
Number of processor patches = 2
Number of processor faces = 384
Number of boundary faces = 288
--> FOAM Warning :
From function entry::getKeyword(keyType&, Istream&)
in file db/dictionary/entry/entryIO.C at line 80
Reading /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/system/controlDict
found on line 162 the punctuation token ')'
expected either } or EOF

Processor 1
Number of cells = 1152
Number of faces shared with processor 0 = 192
Number of faces shared with processor 3 = 192
Number of processor patches = 2
Number of processor faces = 384
Number of boundary faces = 288
--> FOAM Warning :
From function entry::getKeyword(keyType&, Istream&)
in file db/dictionary/entry/entryIO.C at line 80
Reading /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/system/controlDict
found on line 162 the punctuation token ')'
expected either } or EOF

Processor 2
Number of cells = 1152
Number of faces shared with processor 0 = 192
Number of faces shared with processor 3 = 192
Number of processor patches = 2
Number of processor faces = 384
Number of boundary faces = 288
--> FOAM Warning :
From function entry::getKeyword(keyType&, Istream&)
in file db/dictionary/entry/entryIO.C at line 80
Reading /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/system/controlDict
found on line 162 the punctuation token ')'
expected either } or EOF

Processor 3
Number of cells = 1152
Number of faces shared with processor 1 = 192
Number of faces shared with processor 2 = 192
Number of processor patches = 2
Number of processor faces = 384
Number of boundary faces = 288

Number of processor faces = 768
Max number of cells = 1152 (0% above average 1152)
Max number of processor patches = 2 (0% above average 2)
Max number of faces between processors = 384 (0% above average 384)

Time = 0

Processor 0: field transfer
--> FOAM Warning :
From function entry::getKeyword(keyType&, Istream&)
in file db/dictionary/entry/entryIO.C at line 80
Reading /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/system/controlDict
found on line 162 the punctuation token ')'
expected either } or EOF
Processor 1: field transfer
--> FOAM Warning :
From function entry::getKeyword(keyType&, Istream&)
in file db/dictionary/entry/entryIO.C at line 80
Reading /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/system/controlDict
found on line 162 the punctuation token ')'
expected either } or EOF
Processor 2: field transfer
--> FOAM Warning :
From function entry::getKeyword(keyType&, Istream&)
in file db/dictionary/entry/entryIO.C at line 80
Reading /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/system/controlDict
found on line 162 the punctuation token ')'
expected either } or EOF
Processor 3: field transfer
--> FOAM Warning :
From function entry::getKeyword(keyType&, Istream&)
in file db/dictionary/entry/entryIO.C at line 80
Reading /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/system/controlDict
found on line 162 the punctuation token ')'
expected either } or EOF

End

do nothing.

// run_parallel_cfdemSolverPiso_ErgunTestMPI_CFDDEM //

/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD

rm: cannot remove 'couplingFiles/*': No such file or directory
--------------------------------------------------------------------------
mpirun was unable to find the specified executable file, and therefore
did not launch the job. This error was first reported for process
rank 0; it may have occurred for other processes as well.

NOTE: A common cause for this error is misspelling a mpirun command
line parameter option (remember that mpirun interprets the first
unrecognized command line token as the executable).

Node: XPS15
Executable: cfdemSolverPiso
--------------------------------------------------------------------------
4 total processes failed to start
rm: cannot remove 'cfdemSolverPiso_ErgunTestMPI.png': No such file or directory

(octave-gui:10652): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
rhoG = 10
error: load: unable to find file ../postProcessing/probes/0/p
error: called from
totalPressureDrop.m at line 12 column 6
cp: cannot stat 'cfdemSolverPiso_ErgunTestMPI.png': No such file or directory
deleting data at: /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/ErgunTestMPI ? otherwise press Ctrl-C:\n

medvedeg | Tue, 07/11/2017 - 11:54

Hallo mardussa,

try to change brackets from "(" and ")" to "{" and "}" in functions in controldict file. You use OpenFOAM-4.x, right?

Alexander Podlozhnyuk

mardussa | Wed, 07/12/2017 - 04:03

Hi Alexander,

Yes I am using 4.x

I tried changing all "( )" to "{ }" under the functions within controlDict file, but nothing different is output.

alice's picture

alice | Wed, 07/12/2017 - 12:46

Hi Mardussa,
I had another look at your log files and found the following:
Make/linux64GccDPInt32Opt/options:54: /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/src/lagrangian/cfdemParticle/etc/addLibs_universal/additionalLibs_: No such file or directory
make: *** No rule to make target '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/src/lagrangian/cfdemParticle/etc/addLibs_universal/additionalLibs_'. Stop.
Make/linux64GccDPInt32Opt/options:54: /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/src/lagrangian/cfdemParticle/etc/addLibs_universal/additionalLibs_: No such file or directory
make: *** No rule to make target '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/src/lagrangian/cfdemParticle/etc/addLibs_universal/additionalLibs_'. Stop.
wmake error: file 'Make/linux64GccDPInt32Opt/sourceFiles' could not be created in /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/applications/solvers/cfdemSolverPiso
Usually, at the end of the additionalLibs_-filename there should be the foam version number (i.e. 4.x in your case). Are you sure that OpenFOAM is sourced while you are tring to install CFDEMcoupling? Please check that!
Furthermore I'd recommend to update BOTH LIGGGHTS and CFDEMcoupling, since there was a release yesterday (CFDEMcoupling) and one friday (LIGGGHTS). With that action you'd make sure that you have the latest versions with several improvements and bugfixes.
Cheers,
Alice

mardussa | Thu, 07/13/2017 - 05:11

Ok I deleted everything and decided to start again. I downloaded the newest versions of LIGGGHTS and CFDEMcoupling from github, and was following the instructions from https://www.cfdem.com/media/CFDEM/docu/CFDEMcoupling_Manual.html#install-2

Instead of running cfdemCompCFDEMall I ran the commands individually. cfdemComLIG seems to work, and it creates an lmp_auto executable.

The remaining 3 commands (cfdemCompCFDEMsrc/sol/uti) all constantly produce outputs like this:

// log_compileCFDEMcoupling_cfdemSolverPiso_cfdemSolverPiso-2017-07-13-12:28 //

/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/applications/solvers/cfdemSolverPiso

removing all .dep files ...
Making dependency list for source file cfdemSolverPiso.C
could not open file fvIOoptionList.H for source file cfdemSolverPiso.C due to No such file or directory
could not open file omp.h for source file cfdemSolverPiso.C due to No such file or directory
could not open file ompi/mpi/cxx/pmpicxx.h for source file cfdemSolverPiso.C due to No such file or directory
could not open file ompi/mpi/cxx/pop_inln.h for source file cfdemSolverPiso.C due to No such file or directory
could not open file ompi/mpi/cxx/pgroup_inln.h for source file cfdemSolverPiso.C due to No such file or directory
could not open file ompi/mpi/cxx/pstatus_inln.h for source file cfdemSolverPiso.C due to No such file or directory
could not open file ompi/mpi/cxx/prequest_inln.h for source file cfdemSolverPiso.C due to No such file or directory
could not open file math.h for source file cfdemSolverPiso.C due to No such file or directory
could not open file cfdemCloudRotation.H for source file cfdemSolverPiso.C due to No such file or directory
could not open file cfdemCloudRotationSuperquadric.H for source file cfdemSolverPiso.C due to No such file or directory
could not open file readPISOControls.H for source file cfdemSolverPiso.C due to No such file or directory
.
.
.

Is there something wrong with my openmpi installation? I'm not sure why this would be causing an issue though.

mardussa | Thu, 07/13/2017 - 07:41

which now, after doing a bit more looking around, is a similar problem that others have had in the past with no clear solution :(

mardussa | Thu, 07/13/2017 - 08:41

When running the cfdemTestTUT just now, I found that there was one test case that did seem to run; the cfdemSolverPiso/settlingTestMPI.

This test produced a plot (only 1) comparing Stokes and DeFelice. When pressing enter to delete files however, it is again unable to find and delete files that don't exist (possibly because they are not created in just the simple test case):

eleting data at: /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI ? otherwise press Ctrl-C:\n
deleting CFD mesh files
Cleaning /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD case
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/clockData': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/particleProbes': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/averageProps/': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/octave/octave-core': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/octave/octave-workspace': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/remotePlace': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/oldProcDirs': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/tmp.balance': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/callgrind.out.*': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/hpctoolkit-*': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/DEM/post/restart': Is a directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/DEM/tmp.lammps.variable': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/*.dat': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/*.pascal': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/*.profile': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/0.*': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/1': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/1.*': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/2': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/2.*': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/3': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/3.*': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/4': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/4.*': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/5': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/5.*': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/6': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/6.*': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/7': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/7.*': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/8': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/8.*': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/9': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/9.*': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/10': No such file or directory
rm: cannot remove '/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/pascal/10.*': No such file or directory
done

Unfortunately, this was the only case that was capable of running.

alice's picture

alice | Thu, 07/13/2017 - 10:11

Hello mardussa,
the messages you see here are only preprocessor statements and are "normal" to show. They do not indicated, that there is an issue. For checking if the compilation went right, please have a look at the last line of the log files (src/lagrangian/cfdemParticle/etc/log) of the cfdemParticle cloud and the solvers (there is also a summary file ending on success and fail). If all four solvers can be found in the success file, at least the compilation went right.
Cheers, Alice

alice's picture

alice | Thu, 07/13/2017 - 10:19

When it comes to the tutorials: I'd suggest to go to the cfdemSolverPiso/ErgunTestMPI tutorial. Open the CFD/system/controlDict file and comment the functions-block in the end (to my knowledge soemthing changed from 3.0.x to 4.0.x, and since the examples are only tested for 3.0.x this might cause the errors). The try to run the case (e.g. by calling the Allrun-script - now the postprocessing with octave can't work anymore since is would need the functions. Use Ctrl+c to stop the execution of the case after the failed octave-postprocessing attempt and use paraview to visualize the case data). You can re-enable the postprocessing by adjusting the functions-syntax to OpenFOAM-4.x (have a look the the OpenFOAM tutorials to find out how the functions are used there now).
Cheers,
Alice

mardussa | Fri, 07/14/2017 - 02:31

Ahhh thank you Alice, I had seen those files earlier (before I deleted the installation and started again) and there was a fail log.

I know have the following two success logs, which do contain the 4 solvers and 3 src:

log_compile_results_sol_success contains
cfdemSolverPiso
cfdemSolverIB
cfdemSolverPisoScalar
cfdemSolverPisoSTM

log_compile_results_src_success contains
cfdemParticle
scalarTransportModelsCFDEM
fvOptionsCFDEM

The last lines of the other log files you suggested are:

log_compileCFDEMcoupling_cfdemParticle
'/home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/platforms/linux64GccDPInt32Opt/lib/liblagrangianCFDEM-PUBLIC-4.x.so' is up to date.
log_compileCFDEMcoupling_cfdemSolverIB
-lm -o /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/platforms/linux64GccDPInt32Opt/bin/cfdemSolverIB
log_compileCFDEMcoupling_cfdemSolverPiso
-lm -o /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/platforms/linux64GccDPInt32Opt/bin/cfdemSolverPiso
log_compileCFDEMcoupling_cfdemSolverPisoScalar
-lm -o /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/platforms/linux64GccDPInt32Opt/bin/cfdemSolverPisoScalar
log_compileCFDEMcoupling_cfdemSolverPisoSTM
-lm -o /home/robert/CFDEM/CFDEMcoupling-PUBLIC-4.x/platforms/linux64GccDPInt32Opt/bin/cfdemSolverPisoSTM

So it looks like everything has compiled correctly then, and it is only the octave post-processing that seems to be having an issue. I will try commenting out the functions in the controlDict and see if I can view the results with paraview, and I will also try this install at home and use OF-3.x and see if that fixes the issues. Perhaps using 4.x was just an unnecessary complication....

Rob.

alice's picture

alice | Fri, 07/14/2017 - 11:14

Hi Rob,
this is really good news, you should now be able to run the tutorial cases (without or with a modified version of the functions...)!
Cheers,
Alice