cfdemSolverIB not found (other solvers OK)

Submitted by antonm5012 on Fri, 05/16/2014 - 12:00

Hi everyone,

I have a problem with the test twoSpheresGlowinski.
Other tests are working (ErgunMPI, settlingTestMPI, packedBedTemp), so I presume that cfdemSolverPiso and cfdemSolverPisoScalar do work normally.

What could cause a particular solver to be not compiled properly?

The error message says
rm: cannot remove `couplingFiles/*`: no such file of directory (which I presume may not be a real problem)
valgrind: cfdemSolverIB: command not found (4x times)
----
mpirun noticed that the job aborted, but has no info as to the process that caused that situation.

My installation works on VirtualBox, host windows, guest ubuntu.
I would understand if that would be the problem for all of the solvers, but what is so specific about cfdemSolverIB ?

I would appreciate any advise or hint.

Thank you.

Best regards,

Anton

antonm5012 | Fri, 05/16/2014 - 12:04

UPDATE:
if the debug variable is set to "off" then mpirun generates the following error message:
mpirun was unable to launch the specified application as it could not find an executable: cfdemSolverIB

alice's picture

alice | Mon, 05/19/2014 - 10:22

Hello Anton,
as it seems, the solver was not compiled properly. Please go to the solver directory and try to "wmake" it separately. Can you compile the source or are there errors?
Cheers,
Alice

antonm5012 | Tue, 05/20/2014 - 11:43

Thanks for the hint, I thought there was something wrong with the environment variables.

The cfdemSolverIB was indeed not compiled: the compilation terminates with error message meshToMeshNew.H not found.
From my understanding meshToMeshNew.H is included only if OF2.2 is installed, and the variable "version22" is used to check it.

It looks like even though I have OF2.1 installed version22 is still defined.
This may be because I had OF2.2 before and did not clean up properly.

I will post an update once I find the solution.

antonm5012 | Tue, 05/20/2014 - 11:59

After commenting the line where "version22" is defined this is the error message:
cannot find -lfvoptions

antonm5012 | Thu, 05/22/2014 - 11:31

Problem solved by undefining "version22" constant in \etc\OFversion and removing all mentioning of FVOPTIONS in cfdemSolverIB\Make\options.