teshsuite/simix/check_defaults/check_defaults
teshsuite/simix/stack_overflow/stack_overflow
teshsuite/smpi/coll-allgather/coll-allgather
-teshsuite/smpi/allgatherv/allgatherv_coll
-teshsuite/smpi/allgatherv_coll
+teshsuite/smpi/coll-allgatherv/coll-allgatherv
teshsuite/smpi/allreduce/allreduce
teshsuite/smpi/allreduce/allreduce_coll
teshsuite/smpi/allreduce_coll
teshsuite/smpi/alltoall/alltoall_coll
teshsuite/smpi/alltoall_basic
teshsuite/smpi/alltoall_coll
-teshsuite/smpi/alltoallv/alltoallv
-teshsuite/smpi/alltoallv/alltoallv_coll
-teshsuite/smpi/alltoallv_coll
-teshsuite/smpi/barrier/barrier_coll
-teshsuite/smpi/barrier_coll
+teshsuite/smpi/coll-alltoallv/coll-alltoallv
teshsuite/smpi/coll-bcast/coll-bcast
+teshsuite/smpi/coll-barrier/coll-barrier
+teshsuite/smpi/coll-gather/coll-gather
teshsuite/smpi/compute/compute
teshsuite/smpi/compute/compute2
teshsuite/smpi/compute/compute3
teshsuite/smpi/dsend
-teshsuite/smpi/gather_coll
-teshsuite/smpi/gather/gather_coll
teshsuite/smpi/type-hvector/type-hvector
teshsuite/smpi/type-indexed/type-indexed
teshsuite/smpi/isp/umpire/abort
teshsuite/smpi/reduce/reduce_coll
teshsuite/smpi/reduce/reduce_scatter_coll
teshsuite/smpi/reduce_scatter_coll
-teshsuite/smpi/scatter/scatter
+teshsuite/smpi/coll-scatter/coll-scatter
teshsuite/smpi/shared/shared
teshsuite/smpi/smpi_sendrecv
teshsuite/smpi/split
teshsuite/surf/surf_usage/surf_usage2
teshsuite/surf/trace_usage/trace_usage
teshsuite/xbt/heap_bench/heap_bench
-teshsuite/xbt/log_large/log_large_test
-teshsuite/xbt/log_large_test
+teshsuite/xbt/log_large/log_large
teshsuite/xbt/log_usage/log_usage
teshsuite/xbt/mallocator/mallocator
teshsuite/xbt/mmalloc/mmalloc_test
endif()
include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
- foreach(x coll-allgather coll-bcast type-hvector type-indexed type-struct type-vector)
+ foreach(x coll-allgather coll-allgatherv coll-alltoallv coll-barrier coll-bcast coll-gather coll-scatter
+ type-hvector type-indexed type-struct type-vector)
add_executable (${x} ${x}/${x}.c)
target_link_libraries(${x} simgrid)
set_target_properties(${x} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${x})
ADD_TESH(tesh-smpi-coll-allgather-${ALLGATHER_COLL} --cfg smpi/allgather:${ALLGATHER_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/coll-allgather --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/coll-allgather coll-allgather.tesh)
endforeach()
+ foreach (ALLGATHERV_COLL GB pair ring ompi mpich ompi_neighborexchange ompi_bruck mpich_rdb mpich_ring mvapich2 impi)
+ ADD_TESH(tesh-smpi-coll-allgatherv-${ALLGATHERV_COLL} --cfg smpi/allgatherv:${ALLGATHERV_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/coll-allgatherv --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/coll-allgatherv coll-allgatherv.tesh)
+ endforeach()
+
+ foreach (ALLTOALLV_COLL pair pair_light_barrier pair_mpi_barrier pair_one_barrier ring ring_light_barrier
+ ring_mpi_barrier ring_one_barrier bruck ompi mpich mvapich2 ompi_basic_linear impi)
+ ADD_TESH(tesh-smpi-coll-alltoallv-${ALLTOALLV_COLL} --cfg smpi/alltoallv:${ALLTOALLV_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/coll-alltoallv --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/coll-alltoallv coll-alltoallv.tesh)
+ endforeach()
+
+ foreach (BARRIER_COLL ompi mpich ompi_basic_linear ompi_tree ompi_bruck ompi_recursivedoubling ompi_doublering mvapich2_pair mvapich2 impi)
+ ADD_TESH(tesh-smpi-coll-barrier-${BARRIER_COLL} --cfg smpi/barrier:${BARRIER_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/coll-barrier --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/coll-barrier coll-barrier.tesh)
+ endforeach()
+
foreach (BCAST_COLL arrival_pattern_aware arrival_pattern_aware_wait arrival_scatter binomial_tree flattree
flattree_pipeline NTSB NTSL NTSL_Isend scatter_LR_allgather scatter_rdb_allgather SMP_binary
SMP_binomial SMP_linear ompi mpich ompi_split_bintree ompi_pipeline mvapich2 mvapich2_intra_node
mvapich2_knomial_intra_node impi)
ADD_TESH(tesh-smpi-coll-bcast-${BCAST_COLL} --cfg smpi/bcast:${BCAST_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/coll-bcast --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/coll-bcast coll-bcast.tesh)
endforeach()
+
+ foreach (GATHER_COLL ompi mpich ompi_basic_linear ompi_linear_sync ompi_binomial mvapich2 mvapich2_two_level impi)
+ ADD_TESH(tesh-smpi-coll-gather-${GATHER_COLL} --cfg smpi/gather:${GATHER_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/coll-gather --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/coll-gather coll-gather.tesh)
+ endforeach()
+
+ foreach (SCATTER_COLL ompi mpich ompi_basic_linear ompi_binomial mvapich2 mvapich2_two_level_binomial mvapich2_two_level_direct impi)
+ ADD_TESH(tesh-smpi-coll-scatter-${SCATTER_COLL} --cfg smpi/scatter:${SCATTER_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/coll-scatter --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/coll-scatter coll-scatter.tesh)
+ endforeach()
endif()
-set(bin_files ${bin_files} ${CMAKE_CURRENT_SOURCE_DIR}/hostfile
- ${CMAKE_CURRENT_SOURCE_DIR}/hostfile_coll PARENT_SCOPE)
+
+set(bin_files ${bin_files} ${CMAKE_CURRENT_SOURCE_DIR}/hostfile
+ ${CMAKE_CURRENT_SOURCE_DIR}/hostfile_coll PARENT_SCOPE)
set(teshsuite_src ${teshsuite_src} PARENT_SCOPE)
set(tesh_files ${tesh_files} PARENT_SCOPE)
+++ /dev/null
-if(enable_smpi)
- if(WIN32)
- set(CMAKE_C_FLAGS "-include ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi_main.h")
- else()
- set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc")
- endif()
- include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
-
- add_executable (allgatherv_coll allgatherv_coll.c)
- target_link_libraries(allgatherv_coll simgrid)
-endif()
-
-
-set(tesh_files
- ${tesh_files}
- ${CMAKE_CURRENT_SOURCE_DIR}/allgatherv_coll.tesh
- PARENT_SCOPE)
-set(examples_src
- ${examples_src}
- ${CMAKE_CURRENT_SOURCE_DIR}/allgatherv_coll.c
- PARENT_SCOPE)
+++ /dev/null
-if(enable_smpi)
- if(WIN32)
- set(CMAKE_C_FLAGS "-include ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi_main.h")
- else()
- set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc")
- endif()
- include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
-
- add_executable (alltoallv_coll alltoallv_coll.c)
- target_link_libraries(alltoallv_coll simgrid)
-endif()
-
-
-set(tesh_files
- ${tesh_files}
- ${CMAKE_CURRENT_SOURCE_DIR}/alltoallv_coll.tesh
- PARENT_SCOPE)
-set(examples_src
- ${examples_src}
- ${CMAKE_CURRENT_SOURCE_DIR}/alltoallv_coll.c
- PARENT_SCOPE)
+++ /dev/null
-if(enable_smpi)
- if(WIN32)
- set(CMAKE_C_FLAGS "-include ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi_main.h")
- else()
- set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc")
- endif()
- include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
-
- add_executable (barrier_coll barrier.c)
- target_link_libraries(barrier_coll simgrid)
-endif()
-
-set(tesh_files
- ${tesh_files}
- ${CMAKE_CURRENT_SOURCE_DIR}/barrier_coll.tesh
- PARENT_SCOPE)
-set(examples_src
- ${examples_src}
- ${CMAKE_CURRENT_SOURCE_DIR}/barrier.c
- PARENT_SCOPE)
int main(int argc, char *argv[])
{
- int rank, size;
- int i;
- int *sb;
- int *rb;
- int *recv_counts;
- int *recv_disps;
+ int i,rank, size;
+ int *sb, *rb;
+ int *recv_counts, *recv_disps;
int recv_sb_size;
int status;
recv_counts = (int *) xbt_malloc(size * sizeof(int));
recv_disps = (int *) xbt_malloc(size * sizeof(int));
-
+
recv_sb_size = 0;
for (i = 0; i < size; i++) {
recv_counts[i] = i + 1;
- recv_disps[i] = recv_sb_size;
+ recv_disps[i] = recv_sb_size;
recv_sb_size += i + 1;
}
printf("%d ", rb[i]);
printf("]\n");
-
if (rank == 0) {
if (status != MPI_SUCCESS) {
printf("allgatherv returned %d\n", status);
! output sort
p Test allgatherv
-$ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile_coll -platform ../../../examples/platforms/small_platform.xml -np 16 --log=xbt_cfg.thres:critical ${bindir:=.}/allgatherv_coll --log=smpi_kernel.thres:warning --log=smpi_coll.thres:error
+$ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile_coll -platform ../../../examples/platforms/small_platform.xml -np 16 --log=xbt_cfg.thres:critical ${bindir:=.}/coll-allgatherv --log=smpi_kernel.thres:warning --log=smpi_coll.thres:error
> [rank 0] -> Tremblay
> [rank 1] -> Tremblay
> [rank 2] -> Tremblay
* See COPYRIGHT in top-level directory.
*/
#include <string.h>
-
#include <stdlib.h>
#include <stdio.h>
#include "mpi.h"
-/*
- This program tests MPI_Alltoallv by having processor i send different
- amounts of data to each processor.
-
- Because there are separate send and receive types to alltoallv,
- there need to be tests to rearrange data on the fly. Not done yet.
+/* This program tests MPI_Alltoallv by having processor i send different amounts of data to each processor.
+ TODO As there are separate send and receive types to alltoallv, there need to be tests to rearrange data on the fly.
The first test sends i items to processor i from all processors.
+ Currently, the test uses only MPI_INT; this is adequate for testing systems that use point-to-point operations
- Currently, the test uses only MPI_INT; this is adequate for testing systems
- that use point-to-point operations
- */
-
-
-/* example values:
- * For 3 processes:
+ Example values for 3 processes:
* <0> sbuf: (#9): [0][1][2][3][4][5][6][7][8]
<0> scount: (#3): [0][1][2]
<0> rcount: (#3): [0][0][0]
<2> rbuf: (#9): [3][4][103][104][203][204][-1][-1][-1]
*/
-
static void print_buffer_int(void *buf, int len, char *msg, int rank)
{
int tmp, *v;
int main(int argc, char **argv)
{
-
MPI_Comm comm;
int *sbuf, *rbuf;
- int rank, size;
+ int i,rank, size;
int *sendcounts, *recvcounts, *rdispls, *sdispls;
- int i;
MPI_Init(&argc, &argv);
rdispls[i] = i * rank;
sdispls[i] = (i * (i + 1)) / 2;
}
-
+
print_buffer_int( sbuf, size*size, strdup("sbuf:"),rank);
print_buffer_int( sendcounts, size, strdup("scount:"),rank);
print_buffer_int( recvcounts, size, strdup("rcount:"),rank);
print_buffer_int( sdispls, size, strdup("sdisp:"),rank);
print_buffer_int( rdispls, size, strdup("rdisp:"),rank);
-
- MPI_Alltoallv(sbuf, sendcounts, sdispls, MPI_INT,
- rbuf, recvcounts, rdispls, MPI_INT, comm);
+
+ MPI_Alltoallv(sbuf, sendcounts, sdispls, MPI_INT, rbuf, recvcounts, rdispls, MPI_INT, comm);
print_buffer_int( rbuf, size*size, strdup("rbuf:"),rank);
! output sort
p Test all to all
-$ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile_coll -platform ../../../examples/platforms/small_platform.xml -np 16 --log=xbt_cfg.thres:critical ${bindir:=.}/alltoallv_coll --log=smpi_kernel.thres:warning --log=smpi_coll.thres:error
+$ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile_coll -platform ../../../examples/platforms/small_platform.xml -np 16 --log=xbt_cfg.thres:critical ${bindir:=.}/coll-alltoallv --log=smpi_kernel.thres:warning --log=smpi_coll.thres:error
> [rank 0] -> Tremblay
> [rank 1] -> Tremblay
> [rank 2] -> Tremblay
#include <stdio.h>
#include <mpi.h>
-
int main(int argc, char **argv)
{
int size, rank;
- //double start_timer;
MPI_Init(&argc, &argv);
MPI_Comm_size(MPI_COMM_WORLD, &size);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
- //start_timer = MPI_Wtime();
-
MPI_Barrier(MPI_COMM_WORLD);
- MPI_Barrier(MPI_COMM_WORLD);
if (0 == rank) {
printf("... Barrier ....\n");
- //printf("Elapsed=%f s\n", MPI_Wtime() - start_timer);
}
MPI_Finalize();
! output sort
p Test barrier
-$ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile_coll -platform ../../../examples/platforms/small_platform.xml -np 16 --log=xbt_cfg.thres:critical ${bindir:=.}/barrier_coll --log=smpi_kernel.thres:warning --log=smpi_coll.thres:error
+$ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile_coll -platform ../../../examples/platforms/small_platform.xml -np 16 --log=xbt_cfg.thres:critical ${bindir:=.}/coll-barrier --log=smpi_kernel.thres:warning --log=smpi_coll.thres:error
> ... Barrier ....
> [rank 0] -> Tremblay
> [rank 1] -> Tremblay
int main(int argc, char *argv[])
{
- int rank, size;
- int i;
- int *sb;
- int *rb;
+ int i, rank, size;
+ int *sb, *rb;
int status;
int root = 0;
status = MPI_Gather(sb, count, MPI_INT, rb, count, MPI_INT, root, MPI_COMM_WORLD);
if (rank == root) {
- printf("[%d] rcvbuf=[", rank);
- for (i = 0; i < count * size; i++)
- printf("%d ", rb[i]);
- printf("]\n");
-
+ printf("[%d] rcvbuf=[", rank);
+ for (i = 0; i < count * size; i++)
+ printf("%d ", rb[i]);
+ printf("]\n");
if (status != MPI_SUCCESS) {
printf("allgather returned %d\n", status);
! timeout 30
p Test all to all
-$ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile_coll -platform ../../../examples/platforms/small_platform.xml -np 16 --log=xbt_cfg.thres:critical ${bindir:=.}/gather_coll --log=smpi_kernel.thres:warning --log=smpi_coll.thres:error
+$ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile_coll -platform ../../../examples/platforms/small_platform.xml -np 16 --log=xbt_cfg.thres:critical ${bindir:=.}/coll-gather --log=smpi_kernel.thres:warning --log=smpi_coll.thres:error
> [rank 0] -> Tremblay
> [rank 1] -> Tremblay
> [rank 2] -> Tremblay
* PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS AND IBM
* CORP. HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
* ENHANCEMENTS, OR MODIFICATIONS.
- * ***************************************************************************
**/
#include <stdio.h>
#include <mpi.h>
int *out;
int *in;
-
out = malloc(MAXLEN * 64 * sizeof(int));
in = malloc(MAXLEN * sizeof(int));
for (k = 0; k < j; k++) {
if (in[k] != k + rank * j) {
- fprintf(stderr,
- "task %d bad answer (%d) at index %d k of %d (should be %d)",
- rank, in[k], k, j, (k + rank * j));
+ fprintf(stderr, "task %d bad answer (%d) at index %d k of %d (should be %d)",rank, in[k], k, j, (k + rank * j));
return (0);
}
}
return (success);
}
-/**
- * small test: the root sends a single distinct double to other processes
- **/
+/** small test: the root sends a single distinct double to other processes */
static int small_test(int rank, int size)
{
int success = 1;
}
}
- retval =
- MPI_Scatter(sndbuf, sendcount, MPI_DOUBLE, &rcvd, recvcount,
- MPI_DOUBLE, root, MPI_COMM_WORLD);
+ retval = MPI_Scatter(sndbuf, sendcount, MPI_DOUBLE, &rcvd, recvcount, MPI_DOUBLE, root, MPI_COMM_WORLD);
if (root == rank) {
free(sndbuf);
}
if (retval != MPI_SUCCESS) {
- fprintf(stderr, "(%s:%d) MPI_Scatter() returned retval=%d\n", __FILE__,
- __LINE__, retval);
+ fprintf(stderr, "(%s:%d) MPI_Scatter() returned retval=%d\n", __FILE__, __LINE__, retval);
return 0;
}
// verification
return (success);
}
-
-
int main(int argc, char **argv)
{
int size, rank;
-
MPI_Init(&argc, &argv);
MPI_Comm_size(MPI_COMM_WORLD, &size);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
else
printf("\t[%d] ok.\n", rank);
-
MPI_Barrier(MPI_COMM_WORLD);
/* test 2 */
! output sort
p Test scatter
-$ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile_coll -platform ../../../examples/platforms/small_platform.xml -np 16 --log=xbt_cfg.thres:critical ${bindir:=.}/scatter --log=smpi_kernel.thres:warning --log=smpi_coll.thres:error
+$ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile_coll -platform ../../../examples/platforms/small_platform.xml -np 16 --log=xbt_cfg.thres:critical ${bindir:=.}/coll-scatter --log=smpi_kernel.thres:warning --log=smpi_coll.thres:error
> [0] ok.
> [0] ok.
> [10] ok.
else
fprintf(stderr, "(1)");
fprintf(stderr,
- " [rank:%d] Run the first (locally benched) computation. "
- "It's locally benched, and I want the standard error to go "
- "below 0.1 second (count is not >0)\n", smpi_process_index());
+ " [rank:%d] Run the first (locally benched) computation. It's locally benched, and I want the "
+ "standard error to go below 0.1 second (count is not >0)\n", smpi_process_index());
}
d = compute(d);
}
}
if (verbose)
- fprintf(stderr, "(%12.6f) [rank:%d] The result of the computation is: %f\n",
- MPI_Wtime(), smpi_process_index(), d);
+ fprintf(stderr, "(%12.6f) [rank:%d] The result of the computation is: %f\n", MPI_Wtime(), smpi_process_index(), d);
else
fprintf(stderr, "(2) [rank:%d] Done.\n", smpi_process_index());
+++ /dev/null
-if(enable_smpi)
- if(WIN32)
- set(CMAKE_C_FLAGS "-include ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi_main.h")
- else()
- set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc")
- endif()
- include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
-
- add_executable (gather_coll gather_coll.c)
- target_link_libraries(gather_coll simgrid)
-endif()
-
-
-set(tesh_files
- ${tesh_files}
- ${CMAKE_CURRENT_SOURCE_DIR}/gather_coll.tesh
- PARENT_SCOPE)
-set(examples_src
- ${examples_src}
- ${CMAKE_CURRENT_SOURCE_DIR}/gather_coll.c
- PARENT_SCOPE)
+++ /dev/null
-if(enable_smpi)
- if(WIN32)
- set(CMAKE_C_FLAGS "-include ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi_main.h")
- else()
- set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc")
- endif()
- include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
-
- add_executable (scatter scatter.c)
- target_link_libraries(scatter simgrid)
-endif()
-
-set(tesh_files
- ${tesh_files}
- ${CMAKE_CURRENT_SOURCE_DIR}/scatter_coll.tesh
- PARENT_SCOPE)
-set(examples_src
- ${examples_src}
- ${CMAKE_CURRENT_SOURCE_DIR}/scatter.c
- PARENT_SCOPE)
teshsuite/simix/stack_overflow/CMakeLists.txt
teshsuite/smpi/CMakeLists.txt
- teshsuite/smpi/allgatherv/CMakeLists.txt
teshsuite/smpi/allreduce/CMakeLists.txt
teshsuite/smpi/alltoall/CMakeLists.txt
- teshsuite/smpi/alltoallv/CMakeLists.txt
- teshsuite/smpi/barrier/CMakeLists.txt
teshsuite/smpi/compute/CMakeLists.txt
- teshsuite/smpi/gather/CMakeLists.txt
teshsuite/smpi/pingpong/CMakeLists.txt
teshsuite/smpi/reduce/CMakeLists.txt
- teshsuite/smpi/scatter/CMakeLists.txt
teshsuite/smpi/shared/CMakeLists.txt
teshsuite/smpi/isp/umpire/CMakeLists.txt
teshsuite/smpi/mpich3-test/CMakeLists.txt
# smpi broken usage
ADD_TESH_FACTORIES(tesh-smpi-broken "thread" --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/pingpong --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/pingpong broken_hostfiles.tesh)
ADD_TESH(tesh-smpi-replay-ti-tracing --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/pingpong --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/pingpong TI_output.tesh)
- FOREACH (GATHER_COLL default ompi mpich ompi_basic_linear ompi_linear_sync ompi_binomial mvapich2 mvapich2_two_level impi)
- ADD_TESH(tesh-smpi-gather-coll-${GATHER_COLL} --cfg smpi/gather:${GATHER_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/gather --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/gather gather_coll.tesh)
- ENDFOREACH()
-
- FOREACH (ALLGATHERV_COLL default GB pair ring ompi mpich ompi_neighborexchange ompi_bruck mpich_rdb mpich_ring mvapich2 impi)
- ADD_TESH(tesh-smpi-allgatherv-coll-${ALLGATHERV_COLL} --cfg smpi/allgatherv:${ALLGATHERV_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/allgatherv --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/allgatherv allgatherv_coll.tesh)
- ENDFOREACH()
FOREACH (ALLREDUCE_COLL default lr rab1 rab2 rab_rdb
rdb smp_binomial smp_binomial_pipeline
smp_rdb smp_rsag smp_rsag_lr smp_rsag_rab redbcast ompi mpich ompi_ring_segmented mvapich2 mvapich2_rs mvapich2_two_level impi)
ring_mpi_barrier ring_one_barrier
bruck basic_linear ompi mpich mvapich2 mvapich2_scatter_dest, impi)
ADD_TESH(tesh-smpi-alltoall-coll-${ALLTOALL_COLL} --cfg smpi/alltoall:${ALLTOALL_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/alltoall --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/alltoall alltoall_coll.tesh)
- ENDFOREACH()
- FOREACH (ALLTOALLV_COLL default pair pair_light_barrier pair_mpi_barrier
- pair_one_barrier ring ring_light_barrier
- ring_mpi_barrier ring_one_barrier bruck ompi mpich mvapich2 ompi_basic_linear impi)
- ADD_TESH(tesh-smpi-alltoallv-coll-${ALLTOALLV_COLL} --cfg smpi/alltoallv:${ALLTOALLV_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/alltoallv --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/alltoallv alltoallv_coll.tesh)
- ENDFOREACH()
-
+ ENDFOREACH()
FOREACH (REDUCE_COLL default arrival_pattern_aware binomial flat_tree NTSL scatter_gather ompi mpich ompi_chain ompi_binary ompi_basic_linear ompi_binomial ompi_in_order_binary mvapich2 mvapich2_knomial mvapich2_two_level impi rab)
ADD_TESH(tesh-smpi-reduce-coll-${REDUCE_COLL} --cfg smpi/reduce:${REDUCE_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/reduce --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/reduce reduce_coll.tesh)
ENDFOREACH()
FOREACH (REDUCE_SCATTER_COLL default ompi mpich ompi_basic_recursivehalving ompi_ring mpich_noncomm mpich_pair mvapich2 mpich_rdb impi)
ADD_TESH(tesh-smpi-reduce-scatter-coll-${REDUCE_SCATTER_COLL} --cfg smpi/reduce_scatter:${REDUCE_SCATTER_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/reduce --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/reduce reduce_scatter_coll.tesh)
- ENDFOREACH()
- FOREACH (SCATTER_COLL default ompi mpich ompi_basic_linear ompi_binomial mvapich2 mvapich2_two_level_binomial mvapich2_two_level_direct impi)
- ADD_TESH(tesh-smpi-scatter-coll-${SCATTER_COLL} --cfg smpi/scatter:${SCATTER_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/scatter --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/scatter scatter_coll.tesh)
- ENDFOREACH()
- FOREACH (BARRIER_COLL default ompi mpich ompi_basic_linear ompi_tree ompi_bruck ompi_recursivedoubling ompi_doublering mvapich2_pair mvapich2 impi)
- ADD_TESH(tesh-smpi-barrier-coll-${BARRIER_COLL} --cfg smpi/barrier:${BARRIER_COLL} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/barrier --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/barrier barrier_coll.tesh)
ENDFOREACH()
ADD_TESH(tesh-smpi-clusters-types --cfg smpi/alltoall:mvapich2 --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/alltoall --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/alltoall clusters.tesh)
# END TESH TESTS