CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   OpenFOAM-2.1.1 simpleFoam turbineSiting example ... (

Chatur Ramalingum November 13, 2012 19:00

OpenFOAM-2.1.1 simpleFoam turbineSiting example ...
Hello All,
I am having a problem with the turbineSiting tutorial in OpenFAM-2.1.1. The specific problem concerns the use of ptscotch in snappyHexMesh, and redistributePar. The errors are due to internal errors (2) in SCOTCH_dgraphInit. Specifically, here is the error message:

(0): (1): (2): (3): ERROR: ERROR: ERROR: ERROR: SCOTCH_dgraphInit: internal error (2)SCOTCH_dgraphInit: internal error (2)SCOTCH_dgraphInit: internal error (2)SCOTCH_dgraphInit: internal error (2)

The above error message is from these lines in library_dgraph.c:

SCOTCH_dgraphInit (
SCOTCH_Dgraph * const grafptr,
MPI_Comm proccomm) /* Communicator to be used for all communications */
if (graphPtscotch () != 1) {
errorPrint ("SCOTCH_dgraphInit: linking with both libScotch and libPTScotch is not allowed");
return (1);
if (sizeof (SCOTCH_Num) != sizeof (Gnum)) {
errorPrint ("SCOTCH_dgraphInit: internal error (1)");
return (1);
if (sizeof (SCOTCH_Dgraph) < sizeof (Dgraph)) {
errorPrint ("SCOTCH_dgraphInit: internal error (2)");
return (1);


return (dgraphInit ((Dgraph *) grafptr, proccomm));

If any of you have encountered this problem could you please let me know if you have a workaround.


k.kshitij December 7, 2016 03:30

Hi please do post the solution, if you have solved this problem, cuz I am facing the same.

All times are GMT -4. The time now is 12:51.