| Attachment | Size |
|---|---|
| cfdemcomplog.txt | 167.18 KB |
Forums
Hi all,
I'm trying to compile CFDEM on CentOS 7 (in an OpenNebula VM).
I've compiled OF 30x and LIGGGHTs from source and they are working.
I'm using additionalLibs_30x and I've adapted the OFversion.H file
Error appears to be due to mpi version / location.
MPI is load though module load, which is load through ~/.bashrc ("module load mpi/openmpi-x86_64").
I think I have to adapt the makefile for the mpi locations and libs. Any tips on this?
I now there's a distro-agnostic approach but there they compile mpi from source. I was hoping to avoid that.
Thanks in advance for your help.
Cheers,
Victor
Hi Victor,
Hi Victor,
which compilation-script was used?
Please try again with cfdemCompCFDEMall to make sure the LIGGGHTS libraries are compiled correctly.
Cheers
Josef
Not really your fault ...
Hi Victor,
that looks like an error, I fixed a few day ago in our development version. It is due to your newer compiler.
Either you wait for the next release, which may take a while, since the last one was just 2 months ago. Or you change some lines in the code ...
In the forceSubModel you have to change the label& index into const label& index for the functions partToArray, partToArrayAnisotropic and partToArrayAnisotropicTorque. (in both files *.H and *.C)
On this occasion you can also change the vector& dratTot, vector& CdExtra and vector& CdTorque to const, too.
Bests
Andreas
Hi Andreas
>> change the
label& indexintoconst label& indexHow about just
label index;-)Cheers
Daniel
Thanks for the replies
Thanks for the replies,
will this also solve the unfound mpi messages at the top and the' /usr/bin/ld: cannot find -llagrangianCFDEM-PUBLIC-3.0.x' further down in the code?