MSG_global_init(&argc,argv);
- if (argc != 4){
+ if (argc != 3){
CRITICAL1 ("Usage: %s platform_file deployment_file <model>\n",argv[0]);
CRITICAL1 ("example: %s msg_platform.xml msg_deployment.xml KCCFLN05_Vegas\n",argv[0]);
exit(1);
KCCFLN05_Vegas => for TCP Vegas
KCCFLN05_Reno => for TCP Reno
*/
- MSG_config("workstation_model", argv[3]);
+ //MSG_config("workstation_model", argv[3]);
res = test_all(argv[1],argv[2]);
p Testing the surf network maxmin fairness model
-$ $SG_TEST_EXENV ${srcdir:=.}/sendrecv/sendrecv$EXEEXT ${srcdir:=.}/sendrecv/platform_sendrecv.xml ${srcdir:=.}/sendrecv/deployment_sendrecv.xml KCCFLN05
+$ $SG_TEST_EXENV sendrecv/sendrecv$EXEEXT ${srcdir:=.}/sendrecv/platform_sendrecv.xml ${srcdir:=.}/sendrecv/deployment_sendrecv.xml --cfg=workstation_model:KCCFLN05
+> [0.000000] [simix_kernel/INFO] setting 'workstation_model' to 'KCCFLN05'
> [0.000000] [xbt_cfg/INFO] type in variable = 2
> [0.000000] [msg_test/INFO] test_all
> [Inmos:sender:(1) 0.000000] [msg_test/INFO] sender
p Testing the surf network Reno fairness model using lagrangian approach
-$ $SG_TEST_EXENV ${srcdir:=.}/sendrecv/sendrecv ${srcdir:=.}/sendrecv/platform_sendrecv.xml ${srcdir:=.}/sendrecv/deployment_sendrecv.xml KCCFLN05_Reno
+$ $SG_TEST_EXENV sendrecv/sendrecv$EXEEXT ${srcdir:=.}/sendrecv/platform_sendrecv.xml ${srcdir:=.}/sendrecv/deployment_sendrecv.xml --cfg=workstation_model:KCCFLN05_Reno
+> [0.000000] [simix_kernel/INFO] setting 'workstation_model' to 'KCCFLN05_Reno'
> [0.000000] [xbt_cfg/INFO] type in variable = 2
> [0.000000] [msg_test/INFO] test_all
> [Inmos:sender:(1) 0.000000] [msg_test/INFO] sender
p Testing the surf network Vegas fairness model using lagrangian approach
-$ $SG_TEST_EXENV ${srcdir:=.}/sendrecv/sendrecv$EXEEXT ${srcdir:=.}/sendrecv/platform_sendrecv.xml ${srcdir:=.}/sendrecv/deployment_sendrecv.xml KCCFLN05_Vegas
+$ $SG_TEST_EXENV sendrecv/sendrecv$EXEEXT ${srcdir:=.}/sendrecv/platform_sendrecv.xml ${srcdir:=.}/sendrecv/deployment_sendrecv.xml --cfg=workstation_model:KCCFLN05_Vegas
+> [0.000000] [simix_kernel/INFO] setting 'workstation_model' to 'KCCFLN05_Vegas'
> [0.000000] [xbt_cfg/INFO] type in variable = 2
> [0.000000] [msg_test/INFO] test_all
> [Inmos:sender:(1) 0.000000] [msg_test/INFO] sender
p Testing the surf network proportional fairness model using SDP approach
-$ $SG_TEST_EXENV ${srcdir:=.}/sendrecv/sendrecv$EXEEXT ${srcdir:=.}/sendrecv/platform_sendrecv.xml ${srcdir:=.}/sendrecv/deployment_sendrecv.xml KCCFLN05_proportional
+$ $SG_TEST_EXENV sendrecv/sendrecv$EXEEXT ${srcdir:=.}/sendrecv/platform_sendrecv.xml ${srcdir:=.}/sendrecv/deployment_sendrecv.xml --cfg=workstation_model:KCCFLN05_proportional
+> [0.000000] [simix_kernel/INFO] setting 'workstation_model' to 'KCCFLN05_proportional'
> [0.000000] [xbt_cfg/INFO] type in variable = 2
> [0.000000] [msg_test/INFO] test_all
> [Inmos:sender:(1) 0.000000] [msg_test/INFO] sender