Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MC: make the output independent of the type of processor (32/64 bit)
[simgrid.git] / examples / msg / README
1
2
3 Examples containing in this directory
4
5
6
7 ===============================================================================
8 * sendrecv/sendrecv.c           
9 OLD NAME: ping_pong.c
10 ===============================================================================
11
12
13     - Description:
14     Simple sendrecv example to switch network model
15
16     - Platform Files:
17     sendrecv/platform_sendrecv.xml
18         
19     - Deployment Files:
20     sendrecv/deployment_sendrecv.xml
21
22     - Compile: 
23     (WARNING: the current directory must be examples/msg/)
24     make sendrecv/sendrecv
25
26     - Execute:
27     sendrecv/sendrecv <platformfile.xml> <deploymentfile.xml> --cfg=workstation/model:<networkmodel>
28     where networkmodel can be one of the following:
29         1) CLM03                 - Simple fairness model
30         2) KFCCNL05              - Maxmin fairness
31         3) KFCCNL05_proportional - Vegas TCP fairness (proportional approach)
32         4) KFCCNL05_Vegas        - Vegas TCP fairness (lagrange approach)
33         5) KFCCNL05_Reno         - Reno  TCP fairness (lagrange approach)
34
35     - Debug: 
36     (WARNING: way may want to disable compiler optimizations)
37     libtool --mode=execute gdb --args sendrecv/sendrecv <parameters>
38
39     - More info:
40     sendrecv/README
41
42
43
44 ===============================================================================
45 * masterslave/masterslave.c
46 OLD NAME: msg_test_communication_time.c
47 ===============================================================================
48
49
50     - Description:
51     Simple master/slave application
52     
53     - Platform Files:
54     small_platform.xml    
55         
56     - Deployment Files:
57     masterslave/deployment_masterslave.xml
58
59     - Compile: 
60     (WARNING: the current directory must be examples/msg/)
61     make masterslave/masterslave
62
63     - Execute:
64     masterslave/masterslave <platformfile.xml> <deploymentfile.xml>         
65
66
67
68 ===============================================================================
69 * masterslave/masterslave_forwarder.c
70 OLD NAME: msg_test.c
71 ===============================================================================
72
73
74     - Description:
75     Simple master/slave application using a forwarder module
76     
77     - Platform Files:
78     msg_platform.xml    
79         
80     - Deployment Files:
81     masterslave/deployment_masterslave_forwarder.xml
82
83     - Compile: 
84     (WARNING: the current directory must be examples/msg/)
85     make masterslave/masterslave_forwarder
86
87     - Execute:
88     masterslave/masterslave_forwarder <platformfile.xml> <deploymentfile.xml>       
89
90
91 ===============================================================================
92 * masterslave/masterslave_bypassed.c
93 OLD NAME: msg_test_surfxml_bypassed.c
94 ===============================================================================
95
96     - Description:
97     The same master/slave example without using the xml parser.
98
99     - Platform Files:
100     NONE    
101         
102     - Deployment Files:
103     NONE
104
105     - Compile: 
106     (WARNING: the current directory must be examples/msg/)
107     make masterslave/masterslave_bypassed
108
109     - Execute:
110     masterslave/masterslave_bypassed
111    
112
113 ===============================================================================
114 * suspend/suspend.c
115 OLD NAME: msg_test_test_suspend.c
116 ===============================================================================
117
118
119     - Description: 
120     Test the suspend (MSG_process_suspend) and resume (MSG_process_resume)
121     msg features.
122     
123     - Platform Files:
124     msg_platform.xml
125         
126     - Deployment Files:
127     suspend/deployment_suspend.xml
128
129     - Compile: 
130     (WARNING: the current directory must be examples/msg/)
131     make suspend/suspend 
132
133     - Execute:
134     suspend/suspend <platformfile.xml> <deploymentfile.xml>
135
136
137
138
139 ===============================================================================
140 CHANGE LOG
141 ===============================================================================
142
143 original file                              new file
144
145
146 SEND/RECV EXAMPLE
147
148 ./ping_pong.c             ./sendrecv/sendrecv.c
149
150 MASTER/SLAVE FORWARDER
151
152 ./msg_test.c              ./masterslave/masterslave_forwarder.c
153 ./msg_deployment.xml      ./masterslave/deployment_masterslave_forwarder.xml
154 ./msg_test.tesh.in        ./masterslave/masterslave_forwarder.tesh.in
155
156 MASTER/SLAVE SIMPLE
157
158 ./msg_test_communication_time.c        ./masterslave/masterslave.c
159 ./small_deployment.xml                 ./masterslave/deployment_masterslave.xml
160 ./msg_test_communication_time.tesh.in  ./masterslave/masterslave.tesh.in
161
162 MASTER/SLAVE BYPASS
163
164 ./msg_test_surfxml_bypassed.c ./masterslave/masterslave_bypass.c
165 ./flexml_bypass.tesh.in       ./masterslave/masterslave_bypass.tesh.in
166
167
168 SUSPEND
169
170 ./msg_test_test_suspend.c     ./suspend/suspend.c
171                               ./suspend/deployment_suspend.xml
172 ./suspend.tesh.in             ./suspend/suspend.tesh.in
173
174
175
176