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
Attachment | Size |
---|---|
2_usage_1_introductioninstallation.pdf | 554.94 KB |
tforg | Tue, 04/19/2016 - 08:43
Hi,
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
sradl1981 | Mon, 02/06/2017 - 17:06
COMPILING ERROR WITH PARSCALE AND CFDEM
...the latest release of ParScale / LIGGGHTS / CFDEM has fixed most compilation problems - just ensure you link the relevant libraries to the solver such that no undefined references exist.