Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 8798737f authored by Philipp Samfass's avatar Philipp Samfass
Browse files

changed wrapper

parent 5c08c37b
CC=mpicxx
CFLAGS += -fPIC -g -Wall -std=c++11 -I${HOME}/mpi_offloading/offloading_lib
LDFLAGS += -shared -L${HOME}/mpi_offloading/offloading_lib -lmpioffloading
CFLAGS += -fPIC -DCOMMUNICATION_MODE=0 -g -Wall -std=c++11 -I${HOME}/mpi_offloading/smartmpi_lib
LDFLAGS += -shared -L${HOME}/mpi_offloading/smartmpi_lib -lsmartmpi
SRC = Rank.cpp RankControl.cpp Timing.cpp Wrapper.cpp teaMPI.cpp
DEP = Rank.h RankControl.h Timing.h Wrapper.h Logging.h teaMPI.h
......
......@@ -241,10 +241,11 @@ int MPI_Iprobe_offload(int source, int tag, MPI_Comm comm, int *flag, MPI_Status
return ierr;
}
int MPI_Send_offload(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) {
int MPI_Send_offload(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, int rail) {
#if COMMUNICATION_MODE==0
return ompi_send_offload_p2p(buf, count, datatype, translateRank(comm, dest, _comm), tag, comm);
//return ompi_send_offload_p2p(buf, count, datatype, translateRank(comm, dest, _comm), tag, comm, rail);
return ompi_send_offload_p2p(buf, count, datatype, translateRank(comm, dest, _comm), tag, comm, rail);
#elif COMMUNICATION_MODE==1
return ompi_send_offload_rma(buf, count, datatype, translateRank(comm, dest, _comm), tag, comm);
#endif
......@@ -254,8 +255,8 @@ int MPI_Recv_offload(void *buf, int count, MPI_Datatype datatype, int source, in
#if COMMUNICATION_MODE==0
return ompi_recv_offload_p2p(buf, count, datatype, translateRank(comm, source, _comm), tag, comm, stat);
#elif COMMUNICATION_MODE==1
//return ompi_recv_offload_rma(buf, count, datatype, translateRank(comm, source, _comm), tag, comm, stat);
return ompi_recv_offload_p2p(buf, count, datatype, translateRank(comm, source, _comm), tag, comm, stat);
return ompi_recv_offload_rma(buf, count, datatype, translateRank(comm, source, _comm), tag, comm, stat);
//return ompi_recv_offload_p2p(buf, count, datatype, translateRank(comm, source, _comm), tag, comm, stat);
#endif
}
......
......@@ -5,7 +5,7 @@
#define USE_MPI_OFFLOADING
#define COMMUNICATION_MODE 1
//#define COMMUNICATION_MODE 1
/**
* Sets up the MPI library and initialises the process
......
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