gpart: contradiction between OpenFOAM's scotch documentation and makeSCOTCH
The documentation says on point 6 that the gpart executable can be called from
$SCOTCH_ARCH_PATH/bin but the binaries of the scotch library are not built by the makeSCOTCH script.
My personal workaround was to modify the make command from
make libscotch to
make because the libscotch directive excludes the binaries. I also eliminate the
rm on the compiled bin folder. I'm attaching a patch file, although I'm not sure this is the type of solution the developers are looking for (I've read that a the binaries cannot be built with a renamed scotch).
Steps to reproduce
Taken from step 6. here:
source $(foamEtcFile config.sh/scotch) export PATH=$PATH:$SCOTCH_ARCH_PATH/bin gpart
A case is not necessary because the gpart binary is not compiled.
What is the current bug behaviour?
No gpart binary is available when compiled from $WM_THIRD*
What is the expected correct behavior?
A gpart binary should be in
Relevant logs and/or images
OpenFOAM version : v1912 ( OpenFOAM-v1912.200403 ) [I think the issue affects many versions]
Operating system : ubuntu 20.04
See attachment (the same trick does not work for ptscotch).makeSCOTCH.patch