Commit 0912ebb6 authored by Philipp Samfass's avatar Philipp Samfass

adapted to new rail implementation

parent 53b1b4c1
......@@ -390,11 +390,12 @@ def renderJobScript(jobScriptTemplate,jobScriptBody,jobs,
# put optional sweep options in context
context["mail"] = jobs["mail"]
context["ranksPerNode"] = ranksPerNode
context["ranksPerNode"] = ranksPerNode
context["time"] = jobs["time"]
context["class"] = jobClass
context["islands"] = islands
context["coresPerRank"] = str( int ( int(jobs["num_cpus"]) / int(ranksPerNode) ) )
context["cores"] = cores
context["serversPerRank"] = serversPerRank
# now verify template parameters are defined in options file
......
......@@ -4193,30 +4193,32 @@ void exahype::solvers::ADERDGSolver::sendMigratablePredictionJobOffload(
double timing = -MPI_Wtime();
int rail = get_next_rail();
if(metadata != nullptr) {
//ierr = MPI_Send_offload(metadata, 2*DIMENSIONS+3, MPI_DOUBLE, dest, tag, comm, tid);
ierr = MPI_Send_offload(metadata, 2*DIMENSIONS+3, MPI_DOUBLE, dest, tag, comm, tag);
ierr = MPI_Send_offload(metadata, 2*DIMENSIONS+3, MPI_DOUBLE, dest, tag, comm, rail);
assertion(ierr==MPI_SUCCESS);
}
assertion(luh!=NULL);
//ierr = MPI_Send_offload(luh, getDataPerCell(), MPI_DOUBLE, dest, tag, comm, tid);
ierr = MPI_Send_offload(luh, getDataPerCell(), MPI_DOUBLE, dest, tag, comm, tag);
ierr = MPI_Send_offload(luh, getDataPerCell(), MPI_DOUBLE, dest, tag, comm, rail);
assertion(ierr==MPI_SUCCESS);
assertion(lduh!=NULL);
//ierr = MPI_Send_offload(lduh, getUpdateSize(), MPI_DOUBLE, dest, tag, comm, tid);
ierr = MPI_Send_offload(lduh, getUpdateSize(), MPI_DOUBLE, dest, tag, comm, tag);
ierr = MPI_Send_offload(lduh, getUpdateSize(), MPI_DOUBLE, dest, tag, comm, rail);
assertion(ierr==MPI_SUCCESS);
assertion(lQhbnd!=NULL);
//ierr = MPI_Send_offload(lQhbnd, getBndTotalSize(), MPI_DOUBLE, dest, tag, comm, tid);
ierr = MPI_Send_offload(lQhbnd, getBndTotalSize(), MPI_DOUBLE, dest, tag, comm, tag);
ierr = MPI_Send_offload(lQhbnd, getBndTotalSize(), MPI_DOUBLE, dest, tag, comm, rail);
assertion(ierr==MPI_SUCCESS);
assertion(lFhbnd!=NULL);
//ierr = MPI_Send_offload(lFhbnd, getBndFluxTotalSize(), MPI_DOUBLE, dest, tag, comm, tid);
ierr = MPI_Send_offload(lFhbnd, getBndFluxTotalSize(), MPI_DOUBLE, dest, tag, comm, tag);
ierr = MPI_Send_offload(lFhbnd, getBndFluxTotalSize(), MPI_DOUBLE, dest, tag, comm, rail);
assertion(ierr==MPI_SUCCESS);
timing += MPI_Wtime();
......
Subproject commit 46a171712cc0abe7606d9be6ff47551097d3359f
Subproject commit f00eadbfe2f9c1847fd14b4c639bf2b032047d75
Subproject commit 048c2666c63deed3c9caf522113e15ad982741f0
Subproject commit 8824dc26c219abcb43564dd9386fe1a88f938344
Subproject commit 786867a47cdff625ebdab9fa1dbfe65a0c7e1924
Subproject commit 91a404073acac40a7945bf7d584e8b30bc7a08cb
Subproject commit c870d5f5f78db4c0f6de69084216ce5f1a3b82fa
Subproject commit 601168ca8aa41f39cf46953a6bee89e7c6f127a4
Subproject commit 724205cb0e2005399159ae23d880819f2fc2380f
Subproject commit 5f179762c71b0343aa473eb1ec36e22f1826ad40
Subproject commit 32b2a46f04e7752b5aedb05f0e1b3864e16fcee3
Subproject commit 3c8614dcb488991c1659d5e337f4f6d6338ada8b
Subproject commit ff4b6490b194a81d78ebd7c667e1acba405ac1a3
Subproject commit bc4a122eb16f90c95c3b80679954cec473f3afb0
Subproject commit 3a3db7510b33eb22c63ad94bc735a9032949249f
Subproject commit aa4e90bcd7b7bc13a71dfaebcb2021f4caaa8432
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment