CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] problem in installing openfoam-4.1 with metis (https://www.cfd-online.com/Forums/openfoam-installation/195708-problem-installing-openfoam-4-1-metis.html)

naktu November 15, 2017 01:45

problem in installing openfoam-4.1 with metis
 
Hello All,
I am new to CFD. When I am trying to install OpenFOAM-4.1 with metis support on Linux x86_64 architecture, it is giving me following error

Code:

return *reinterpret_cast<mapDistributeBase*>(NULL);
                    ^

scotchDecomp.C(338): error: argument of type "const Foam::label={int64_t={long}} *" is incompatible with parameter of type "const SCOTCH_Num={int} *"
              xadj.begin(),          // verttab, start index per cell into adjncy
              ^

scotchDecomp.C(339): error: argument of type "const Foam::label={int64_t={long}} *" is incompatible with parameter of type "const SCOTCH_Num={int} *"
              &xadj[1],              // vendtab, end index  ,,
              ^

scotchDecomp.C(340): error: argument of type "Foam::label={int64_t={long}} *" is incompatible with parameter of type "const SCOTCH_Num={int} *"
              velotab.begin(),        // velotab, vertex weights
              ^

scotchDecomp.C(343): error: argument of type "const Foam::label={int64_t={long}} *" is incompatible with parameter of type "const SCOTCH_Num={int} *"
              adjncy.begin(),        // edgetab
              ^

scotchDecomp.C(375): error: argument of type "Foam::label={int64_t={long}} *" is incompatible with parameter of type "const SCOTCH_Num={int} *"
              SCOTCH_archCmpltw(&archdat, nProcessors_, processorWeights.begin()),
                                                        ^

scotchDecomp.C(448): error: argument of type "Foam::label={int64_t={long}} *" is incompatible with parameter of type "SCOTCH_Num={int} *"
              finalDecomp.begin() // parttab
              ^

compilation aborted for scotchDecomp.C (code 2)

Please help

naktu November 16, 2017 03:26

Hello All,
I tried few things, when I change WM_LABEL_SIZE=32. The application gets compiled without the scotchDecomp error. But I want to install for WM_LABEL_SIZE=64.

Please help.

Thank You

wyldckat December 30, 2017 11:19

Quick questions:
  1. Have you managed to solve this problem?
  2. If not, then which Linux Distribution are you using?
  3. Are you trying to build Scotch or Metis? I ask this because in some places you mention Metis and others the output refers to Scotch.


All times are GMT -4. The time now is 16:27.