Really frustrated!!CFDEM installation

Submitted by stephanie_cao on Thu, 08/08/2013 - 16:33

Dear there,

I'm new to Linux and it takes me a lot time try to install CFDEMcoupling.
In the past 1 month, I tried to install CFDEMcoupling, no succeed and now I'm really frustrated.
Can anyone here give me an hand please?

What I've done is
1. Install Ubuntu 12.04 64bit
2. Install OpenFOAM-2.2.x following the procedure (Repository version), tested, ok
3. Install CFDEMcoupling following the PDF, cfdemCompLIG-ok, cfdemCompCFDEM-error

The error message I've got is as following:
/usr/bin/ld: cannot find -llagrangianCFDEM-PUBLIC-2.2.x
collect2: ld returned 1 exit status
make: *** [/home/stefanie/OpenFOAM/hui-2.2.x/platforms/linux64GccDPOpt/bin/cfdemPostproc] Error 1
Note: the list of utilities compiled might be incomplete.
please check /home/stefanie/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/applications/utilities for more utilities available

Please please, help me!

Many thanks!

Stefanie

aaigner's picture

aaigner | Fri, 08/09/2013 - 00:40

Can you check the log-file from the cfdemCompSRC for thr error?

Cheers
Andreas

keepfit | Mon, 08/12/2013 - 09:59

Hi Stefanie,

I used to encounter this issue. I solved it by deleting all the LIGGGHTS and CFDEM files, and then compile again.

First you have to make sure the "liblagrangianCFDEM-PUBLIC-2.2.x.so" is successfully compiled (in the folder: /home/USER/OpenFOAM/USER-2.2.x/platforms/linux64GccDPOpt/lib), as CFDEM solvers need the shared lib.

For this reason, you may try run "wmake" in the folder:

/home/USER/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle

as it will produce the shared library:
LIB = $(FOAM_USER_LIBBIN)/lib$(CFDEM_LIB_NAME)

If it passes the wmake, then go to application src folder:
/home/USER/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/applications

and "wmake" the solver individually.

I hope it helps.

Best,

David Long