Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ignore cruft
[simgrid.git] / doc / gtut-files / 10-rpc.output
1 $ ./test_server & ./test_client 127.0.0.1 
2 [blaise:client:(17757) 0.000012] [test/INFO] Ask to convert 4321
3 [blaise:client:(17757) 0.000679] [test/INFO] The server says that 4321 is equal to "4321".
4 [blaise:client:(17757) 0.000699] [test/INFO] Ask to convert 1234
5 [blaise:client:(17757) 0.000817] [test/INFO] The server says that "1234" is equal to 1234.
6 [blaise:client:(17757) 0.008084] [test/INFO] The server refuses to convert azerty. Here is the received exception:
7 ** SimGrid: UNCAUGHT EXCEPTION received on blaise(17757): category: invalid_arg; value: 0
8 ** Error while converting azerty: this does not seem to be a valid number (problem at 'azerty')
9 ** Thrown by server() in this process
10 [blaise:client:(17757) 0.008113] xbt/ex.c:323: [xbt_ex/CRITICAL] Error while converting azerty: this does not seem to be a valid number (problem at 'azerty')
11
12 **   In server_convert_a2i_cb() at /home/mquinson/CVSIMPORT/gras/pure/doc/gtut-files/test.c:48
13 **   In gras_msg_handle() at /home/mquinson/CVSIMPORT/gras/pure/src/gras/Msg/gras_msg_exchange.c:414
14 **   In server() at /home/mquinson/CVSIMPORT/gras/pure/doc/gtut-files/test.c:71
15 **   In main() at /home/mquinson/CVSIMPORT/gras/pure/doc/gtut-files/_test_server.c:31
16 [blaise:client:(17757) 0.008128] [test/INFO] Again, previous exception was excepted
17 [blaise:client:(17757) 0.008147] [test/INFO] Stopped the server
18 [blaise:client:(17757) 0.008154] [gras/INFO] Exiting GRAS
19 [blaise:server:(17754) 0.000005] [test/INFO] Convert 4321 to string
20 [blaise:server:(17754) 0.000022] [test/INFO] 4321 converted to string: 4321
21 [blaise:server:(17754) 0.000183] [test/INFO] Convert 1234 to long
22 [blaise:server:(17754) 0.000246] [test/INFO] Convert azerty to long
23 [blaise:server:(17754) 0.007738] [test/INFO] Server done
24 [blaise:server:(17754) 0.007750] [gras/INFO] Exiting GRAS
25 $
26 $ killall test_server
27 $
28 $ ./test_simulator platform.xml test.xml
29 [Boivin:client:(2) 0.000000] [test/INFO] Ask to convert 4321
30 [Jacquelin:server:(1) 0.000538] [test/INFO] Convert 4321 to string
31 [Jacquelin:server:(1) 0.000538] [test/INFO] 4321 converted to string: 4321
32 [Boivin:client:(2) 0.001077] [test/INFO] The server says that 4321 is equal to "4321".
33 [Boivin:client:(2) 0.001077] [test/INFO] Ask to convert 1234
34 [Jacquelin:server:(1) 0.001615] [test/INFO] Convert 1234 to long
35 [Boivin:client:(2) 0.002153] [test/INFO] The server says that "1234" is equal to 1234.
36 [Jacquelin:server:(1) 0.002692] [test/INFO] Convert azerty to long
37 [Boivin:client:(2) 0.003358] [test/INFO] The server refuses to convert azerty. Here is the received exception:
38 ** SimGrid: UNCAUGHT EXCEPTION received on Boivin(2): category: invalid_arg; value: 0
39 ** Error while converting azerty: this does not seem to be a valid number (problem at 'azerty')
40 ** Thrown by server() in this process
41 [Boivin:client:(2) 0.003358] xbt/ex.c:323: [xbt_ex/CRITICAL] Error while converting azerty: this does not seem to be a valid number (problem at 'azerty')
42
43 **   In server_convert_a2i_cb() at /home/mquinson/CVSIMPORT/gras/pure/doc/gtut-files/test.c:48
44 **   In gras_msg_handle() at /home/mquinson/CVSIMPORT/gras/pure/src/gras/Msg/gras_msg_exchange.c:414
45 **   In server() at /home/mquinson/CVSIMPORT/gras/pure/doc/gtut-files/test.c:71
46 [Boivin:client:(2) 0.003358] [test/INFO] Again, previous exception was excepted
47 [Jacquelin:server:(1) 0.003895] [test/INFO] Server done
48 [Jacquelin:server:(1) 0.003895] [gras/INFO] Exiting GRAS
49 [Boivin:client:(2) 0.003895] [test/INFO] Stopped the server
50 [Boivin:client:(2) 0.003895] [gras/INFO] Exiting GRAS
51 $