X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1afb6751888eb781f1fa1bc7c98b7c7338308c49..a3bd84b0137a58fad3300f954dbc43328ff1410e:/tools/cmake/DefinePackages.cmake diff --git a/tools/cmake/DefinePackages.cmake b/tools/cmake/DefinePackages.cmake index aff655f6fb..3ca374d45e 100644 --- a/tools/cmake/DefinePackages.cmake +++ b/tools/cmake/DefinePackages.cmake @@ -6,20 +6,22 @@ set(EXTRA_DIST src/include/mc/datatypes.h src/include/mc/mc.h src/include/simgrid/sg_config.hpp - src/include/surf/surf.hpp src/include/xbt/coverage.h src/include/xbt/parmap.hpp src/include/xbt/mmalloc.h src/include/xbt/xbt_modinter.h src/include/catch.hpp src/include/xxhash.hpp + src/kernel/resource/LinkImpl.hpp + src/kernel/resource/SplitDuplexLinkImpl.hpp + src/kernel/resource/StandardLinkImpl.hpp + src/kernel/resource/WifiLinkImpl.hpp src/mc/mc_mmu.hpp src/mc/mc_record.hpp src/msg/msg_private.hpp - src/simdag/dax.dtd - src/simdag/dax_dtd.c - src/simdag/dax_dtd.h - src/simdag/simdag_private.hpp + src/dag/dax.dtd + src/dag/dax_dtd.c + src/dag/dax_dtd.h src/simix/simcalls.in src/simix/simcalls.py src/simix/popping_private.hpp @@ -35,18 +37,12 @@ set(EXTRA_DIST src/smpi/smpi_main.c src/smpi/smpi_replay_main.cpp src/surf/cpu_cas01.hpp - src/surf/cpu_interface.hpp src/surf/cpu_ti.hpp src/surf/network_cm02.hpp src/surf/network_constant.hpp - src/surf/network_interface.hpp - src/surf/LinkImpl.hpp - src/surf/LinkImplIntf.hpp - src/surf/SplitDuplexLinkImpl.hpp src/surf/network_ns3.hpp src/surf/network_smpi.hpp src/surf/network_ib.hpp - src/surf/network_wifi.hpp src/surf/ns3/ns3_simulator.hpp src/surf/xml/simgrid.dtd src/surf/xml/simgrid_dtd.h @@ -55,7 +51,6 @@ set(EXTRA_DIST src/surf/disk_s19.hpp src/surf/surf_interface.hpp - src/surf/surf_private.hpp src/surf/host_clm03.hpp src/surf/HostImpl.hpp src/surf/ptask_L07.hpp @@ -79,8 +74,6 @@ set(EXTRA_DIST src/xbt/mmalloc/mrealloc.c src/xbt/mmalloc/swag.c src/xbt/mmalloc/swag.h - tools/lualib.patch - teshsuite/lua/lua_platforms.tesh examples/smpi/mc/only_send_deterministic.tesh ) @@ -310,12 +303,18 @@ set(SURF_SRC src/kernel/lmm/maxmin.cpp src/kernel/resource/Action.cpp - src/kernel/resource/Model.cpp + src/kernel/resource/CpuImpl.cpp + src/kernel/resource/CpuImpl.hpp src/kernel/resource/DiskImpl.cpp src/kernel/resource/DiskImpl.hpp + src/kernel/resource/Model.cpp src/kernel/resource/Resource.hpp + src/kernel/resource/LinkImpl.cpp + src/kernel/resource/SplitDuplexLinkImpl.cpp + src/kernel/resource/StandardLinkImpl.cpp src/kernel/resource/VirtualMachineImpl.hpp src/kernel/resource/VirtualMachineImpl.cpp + src/kernel/resource/WifiLinkImpl.cpp src/kernel/resource/profile/DatedValue.cpp src/kernel/resource/profile/DatedValue.hpp @@ -349,17 +348,11 @@ set(SURF_SRC src/kernel/EngineImpl.hpp src/surf/cpu_cas01.cpp - src/surf/cpu_interface.cpp src/surf/cpu_ti.cpp src/surf/disk_s19.cpp src/surf/network_cm02.cpp src/surf/network_constant.cpp - src/surf/network_interface.cpp - src/surf/LinkImpl.cpp - src/surf/SplitDuplexLinkImpl.cpp - src/surf/network_wifi.cpp src/surf/sg_platf.cpp - src/surf/surf_c_bindings.cpp src/surf/surf_interface.cpp src/surf/xml/platf.hpp src/surf/xml/platf_private.hpp @@ -473,17 +466,8 @@ set(MSG_SRC src/msg/msg_task.cpp ) -set(SIMDAG_SRC - src/simdag/sd_daxloader.cpp - src/simdag/sd_dotloader.cpp - src/simdag/sd_global.cpp - src/simdag/sd_task.cpp - ) - -set(BINDINGS_SRC - src/bindings/lua/lua_private.hpp - src/bindings/lua/lua_utils.hpp - src/bindings/lua/simgrid_lua.hpp +set(DAG_SRC + src/dag/loaders.cpp ) set(JMSG_C_SRC @@ -541,13 +525,6 @@ set(JTRACE_JAVA_SRC src/bindings/java/org/simgrid/trace/Trace.java) list(APPEND JMSG_C_SRC ${JTRACE_C_SRC}) list(APPEND JMSG_JAVA_SRC ${JTRACE_JAVA_SRC}) -set(LUA_SRC - src/bindings/lua/lua_host.cpp - src/bindings/lua/lua_platf.cpp - src/bindings/lua/lua_utils.cpp - src/bindings/lua/simgrid_lua.cpp - ) - set(TRACING_SRC src/instr/instr_config.cpp src/instr/instr_interface.cpp @@ -566,17 +543,6 @@ set(TRACING_SRC src/instr/instr_resource_utilization.cpp ) -set(JEDULE_SRC - include/simgrid/jedule/jedule_events.hpp - include/simgrid/jedule/jedule.hpp - include/simgrid/jedule/jedule_platform.hpp - include/simgrid/jedule/jedule_sd_binding.h - src/instr/jedule/jedule_events.cpp - src/instr/jedule/jedule.cpp - src/instr/jedule/jedule_platform.cpp - src/instr/jedule/jedule_sd_binding.cpp - ) - set(MC_SRC_BASE src/mc/mc_base.cpp src/mc/mc_base.hpp @@ -586,6 +552,7 @@ set(MC_SRC_BASE src/mc/mc_config.cpp src/mc/mc_config.hpp src/mc/mc_global.cpp + src/mc/api/Transition.cpp ) set(MC_SRC @@ -655,14 +622,16 @@ set(MC_SRC src/mc/mc_record.cpp src/mc/mc_private.hpp src/mc/mc_safety.hpp - src/mc/mc_state.hpp - src/mc/mc_state.cpp src/mc/VisitedState.cpp src/mc/VisitedState.hpp src/mc/mc_client_api.cpp src/mc/mc_smx.cpp src/mc/mc_exit.hpp - src/mc/Transition.hpp + src/mc/api/State.hpp + src/mc/api/State.cpp + src/mc/api/Transition.hpp + src/mc/api/TransitionComm.cpp + src/mc/api/TransitionComm.hpp src/mc/udpor_global.cpp src/mc/udpor_global.hpp ) @@ -685,7 +654,6 @@ set(headers_to_install include/simgrid/plugins/ProducerConsumer.hpp include/simgrid/instr.h include/simgrid/mailbox.h - include/simgrid/simdag.h include/simgrid/modelchecker.h include/simgrid/forward.h include/simgrid/simix.h @@ -809,8 +777,7 @@ set(simgrid_sources ${TRACING_SRC} ${XBT_SRC} ${PLUGINS_SRC} - ${BINDINGS_SRC} - ${SIMDAG_SRC} + ${DAG_SRC} ) if(${enable_msg}) @@ -821,12 +788,6 @@ else() ${MSG_SRC}) endif() -if(${SIMGRID_HAVE_JEDULE}) - set(simgrid_sources ${simgrid_sources} ${JEDULE_SRC}) -else() - set(EXTRA_DIST ${EXTRA_DIST} ${JEDULE_SRC}) -endif() - if(enable_smpi) set(simgrid_sources ${simgrid_sources} ${SMPI_SRC}) endif() @@ -836,13 +797,11 @@ if(SIMGRID_HAVE_MC) endif() if(SIMGRID_HAVE_NS3) - set(simgrid_sources ${simgrid_sources} ${NS3_SRC}) -endif() + set(headers_to_install ${headers_to_install} include/simgrid/plugins/ns3.hpp) -if(SIMGRID_HAVE_LUA) - set(simgrid_sources ${simgrid_sources} ${LUA_SRC}) -else() - set(EXTRA_DIST ${EXTRA_DIST} ${LUA_SRC}) + set(simgrid_sources ${simgrid_sources} ${NS3_SRC}) +else() + set(EXTRA_DIST ${EXTRA_DIST} include/simgrid/plugins/ns3.hpp) endif() set(DOC_SOURCES @@ -852,15 +811,12 @@ set(DOC_SOURCES doc/doxygen/inside_cmake.doc doc/doxygen/inside_extending.doc doc/doxygen/inside_release.doc - doc/doxygen/module-sd.doc doc/doxygen/module-surf.doc - doc/doxygen/module-trace.doc doc/doxygen/module-index.doc doc/doxygen/outcomes_vizu.doc doc/doxygen/platform.doc doc/doxygen/uhood.doc doc/doxygen/uhood_switch.doc - doc/doxygen/uhood_arch.doc examples/README.rst @@ -907,6 +863,7 @@ set(DOC_SOURCES docs/source/img/smpi_simgrid_alltoall_ring_16.png docs/source/img/starzone.drawio docs/source/img/starzone.svg + docs/source/img/vivaldi.svg docs/source/img/zone_hierarchy.png docs/source/img/zone_tree.drawio docs/source/img/zone_tree.svg @@ -918,6 +875,7 @@ set(DOC_SOURCES docs/source/app_s4u.rst docs/source/app_smpi.rst docs/source/The_XBT_toolbox.rst + docs/source/Calibrating_the_models.rst docs/source/community.rst docs/source/Configuring_SimGrid.rst docs/source/Deploying_your_application.rst @@ -928,11 +886,11 @@ set(DOC_SOURCES docs/source/Installing_SimGrid.rst docs/source/Start_your_own_project.rst docs/source/Models.rst + docs/source/Modeling_howtos.rst docs/source/Outcomes.rst docs/source/Platform.rst docs/source/Platform_cpp.rst docs/source/Platform_examples.rst - docs/source/Platform_howtos.rst docs/source/Platform_routing.rst docs/source/Plugins.rst docs/source/Release_Notes.rst @@ -943,7 +901,7 @@ set(DOC_SOURCES docs/source/tuto_s4u/deployment1.xml docs/source/tuto_s4u/deployment2.xml docs/source/tuto_s4u/deployment3.xml - docs/source/tuto_s4u/deployment4.xml + docs/source/tuto_s4u/deployment5.xml docs/source/tuto_s4u/draw_gantt.R docs/source/tuto_s4u/img/intro.svg docs/source/tuto_s4u/img/question.svg @@ -951,7 +909,9 @@ set(DOC_SOURCES docs/source/tuto_s4u/img/Rscript-screenshot.png docs/source/tuto_s4u/img/vite-screenshot.png docs/source/tuto_s4u/master-workers-lab1.cpp + docs/source/tuto_s4u/master-workers-lab1.py docs/source/tuto_s4u/master-workers-lab2.cpp + docs/source/tuto_s4u/master-workers-lab2.py docs/source/tuto_s4u/master-workers-lab3.cpp docs/source/tuto_s4u/master-workers-lab4.cpp @@ -975,6 +935,34 @@ set(DOC_SOURCES docs/source/tuto_disk/fig/simgrid_results.png docs/source/tuto_disk/init.el docs/source/tuto_disk/tuto_disk.cpp + docs/source/tuto_network_calibration/clustering_ckmeans.ipynb + docs/source/tuto_network_calibration/clustering_dhist.ipynb + docs/source/tuto_network_calibration/CMakeLists.txt + docs/source/tuto_network_calibration/dahu_platform_ckmeans.cpp + docs/source/tuto_network_calibration/dahu_platform_dhist.cpp + docs/source/tuto_network_calibration/Dockerfile + docs/source/tuto_network_calibration/fig/pingpong_real.drawio + docs/source/tuto_network_calibration/fig/pingpong_real.png + docs/source/tuto_network_calibration/fig/pingpong_simgrid.drawio + docs/source/tuto_network_calibration/fig/pingpong_simgrid.png + docs/source/tuto_network_calibration/isend_ckmeans.json + docs/source/tuto_network_calibration/isend_dhist.json + docs/source/tuto_network_calibration/network_calibration_tutorial.rst + docs/source/tuto_network_calibration/pingpong_ckmeans.json + docs/source/tuto_network_calibration/pingpong_dhist.json + docs/source/tuto_network_calibration/plot_ckmeans_PingPong.png + docs/source/tuto_network_calibration/plot_dhist_PingPong.png + docs/source/tuto_network_calibration/plot_op_average.png + docs/source/tuto_network_calibration/plot_op_raw.png + docs/source/tuto_network_calibration/plot_op_segmented.png + docs/source/tuto_network_calibration/plot_op_simgrid_ckmeans.png + docs/source/tuto_network_calibration/plot_op_simgrid_dhist.png + docs/source/tuto_network_calibration/recv_ckmeans.json + docs/source/tuto_network_calibration/recv_dhist.json + docs/source/tuto_network_calibration/send_ckmeans.json + docs/source/tuto_network_calibration/send_dhist.json + docs/source/tuto_network_calibration/Utils.cpp + docs/source/tuto_network_calibration/Utils.hpp docs/source/Tutorial_Model-checking.rst @@ -1020,24 +1008,22 @@ set(CMAKEFILES_TXT examples/c/CMakeLists.txt examples/cpp/CMakeLists.txt examples/smpi/CMakeLists.txt + examples/smpi/comm_dynamic_costs/CMakeLists.txt examples/smpi/NAS/CMakeLists.txt examples/smpi/smpi_s4u_masterworker/CMakeLists.txt examples/smpi/replay_multiple/CMakeLists.txt examples/smpi/replay_multiple_manual_deploy/CMakeLists.txt examples/python/CMakeLists.txt examples/deprecated/java/CMakeLists.txt - examples/deprecated/msg/mc/CMakeLists.txt - examples/deprecated/simdag/CMakeLists.txt teshsuite/java/CMakeLists.txt teshsuite/kernel/CMakeLists.txt - teshsuite/lua/CMakeLists.txt teshsuite/mc/CMakeLists.txt teshsuite/models/CMakeLists.txt teshsuite/msg/CMakeLists.txt + teshsuite/platforms/CMakeLists.txt teshsuite/python/CMakeLists.txt teshsuite/s4u/CMakeLists.txt - teshsuite/simdag/CMakeLists.txt teshsuite/smpi/CMakeLists.txt teshsuite/surf/CMakeLists.txt teshsuite/xbt/CMakeLists.txt @@ -1100,7 +1086,6 @@ set(CMAKE_SOURCE_FILES tools/cmake/Modules/FindLibelf.cmake tools/cmake/Modules/FindLibunwind.cmake tools/cmake/Modules/FindLibevent.cmake - tools/cmake/Modules/FindLuaSimgrid.cmake tools/cmake/Modules/FindNS3.cmake tools/cmake/Modules/FindPAPI.cmake tools/cmake/Modules/pybind11Config.cmake @@ -1134,10 +1119,11 @@ set(PLATFORMS_EXAMPLES examples/platforms/bypassRoute.xml examples/platforms/cloud.xml examples/platforms/cluster_backbone.xml + examples/platforms/cluster_backbone.svg examples/platforms/cluster_multi.xml examples/platforms/cluster_and_one_host.xml - examples/platforms/cluster_prototype.lua examples/platforms/cluster_crossbar.xml + examples/platforms/cluster_crossbar.svg examples/platforms/cluster_fat_tree.xml examples/platforms/cluster_fat_tree.svg examples/platforms/cluster_torus.xml @@ -1151,7 +1137,6 @@ set(PLATFORMS_EXAMPLES examples/platforms/config.xml examples/platforms/config_tracing.xml examples/platforms/model_checker_platform.xml - examples/platforms/profiles/bourassa_state.profile examples/platforms/profiles/fafard_state.profile examples/platforms/profiles/faulty_host.profile examples/platforms/profiles/ginette_state.profile @@ -1166,6 +1151,7 @@ set(PLATFORMS_EXAMPLES examples/platforms/profiles/trace_B.txt examples/platforms/data_center.xml examples/platforms/dogbone.xml + examples/platforms/energy_boot.xml examples/platforms/energy_platform.xml examples/platforms/energy_cluster.xml examples/platforms/faulty_host.xml @@ -1180,15 +1166,12 @@ set(PLATFORMS_EXAMPLES examples/platforms/ptask_L07.xml examples/platforms/prop.xml examples/platforms/routing_cluster.xml - examples/platforms/routing_cluster.lua examples/platforms/routing_cluster.cpp - examples/platforms/routing_none.xml examples/platforms/simulacrum_7_hosts.xml examples/platforms/storage/content/small_content.txt examples/platforms/storage/content/storage_content.txt examples/platforms/small_platform.xml - examples/platforms/small_platform.lua - examples/platforms/small_platform_constant.xml + examples/platforms/small_platform_routing_none.xml examples/platforms/small_platform_failures.xml examples/platforms/small_platform_fatpipe.xml examples/platforms/small_platform_one_link_routes.xml