mrklein / openfoam-os-x

Patches for OpenFOAM(R) to build it on OS X
93 stars 33 forks source link

v1912 patch doesn't look for paraview.app #51

Closed BrushXue closed 4 years ago

BrushXue commented 4 years ago

First I would like to appreciate your great work. v1912 can compile with 64 bit labels without extra patches. OpenFOAM itself looks good. However the paraview-plugin wasn't compiled.(I looked into the patch, this is not 64-bit label related. It just doesn't link paraview.app)

==> skip paraview-plugin (could not determine target or major.minor version)
    PV_PLUGIN_PATH=???

WARNING: skip ParaView Catalyst (missing or incorrrect ParaView)
======================================================================

I saw that you have config.sh/mac/paraview in version 7 patch which is different. Is there any difference between .org and .com version? Thanks.

mrklein commented 4 years ago

It was a little bit too fast for the previous message.

This patch contains files with function/alias setup for ParaView.

BrushXue commented 4 years ago

I applied the patch but still got the same error

==> skip paraview-plugin (could not determine target or major.minor version)
WARNING: skip ParaView Catalyst (missing or incorrrect ParaView)

The paraview app was found

echo $_paraviews
/Applications/ParaView-5.8.0.app
mrklein commented 4 years ago

If you need paraview-plugin and ParaView Catalyst, you should try building ParaView from sources (this way you have development headers). Since I use built-in ParaView plug-in for visualisation, and do not use Catalyst, it would be difficult for me to test these parts.

BrushXue commented 4 years ago

Yeah you are right. I just need paraFoam command and that's enough. Thanks.

mrklein commented 4 years ago

paraFoam is usable (it falls-back to build-in plug-in automatically). Unfortunately, I do not use paraFoam directly neither on Linux, nor on OS X, I have alias pf='paraFoam -builtin', as, usually, I am quite lazy to build OpenFOAM's plug-in.

BrushXue commented 4 years ago

I am quite lazy to build OpenFOAM's plug-in.

I agree, especially for the OpenCFD version. They are adding so many useless third party libraries to build useless plug-ins and I always disable them on Linux. Anyway, thanks for your great work!