Compiling error with Parscale and CFDEM

Submitted by vkoppejan on
Attachment Size
2_usage_1_introductioninstallation.pdf 554.94 KB
tforg

Hi,

Have you checked your additional libs (src/lagrangian/cfdemParticle/etc/addiationalLibs)? Have you set your PASCAL_LIB_NAME in your .bashrc?

Are you sure LIGGGHTS/ParScale is working (e.g. tried the test cases) fine? Also attaching the complete compilation output might help.

Cheers,
Thomas

Tue, 19 Apr 2016 - 08:43 Permalink

Hi Everyone,

I'm getting this error when I'm trying to compile the CFDEM solvers (using cfdemCompCFDEMsol). The src does compile. ( replaces my own username).

/home//OpenFOAM/-3.0.0/platforms/linux64GccDPInt32Opt/lib/liblagrangianCFDEM-PUBLIC-3.0.0.so: undefined reference to `PASCAL_NS::ParScale::set_input(char const*)'

/home//OpenFOAM/-3.0.0/platforms/linux64GccDPInt32Opt/lib/liblagrangianCFDEM-PUBLIC-3.0.0.so: undefined reference to `PASCAL_NS::ParScale::~ParScale()'

/home//OpenFOAM/-3.0.0/platforms/linux64GccDPInt32Opt/lib/liblagrangianCFDEM-PUBLIC-3.0.0.so: undefined reference to `PASCAL_NS::ParScale::runCommand(char const*)'

/home//OpenFOAM/-3.0.0/platforms/linux64GccDPInt32Opt/lib/liblagrangianCFDEM-PUBLIC-3.0.0.so: undefined reference to `PASCAL_NS::ParScale::ParScale(int, char**, ompi_communicator_t*, void*)'

/home/OpenFOAM/-3.0.0/platforms/linux64GccDPInt32Opt/lib/liblagrangianCFDEM-PUBLIC-3.0.0.so: undefined reference to `PASCAL_NS::ParScale::set_dir(char const*)'

/home//OpenFOAM/-3.0.0/platforms/linux64GccDPInt32Opt/lib/liblagrangianCFDEM-PUBLIC-3.0.0.so: undefined reference to `PASCAL_NS::ParScale::input()'

I'm using the installation guide in the file attached and I compile lights with the cfdemCompLIG script. Both LIGGGHTS and ParScale compile withour errors. It's been a while since I compiled everything but I think this is a new error for me.

Any thoughts? Thanks in advance for your help.

Cheers,

Victor