Skip to content

Use a single step setup for C++-API and all bindings #366

@BenjaminRodenberg

Description

@BenjaminRodenberg

Currently, some bindings (C++, Python) use a two step setup, where first the SolverInterface object is created and then the SolverInterface is configured:

SolverInterface( String participantName, int rank, int size );
configure( String configuration );

Other bindings (C, Fortran) use a single step setup:

precicec_createSolverInterface(participantName, configuration, rand, size);

This is not consistent and (at least for me) there is no obvious reason why a two-step setup is necessary. Therefore, let's change all bindings to use a one step setup.

Note: If we want to have this change in v1.x, we have to maintain the API and therefore have to provide the two step setup. Only in v2.0 we can entirely get rid of the two-step setup.

Metadata

Metadata

Assignees

Labels

breaking changeBreaks backwards compatibility and users need to act

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions