Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
e1a0e5f566f6764954dee62e9e1fb54babd1756c
[simgrid.git] / examples / smpi / replay_multiple_manual_deploy / CMakeLists.txt
1 if(enable_smpi)
2   include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
3
4   add_executable       (replay_multiple_manual replay_multiple_manual.cpp)
5   target_link_libraries(replay_multiple_manual simgrid)
6
7   # Define a list of a tesh files
8   list(APPEND tesh_filename_list replay_multiple_manual_nojob)
9   list(APPEND tesh_filename_list replay_multiple_manual_nojob_noise)
10   list(APPEND tesh_filename_list replay_multiple_manual_empty1)
11   list(APPEND tesh_filename_list replay_multiple_manual_empty2)
12   list(APPEND tesh_filename_list replay_multiple_manual_empty2_sr)
13   list(APPEND tesh_filename_list replay_multiple_manual_empty2_sr_noise)
14   list(APPEND tesh_filename_list replay_multiple_manual_empty2_st)
15   list(APPEND tesh_filename_list replay_multiple_manual_empty2_st_noise)
16   list(APPEND tesh_filename_list replay_multiple_manual_empty2_st_sr)
17   list(APPEND tesh_filename_list replay_multiple_manual_empty2_st_sr_noise)
18   list(APPEND tesh_filename_list replay_multiple_manual_mixed1)
19   list(APPEND tesh_filename_list replay_multiple_manual_mixed1_noise)
20   list(APPEND tesh_filename_list replay_multiple_manual_mixed2)
21   list(APPEND tesh_filename_list replay_multiple_manual_mixed2_noise)
22   list(APPEND tesh_filename_list replay_multiple_manual_mixed2_sr)
23   list(APPEND tesh_filename_list replay_multiple_manual_mixed2_sr_noise)
24   list(APPEND tesh_filename_list replay_multiple_manual_mixed2_st)
25   list(APPEND tesh_filename_list replay_multiple_manual_mixed2_st_noise)
26   list(APPEND tesh_filename_list replay_multiple_manual_mixed2_st_sr)
27   list(APPEND tesh_filename_list replay_multiple_manual_mixed2_st_sr_noise)
28
29   IF(NOT HAVE_MC)
30     foreach(rm_tesh_file IN LISTS tesh_filename_list)
31       string(REPLACE "_" "-" dash_separated ${rm_tesh_file})
32       ADD_TESH("smpi-${dash_separated}"
33         --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/smpi/replay_multiple_manual_deploy
34         --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
35         --cd ${CMAKE_BINARY_DIR}/examples/smpi/replay_multiple_manual_deploy
36         ${CMAKE_CURRENT_SOURCE_DIR}/${rm_tesh_file}.tesh)
37     endforeach()
38   ENDIF()
39 endif()
40
41 set(txt_files     ${txt_files}     ${CMAKE_CURRENT_SOURCE_DIR}/compute_only.txt
42                                    ${CMAKE_CURRENT_SOURCE_DIR}/compute_only/actions0.txt
43                                    ${CMAKE_CURRENT_SOURCE_DIR}/compute_only/actions1.txt
44                                    ${CMAKE_CURRENT_SOURCE_DIR}/empty.txt
45                                    ${CMAKE_CURRENT_SOURCE_DIR}/empty/actions0.txt
46                                    ${CMAKE_CURRENT_SOURCE_DIR}/empty/actions1.txt
47                                    ${CMAKE_CURRENT_SOURCE_DIR}/mixed.txt
48                                    ${CMAKE_CURRENT_SOURCE_DIR}/mixed/actions0.txt
49                                    ${CMAKE_CURRENT_SOURCE_DIR}/mixed/actions1.txt
50                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_compute
51                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_compute_consecutive
52                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_compute_consecutive2
53                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_compute_simple
54                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_empty2_same_resources
55                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_empty2_same_time
56                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_empty2_same_time_and_resources
57                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_mixed1
58                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_mixed2
59                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_mixed2_same_resources
60                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_mixed2_same_time
61                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_mixed2_same_time_and_resources
62                                    ${CMAKE_CURRENT_SOURCE_DIR}/workload_nojob PARENT_SCOPE)
63 set(tesh_files  ${tesh_files}   ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_nojob.tesh
64                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_nojob_noise.tesh
65                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_empty1.tesh
66                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_empty2.tesh
67                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_empty2_sr.tesh
68                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_empty2_sr_noise.tesh
69                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_empty2_st.tesh
70                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_empty2_st_noise.tesh
71                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_empty2_st_sr.tesh
72                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_empty2_st_sr_noise.tesh
73                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed1.tesh
74                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed1_noise.tesh
75                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2.tesh
76                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2_noise.tesh
77                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2_sr.tesh
78                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2_sr_noise.tesh
79                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2_st.tesh
80                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2_st_noise.tesh
81                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2_st_sr.tesh
82                                 ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual_mixed2_st_sr_noise.tesh PARENT_SCOPE)
83 set(examples_src  ${examples_src}  ${CMAKE_CURRENT_SOURCE_DIR}/replay_multiple_manual.cpp PARENT_SCOPE)