simgrid::s4u::Host* ginette = simgrid::s4u::Host::by_name("Ginette");
simgrid::s4u::Host* boivin = simgrid::s4u::Host::by_name("Boivin");
- XBT_INFO("I'm a wizard! I can run a task on the Fafard host from the Ginette one! Look!");
+ XBT_INFO("I'm a wizard! I can run a task on the Ginette host from the Fafard one! Look!");
simgrid::s4u::ExecPtr exec = simgrid::s4u::this_actor::exec_init(48.492e6);
exec->set_host(ginette);
exec->start();
! output sort 19
$ $SG_TEST_EXENV ${bindir:=.}/s4u-exec-remote$EXEEXT ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
-> [ 0.000000] (1:test@Fafard) I'm a wizard! I can run a task on the Fafard host from the Ginette one! Look!
+> [ 0.000000] (1:test@Fafard) I'm a wizard! I can run a task on the Ginette host from the Fafard one! Look!
> [ 0.000000] (1:test@Fafard) It started. Running 48.492Mf takes exactly one second on Ginette (but not on Fafard).
> [ 0.100000] (1:test@Fafard) Loads in flops/s: Boivin=0; Fafard=0; Ginette=48492000
> [ 1.000000] (1:test@Fafard) Done!