csoulain/porousMedia4Foam

Compilation errors

Closed this issue · 3 comments

I have several error during compilation (OpenFOAM v7):

./Allwmake
porousInterfaceProperties & porousImmiscibleIncompressiveTwoPhaseMixture:
image

toolsGIS:
image

porousBoundaryConditions:
image

dbsSimpleFoam & dbsFoam
image

hybridPorousFoam
image

Do you have any advice for me ?

Thank you for all,

Many thanks for your answer !

Tests cases are all ok (master & OpenFoam 8) !

However, I have this information repeated several times during compilation:
cannot find -lporousModels

and in the log.darcyFoam (tutorials/darcyFoam-tutorials/SPE10)
I have:
./run: 93: ./run: darcyFoam: not found

the same for log.impesFoam (tutorials/impesFoam-tutorials/injectionExtraction/extraction)

Despite tests, I think the installation failed right ?

In the platforms/linux64GccDPInt32Opt/lib i have:
image

and the /bin is empty !

Maybe the first problems come from here ?
image

Ok,

I have installed pm4f on another computer and all is fine,

Maybe the error come from 'anaconda3/.../gcc/...' or something related to path.

Someone had a similar problem:
https://www.cfd-online.com/Forums/openfoam-installation/245070-lib-files-issues-of2206-ubuntu-22-04-wsl2.html