Revision 4060392b0c16e8285bfc28f4b6581cf268c36b02 authored by Lars Bilke on 17 May 2021, 09:19:32 UTC, committed by Dmitry Yu. Naumov on 18 May 2021, 17:22:10 UTC
Better parallelization of the build:

There are two job pools:

- light_tasks on most systems will utilize all available logical cores
  (default)
- heavy_tasks requires 4 GB of free memory per job, is used for all
  processes. Could be optimized by introducing another pool with less
  memory requirements (medium_tasks) and use it in the more simple
  processes.
1 parent fee75ce
Raw File
CreateProcessData.h
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 */

#pragma once

#include "ProcessData.h"

namespace ProcessLib
{
std::vector<std::unique_ptr<ProcessData>> createPerProcessData(
    BaseLib::ConfigTree const& config,
    std::vector<std::unique_ptr<Process>> const& processes,
    std::map<std::string, std::unique_ptr<NumLib::NonlinearSolverBase>> const&
        nonlinear_solvers);

}  // namespace ProcessLib
back to top