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

update

parent 897a00c5
No related branches found
No related tags found
No related merge requests found
Pipeline #43415 passed
Pipeline: Tadah.MLIP

#43416

    ......@@ -78,6 +78,7 @@ extern "C" void pdgemv_(char* transa, int* m, int* n, double* alpha, double* a,
    class MPI_Trainer: public Trainer {
    public:
    const static int CONFIG_TAG = 4;
    const static int WAIT_TAG = 3;
    const static int RELEASE_TAG = 2;
    const static int DATA_TAG = 1;
    ......@@ -414,6 +415,13 @@ class MPI_Trainer_HOST {
    MPI_Trainer::WAIT_TAG, MPI_COMM_WORLD);
    }
    }
    void config_tag() {
    int ready;
    MPI_Recv (&ready, 1, MPI_INT, tr.worker,
    MPI_Trainer::CONFIG_TAG, MPI_COMM_WORLD, &tr.status);
    MPI_Send (1, 1, MPI_INT, tr.worker,
    MPI_Trainer::CONFIG_TAG, MPI_COMM_WORLD);
    }
    };
    class MPI_Trainer_WORKER {
    ......
    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