Skip to content
Snippets Groups Projects
Commit f9ab913c authored by Marcin Kirsz's avatar Marcin Kirsz
Browse files

Update

parent 89ac66ec
No related branches found
No related tags found
No related merge requests found
Pipeline #43205 passed
Pipeline: Tadah.MLIP

#43206

    ...@@ -326,11 +326,11 @@ class MPI_Trainer_WORKER { ...@@ -326,11 +326,11 @@ class MPI_Trainer_WORKER {
    if (tr.rows_available!=0) { throw std::runtime_error("Attempting to release a worker... but the worker requires more data!!");} if (tr.rows_available!=0) { throw std::runtime_error("Attempting to release a worker... but the worker requires more data!!");}
    return true; return true;
    } }
    bool wait_tag() { void wait_tag() {
    int temp; int temp;
    MPI_Recv (&temp, 1, MPI_INT, tr.worker, tr.tag, MPI_COMM_WORLD, &status); MPI_Recv (&temp, 1, MPI_INT, tr.worker, tr.tag, MPI_COMM_WORLD, &status);
    } }
    bool data_tag() { void data_tag() {
    // other worker is giving me some data // other worker is giving me some data
    int arr_size; int arr_size;
    MPI_Get_count(&status, MPI_DOUBLE, &arr_size); MPI_Get_count(&status, MPI_DOUBLE, &arr_size);
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment