33 throw std::runtime_error(
"Error! The mango::optimize() subroutine should only be called by group leaders, not by all workers.");
45 MPI_Bcast(&
N_parameters, 1, MPI_INT, 0, mpi_comm_group_leaders);
48 MPI_Bcast(&
algorithm, 1, MPI_INT, 0, mpi_comm_group_leaders);
54 throw std::runtime_error(
"Error! A MANGO algorithm was chosen that requires bound constraints, but bound constraints were not set.");
57 #define star_line "*******************************************************************************************************"
59 std::cerr <<
"WARNING! Bound constraints were set, but an algorithm was chosen that does not allow bound constraints." << std::endl;
60 std::cerr <<
"Therefore, the bound constraints will be ignored for this calculation." << std::endl;