--setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
--setenv LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib
--setenv PYTHONPATH=${CMAKE_BINARY_DIR}/lib
+ --cd ${CMAKE_CURRENT_SOURCE_DIR}/${example}
${CMAKE_HOME_DIRECTORY}/examples/python/${example}/${example}.tesh)
endif()
endforeach()
e = simgrid.Engine(sys.argv)
# Then you should load a platform file, describing your simulated platform
- e.load_platform("../platforms/small_platform.xml");
+ e.load_platform("../../platforms/small_platform.xml");
# And now you have to ask SimGrid to actually start your actors.
#
e.register_actor("sender", Sender)
e.register_actor("forwarder", forwarder)
# Once actors and functions are registered, just load the deployment file
- e.load_deployment("actor-create/actor-create_d.xml")
+ e.load_deployment("actor-create_d.xml")
# Once every actors are started in the engine, the simulation can start
e.run();