add_executable(exscan2 exscan2.c)
add_executable(exscan exscan.c)
add_executable(gather2 gather2.c)
+ add_executable(gather_big gather_big.c)
add_executable(gather gather.c)
# add_executable(iallred iallred.c)
# add_executable(ibarrier ibarrier.c)
add_executable(longuser longuser.c)
# add_executable(nonblocking2 nonblocking2.c)
# add_executable(nonblocking3 nonblocking3.c)
-# add_executable(nonblocking4 nonblocking4.c)
# add_executable(nonblocking nonblocking.c)
# add_executable(opband opband.c)
# add_executable(opbor opbor.c)
target_link_libraries(allgather2 simgrid mtest_c)
target_link_libraries(allgather3 simgrid mtest_c)
+ target_link_libraries(allgather_struct simgrid mtest_c)
target_link_libraries(allgatherv2 simgrid mtest_c)
target_link_libraries(allgatherv3 simgrid mtest_c)
target_link_libraries(allgatherv4 simgrid mtest_c)
- target_link_libraries(allgather_struct simgrid mtest_c)
target_link_libraries(allred2 simgrid mtest_c)
target_link_libraries(allred3 simgrid mtest_c)
target_link_libraries(allred4 simgrid mtest_c)
target_link_libraries(exscan2 simgrid mtest_c)
target_link_libraries(exscan simgrid mtest_c)
target_link_libraries(gather2 simgrid mtest_c)
+ target_link_libraries(gather_big simgrid mtest_c)
target_link_libraries(gather simgrid mtest_c)
# target_link_libraries(iallred simgrid mtest_c)
# target_link_libraries(ibarrier simgrid mtest_c)
target_link_libraries(longuser simgrid mtest_c)
# target_link_libraries(nonblocking2 simgrid mtest_c)
# target_link_libraries(nonblocking3 simgrid mtest_c)
-# target_link_libraries(nonblocking4 simgrid mtest_c)
# target_link_libraries(nonblocking simgrid mtest_c)
# target_link_libraries(opband simgrid mtest_c)
# target_link_libraries(opbor simgrid mtest_c)
set(examples_src ${examples_src}
${CMAKE_CURRENT_SOURCE_DIR}/allgather2.c
+ ${CMAKE_CURRENT_SOURCE_DIR}/allgather_struct.c
${CMAKE_CURRENT_SOURCE_DIR}/allgather3.c
${CMAKE_CURRENT_SOURCE_DIR}/allgatherv2.c
${CMAKE_CURRENT_SOURCE_DIR}/allgatherv3.c
${CMAKE_CURRENT_SOURCE_DIR}/exscan2.c
${CMAKE_CURRENT_SOURCE_DIR}/exscan.c
${CMAKE_CURRENT_SOURCE_DIR}/gather2.c
+ ${CMAKE_CURRENT_SOURCE_DIR}/gather_big.c
${CMAKE_CURRENT_SOURCE_DIR}/gather.c
${CMAKE_CURRENT_SOURCE_DIR}/iallred.c
${CMAKE_CURRENT_SOURCE_DIR}/ibarrier.c
${CMAKE_CURRENT_SOURCE_DIR}/nonblocking2.c
${CMAKE_CURRENT_SOURCE_DIR}/nonblocking3.c
${CMAKE_CURRENT_SOURCE_DIR}/nonblocking.c
- ${CMAKE_CURRENT_SOURCE_DIR}/nonblocking4.c
${CMAKE_CURRENT_SOURCE_DIR}/opband.c
${CMAKE_CURRENT_SOURCE_DIR}/opbor.c
${CMAKE_CURRENT_SOURCE_DIR}/opbxor.c
foreach(file cmfree cmsplit2 cmsplit cmsplit_type commcreate1 comm_create_group comm_group_half comm_group_rand
comm_idup comm_idup_overlap comm_idup_mul comm_info commname ctxalloc ctxsplit dup dupic dup_with_info ic1 ic2
- iccreate icgroup icm icsplit probe-intercomm comm_create_group_idup.c comm_idup_comm.c comm_idup_mul.c comm_idup.c comm_idup_iallreduce.c comm_idup_nb.c comm_idup_comm2.c comm_idup_isend.c comm_idup_overlap.c
+ iccreate icgroup icm icsplit probe-intercomm comm_create_group_idup comm_idup_comm comm_idup_mul comm_idup comm_idup_iallreduce comm_idup_nb comm_idup_comm2 comm_idup_isend comm_idup_overlap
)
set(examples_src ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/${file}.c)
endforeach()
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../include/")
foreach(file blockindexed-zero-count contigstruct contig-zero-count cxx-types dataalign gaddress hindexed_block
- hindexed_block_contents large_vec localpack longdouble simple-commit simple-pack simple-resized simple-size-extent
+ hindexed_block_contents hvecblklen large_vec localpack longdouble simple-commit simple-pack simple-resized simple-size-extent
struct-derived-zeros struct-ezhov struct-pack struct-verydeep struct-zero-count tfree transpose-pack tresized2
- tresized typecommit typefree typelb typename unpack zeroblks zeroparms)
+ tresized typecommit typefree typelb typename unpack vecblklen zeroblks zeroparms)
# not compiled files
# blockindexed-misc contents darray-cyclic darray-pack get-elements get-elements-pairtype getpartelm get-struct
- # hindexed-zeros hvecblklen indexed-misc large-count large_type large_type_sendrec lbub lots-of-type pairtype-pack
+ # hindexed-zeros indexed-misc large-count large_type large_type_sendrec lbub lots-of-type pairtype-pack
# pairtype-size-extent segtest simple-pack-external simple-pack-external2 sizedtypes slice-pack slice-pack-external struct-empty-el
- # struct-no-real-type structpack2 subarray subarray-pack tmatchsize triangular-pack unusual-noncontigs vecblklen
+ # struct-no-real-type structpack2 subarray subarray-pack tmatchsize triangular-pack unusual-noncontigs
# zero-blklen-vector
add_executable(${file} ${file}.c)
target_link_libraries(${file} simgrid mtest_c)
{
MPI_Datatype ot, ot2, newtype;
int position, psize, insize, outsize;
- signed char *inbuf = 0, *outbuf = 0, *pbuf = 0, *p;
+ char *inbuf = 0, *outbuf = 0, *pbuf = 0, *p;
int i, j, k;
int errs = 0;
int veccount = 16, stride = 16;
{
MPI_Datatype ot, ot2, newtype;
int position, psize, insize, outsize;
- signed char *inbuf = 0, *outbuf = 0, *pbuf = 0, *p;
+ char *inbuf = 0, *outbuf = 0, *pbuf = 0, *p;
int i, j, k;
int errs = 0;
int veccount = 16, stride = 16;
include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../include/")
- foreach(file anyall bottom eagerdt inactivereq isendself isendirecv isendselfprobe issendselfcancel pingping probenull
- probe-unexp sendall sendflood sendrecv1 sendrecv2 sendrecv3 waitany-null waittestnull )
+ foreach(file anyall bottom eagerdt inactivereq isendself isendirecv isendselfprobe issendselfcancel cancelanysrc pingping probenull
+ dtype_send probe-unexp sendall sendflood sendrecv1 sendrecv2 sendrecv3 waitany-null waittestnull many_isend manylmt recv_any)
# not compiled files: big_count_status bsend1 bsend2 bsend3 bsend4 bsend5 bsendalign bsendfrag bsendpending mprobe
- # cancelrecv greq1 icsend large_message pscancel rcancel rqfreeb rqstatus scancel2 scancel sendself
+ # cancelrecv greq1 icsend large_message pscancel rcancel rqfreeb rqstatus scancel2 scancel sendself scancel_unmatch
add_executable(${file} ${file}.c)
target_link_libraries(${file} simgrid mtest_c)
endforeach()
foreach(file anyall bottom eagerdt inactivereq isendself isendirecv isendselfprobe issendselfcancel pingping probenull
probe-unexp sendall sendflood sendrecv1 sendrecv2 sendrecv3 waitany-null waittestnull
big_count_status bsend1 bsend2 bsend3 bsend4 bsend5 bsendalign bsendfrag bsendpending
- cancelrecv greq1 icsend large_message pscancel rcancel rqfreeb rqstatus scancel2 scancel sendself)
+ cancelrecv cancelanysrc dtype_send greq1 icsend large_message pscancel rcancel rqfreeb rqstatus scancel2 scancel sendself many_isend manylmt mprobe recv_any scancel_unmatch
+)
set(examples_src ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/${file}.c)
endforeach()
printf(" No Errors\n");
MPI_Finalize();
+ return 0;
}
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
- int source = 0;
- int dest = size - 1;
if (rank == 0) {
a = 10;
#large_message 3
mprobe 2 mpiversion=3.0
big_count_status 1 mpiversion=3.0
+many_isend 3
+manylmt 2
+#Needs MPI_Irsend
+#dtype_send 2
+recv_any 2