Skip to content

Building Fails when using openmpi #28

@diamog

Description

@diamog

Several errors such as the following occur when building with openmpi:

interfaces/cengpar.cpp: In function ‘void* cengpar_createLocalSplitInput(ngraph, int, int, bool, int, double, agi::etype, agi::part_t*)’:
interfaces/cengpar.cpp:31:86: error: invalid conversion from ‘int’ to ‘MPI_Comm {aka ompi_communicator_t*}’ [-fpermissive]
isOrig,splitFactor,tol,ranks,t);
^
In file included from partition/Diffusive/engpar_diffusive_input.h:5:0,
from partition/engpar.h:5,
from interfaces/cengpar.cpp:4:
partition/engpar_input.h:22:15: note: initializing argument 2 of ‘engpar::SplitInput* engpar::createLocalSplitInput(agi::Ngraph*, MPI_Comm, MPI_Comm, bool, int, double, agi::part_t*, agi::etype)’
SplitInput* createLocalSplitInput(agi::Ngraph* g, MPI_Comm smallComm,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions