From c0a4c95475561bfa9ad735aaa14a4f6f8154f719 Mon Sep 17 00:00:00 2001 From: dionperd Date: Wed, 20 Sep 2023 23:12:41 +0200 Subject: [PATCH] Updated notebooks of Ray and NEST Server from the amd64 arch --- .../tvb_nest/notebooks/NESTServerClient.ipynb | 234 +----------------- .../notebooks/RayNESTServerClient.ipynb | 220 +--------------- .../notebooks/TestNESTServerClient.ipynb | 154 +----------- 3 files changed, 22 insertions(+), 586 deletions(-) diff --git a/examples/tvb_nest/notebooks/NESTServerClient.ipynb b/examples/tvb_nest/notebooks/NESTServerClient.ipynb index 718e08252..d125b5ce8 100644 --- a/examples/tvb_nest/notebooks/NESTServerClient.ipynb +++ b/examples/tvb_nest/notebooks/NESTServerClient.ipynb @@ -10,42 +10,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "NEST Server is now running at http://127.0.0.1:52425.\r\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/tmp/ipykernel_1085/2363096124.py:14: UserWarning: Failed to start and deamonize NEST server with error:\n", - "HTTPConnectionPool(host='localhost', port=52425): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", - "Switching to Ray deamonization!\n", - " warnings.warn(\"Failed to start and deamonize NEST server with error:\\n\" +\n", - "2023-09-20 15:14:04,210\tINFO worker.py:1642 -- Started a local Ray instance.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m NEST Server is now running at http://127.0.0.1:52425.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Use CTRL + C to stop this service.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m -------------------------------------------------\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m -- N E S T --\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Copyright (C) 2004 The NEST Initiative\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Version: 3.5\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Built: Sep 20 2023 14:50:00\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m This program is provided AS IS and comes with\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m NO WARRANTY. See the file LICENSE for details.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Problems or suggestions?\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Visit https://www.nest-simulator.org\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Type 'nest.help()' to find out more about NEST.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", + "NEST Server is now running at http://127.0.0.1:52425.\n", "{'mpi': False, 'nest': '3.5'}\n", "0.0\n" ] @@ -105,19 +70,7 @@ "execution_count": 2, "id": "efb63ecc", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.7548733 (route_api_call): call=GetKernelStatus, args=['biological_time'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.7554214 (GetKernelStatus): local call, args=['biological_time'], kwargs={}\n" - ] - } - ], + "outputs": [], "source": [ "from nest_client import *\n", "\n", @@ -247,163 +200,7 @@ "execution_count": 6, "id": "44ae69b3", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.7913077 (route_api_call): call=ResetKernel, args=[], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.7913456 (ResetKernel): local call, args=[], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.7935050 (route_api_call): call=GetKernelStatus, args=['biological_time'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.7935410 (GetKernelStatus): local call, args=['biological_time'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.8000696 (route_api_call): call=Create, args=['inhomogeneous_poisson_generator', 1, {'rate_times': [250.0, 500.0, 750.0], 'rate_values': [10000.0, 20000.0, 10000.0]}], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.8001101 (Create): local call, args=['inhomogeneous_poisson_generator', 1, {'rate_times': [250.0, 500.0, 750.0], 'rate_values': [10000.0, 20000.0, 10000.0]}], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.8023665 (route_api_call): call=Create, args=['iaf_psc_alpha', 1000], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.8024023 (Create): local call, args=['iaf_psc_alpha', 1000], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.8078508 (route_api_call): call=Create, args=['spike_recorder'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.8078856 (Create): local call, args=['spike_recorder'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.8093934 (route_api_call): call=Connect, args=[[1], [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 804, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 827, 828, 829, 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 873, 874, 875, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, 895, 896, 897, 898, 899, 900, 901, 902, 903, 904, 905, 906, 907, 908, 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001]], kwargs={'syn_spec': {'weight': 10.0}}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.8096001 (Connect): local call, args=[NodeCollection(metadata=None, model=inhomogeneous_poisson_generator, size=1, first=1), NodeCollection(metadata=None, model=iaf_psc_alpha, size=1000, first=2, last=1001)], kwargs={'syn_spec': {'weight': 10.0}}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.8111856 (route_api_call): call=Connect, args=[[2, 12, 22, 32, 42, 52, 62, 72, 82, 92, 102, 112, 122, 132, 142, 152, 162, 172, 182, 192, 202, 212, 222, 232, 242, 252, 262, 272, 282, 292, 302, 312, 322, 332, 342, 352, 362, 372, 382, 392, 402, 412, 422, 432, 442, 452, 462, 472, 482, 492, 502, 512, 522, 532, 542, 552, 562, 572, 582, 592, 602, 612, 622, 632, 642, 652, 662, 672, 682, 692, 702, 712, 722, 732, 742, 752, 762, 772, 782, 792, 802, 812, 822, 832, 842, 852, 862, 872, 882, 892, 902, 912, 922, 932, 942, 952, 962, 972, 982, 992], [1002]], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.8113241 (Connect): local call, args=[NodeCollection(metadata=None,\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=2;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=12;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=22;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=32;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=42;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=52;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=62;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=72;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=82;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=92;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=102;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=112;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=122;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=132;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=142;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=152;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=162;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=172;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=182;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=192;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=202;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=212;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=222;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=232;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=242;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=252;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=262;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=272;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=282;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=292;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=302;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=312;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=322;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=332;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=342;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=352;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=362;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=372;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=382;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=392;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=402;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=412;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=422;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=432;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=442;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=452;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=462;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=472;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=482;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=492;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=502;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=512;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=522;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=532;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=542;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=552;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=562;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=572;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=582;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=592;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=602;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=612;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=622;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=632;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=642;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=652;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=662;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=672;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=682;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=692;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=702;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=712;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=722;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=732;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=742;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=752;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=762;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=772;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=782;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=792;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=802;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=812;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=822;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=832;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=842;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=852;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=862;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=872;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=882;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=892;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=902;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=912;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=922;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=932;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=942;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=952;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=962;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=972;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=982;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m model=iaf_psc_alpha, size=1, first=992), NodeCollection(metadata=None, model=spike_recorder, size=1, first=1002)], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.8164451 (route_api_call): call=Simulate, args=[1000.0], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222845.8164842 (Simulate): local call, args=[1000.0], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Sep 20 15:14:05 NodeManager::prepare_nodes [Info]: \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Preparing 1002 nodes for simulation.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Sep 20 15:14:05 SimulationManager::start_updating_ [Info]: \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Number of local nodes: 1002\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Simulation time (ms): 1000\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Number of OpenMP threads: 1\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Number of MPI processes: 1\n" - ] - } - ], + "outputs": [], "source": [ "\n", "# Simulate\n", @@ -438,29 +235,10 @@ "id": "87410d3e", "metadata": {}, "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Sep 20 15:14:06 SimulationManager::run [Info]: \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m Simulation finished.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222846.2174933 (route_api_call): call=GetStatus, args=[[1002], 'events'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222846.2176490 (GetStatus): local call, args=[NodeCollection(metadata=None, model=spike_recorder, size=1, first=1002), 'events'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222846.2235944 (route_api_call): call=GetStatus, args=[[1002], 'n_events'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1195)\u001b[0m ==> MASTER 0/1695222846.2237210 (GetStatus): local call, args=[NodeCollection(metadata=None, model=spike_recorder, size=1, first=1002), 'n_events'], kwargs={}\n" - ] - }, { "data": { "text/plain": [ - "[]" + "[]" ] }, "execution_count": 8, @@ -1515,8 +1293,8 @@ "name": "stdout", "output_type": "stream", "text": [ - "1309\r\n", - "1314\r\n" + "583\r\n", + "584\r\n" ] } ], diff --git a/examples/tvb_nest/notebooks/RayNESTServerClient.ipynb b/examples/tvb_nest/notebooks/RayNESTServerClient.ipynb index 67a69afd6..1a1e92076 100644 --- a/examples/tvb_nest/notebooks/RayNESTServerClient.ipynb +++ b/examples/tvb_nest/notebooks/RayNESTServerClient.ipynb @@ -17,35 +17,13 @@ "name": "stderr", "output_type": "stream", "text": [ - "/tmp/ipykernel_1641/2363096124.py:14: UserWarning: Failed to start and deamonize NEST server with error:\n", - "HTTPConnectionPool(host='localhost', port=52425): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", - "Switching to Ray deamonization!\n", - " warnings.warn(\"Failed to start and deamonize NEST server with error:\\n\" +\n", - "2023-09-20 15:15:00,704\tINFO worker.py:1642 -- Started a local Ray instance.\n" + "2023-09-20 21:10:32,438\tINFO worker.py:1642 -- Started a local Ray instance.\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m NEST Server is now running at http://127.0.0.1:52425.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Use CTRL + C to stop this service.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m -------------------------------------------------\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m -- N E S T --\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Copyright (C) 2004 The NEST Initiative\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Version: 3.5\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Built: Sep 20 2023 14:50:00\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m This program is provided AS IS and comes with\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m NO WARRANTY. See the file LICENSE for details.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Problems or suggestions?\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Visit https://www.nest-simulator.org\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Type 'nest.help()' to find out more about NEST.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", "{'mpi': False, 'nest': '3.5'}\n", "0.0\n" ] @@ -55,10 +33,14 @@ "import requests\n", "import time\n", "import warnings\n", + "import ray\n", + "\n", "\n", "! nest-server start -o -d -p 52425\n", "time.sleep(1.0)\n", " \n", + "ray.init() # _temp_dir=\"/home/docker/tmp/ray\", object_store_memory=100000000\n", + " \n", "try:\n", " print(requests.get('http://localhost:52425').json())\n", " print(requests.get('http://127.0.0.1:52425/api/GetKernelStatus', json=[\"biological_time\"]).json())\n", @@ -74,9 +56,6 @@ " # ! nest-server start -o -p 52425\n", "\n", " import os\n", - " import ray\n", - "\n", - " ray.init() # _temp_dir=\"/home/docker/tmp/ray\", object_store_memory=100000000\n", "\n", "\n", " @ray.remote\n", @@ -264,22 +243,6 @@ "id": "5f65637f", "metadata": {}, "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.2654479 (route_api_call): call=GetKernelStatus, args=['biological_time'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.2655494 (GetKernelStatus): local call, args=['biological_time'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.3440704 (route_api_call): call=GetKernelStatus, args=['biological_time'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.3441114 (GetKernelStatus): local call, args=['biological_time'], kwargs={}\n" - ] - }, { "data": { "text/plain": [ @@ -344,7 +307,7 @@ { "data": { "text/plain": [ - "ObjectRef(8849b62d89cb30f9a6de789167eacdb74e3d487b0100000001000000)" + "ObjectRef(82891771158d68c175d96e609472c35f9efb526e0100000001000000)" ] }, "execution_count": 8, @@ -365,156 +328,6 @@ "id": "f2fc58f3", "metadata": {}, "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.6841168 (route_api_call): call=GetKernelStatus, args=['biological_time'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.6841598 (GetKernelStatus): local call, args=['biological_time'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.6977141 (route_api_call): call=Create, args=['inhomogeneous_poisson_generator', 1, {'rate_times': [250.0, 500.0, 750.0], 'rate_values': [10000.0, 20000.0, 10000.0]}], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.6977611 (Create): local call, args=['inhomogeneous_poisson_generator', 1, {'rate_times': [250.0, 500.0, 750.0], 'rate_values': [10000.0, 20000.0, 10000.0]}], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.7004356 (route_api_call): call=Create, args=['iaf_psc_alpha', 1000], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.7004728 (Create): local call, args=['iaf_psc_alpha', 1000], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.7073321 (route_api_call): call=Create, args=['spike_recorder'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.7073827 (Create): local call, args=['spike_recorder'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.7099493 (route_api_call): call=Connect, args=[[1], [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 804, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 827, 828, 829, 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 873, 874, 875, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, 895, 896, 897, 898, 899, 900, 901, 902, 903, 904, 905, 906, 907, 908, 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001]], kwargs={'syn_spec': {'weight': 10.0}}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.7101502 (Connect): local call, args=[NodeCollection(metadata=None, model=inhomogeneous_poisson_generator, size=1, first=1), NodeCollection(metadata=None, model=iaf_psc_alpha, size=1000, first=2, last=1001)], kwargs={'syn_spec': {'weight': 10.0}}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.7125220 (route_api_call): call=Connect, args=[[2, 12, 22, 32, 42, 52, 62, 72, 82, 92, 102, 112, 122, 132, 142, 152, 162, 172, 182, 192, 202, 212, 222, 232, 242, 252, 262, 272, 282, 292, 302, 312, 322, 332, 342, 352, 362, 372, 382, 392, 402, 412, 422, 432, 442, 452, 462, 472, 482, 492, 502, 512, 522, 532, 542, 552, 562, 572, 582, 592, 602, 612, 622, 632, 642, 652, 662, 672, 682, 692, 702, 712, 722, 732, 742, 752, 762, 772, 782, 792, 802, 812, 822, 832, 842, 852, 862, 872, 882, 892, 902, 912, 922, 932, 942, 952, 962, 972, 982, 992], [1002]], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.7126853 (Connect): local call, args=[NodeCollection(metadata=None,\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=2;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=12;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=22;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=32;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=42;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=52;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=62;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=72;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=82;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=92;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=102;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=112;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=122;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=132;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=142;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=152;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=162;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=172;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=182;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=192;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=202;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=212;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=222;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=232;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=242;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=252;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=262;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=272;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=282;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=292;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=302;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=312;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=322;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=332;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=342;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=352;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=362;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=372;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=382;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=392;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=402;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=412;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=422;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=432;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=442;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=452;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=462;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=472;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=482;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=492;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=502;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=512;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=522;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=532;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=542;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=552;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=562;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=572;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=582;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=592;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=602;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=612;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=622;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=632;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=642;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=652;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=662;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=672;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=682;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=692;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=702;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=712;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=722;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=732;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=742;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=752;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=762;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=772;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=782;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=792;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=802;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=812;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=822;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=832;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=842;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=852;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=862;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=872;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=882;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=892;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=902;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=912;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=922;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=932;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=942;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=952;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=962;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=972;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=982;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m model=iaf_psc_alpha, size=1, first=992), NodeCollection(metadata=None, model=spike_recorder, size=1, first=1002)], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.7183411 (route_api_call): call=Simulate, args=[1000.0], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222902.7183793 (Simulate): local call, args=[1000.0], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Sep 20 15:15:02 NodeManager::prepare_nodes [Info]: \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Preparing 1002 nodes for simulation.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Sep 20 15:15:02 SimulationManager::start_updating_ [Info]: \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Number of local nodes: 1002\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Simulation time (ms): 1000\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Number of OpenMP threads: 1\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Number of MPI processes: 1\n" - ] - }, { "name": "stdout", "output_type": "stream", @@ -536,29 +349,10 @@ "id": "55dc3c4e", "metadata": {}, "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Sep 20 15:15:03 SimulationManager::run [Info]: \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m Simulation finished.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222903.1092131 (route_api_call): call=GetStatus, args=[[1002], 'events'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222903.1093810 (GetStatus): local call, args=[NodeCollection(metadata=None, model=spike_recorder, size=1, first=1002), 'events'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222903.1173866 (route_api_call): call=GetStatus, args=[[1002], 'n_events'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=1749)\u001b[0m ==> MASTER 0/1695222903.1175258 (GetStatus): local call, args=[NodeCollection(metadata=None, model=spike_recorder, size=1, first=1002), 'n_events'], kwargs={}\n" - ] - }, { "data": { "text/plain": [ - "[]" + "[]" ] }, "execution_count": 10, diff --git a/examples/tvb_nest/notebooks/TestNESTServerClient.ipynb b/examples/tvb_nest/notebooks/TestNESTServerClient.ipynb index 3fe7682a7..efc06fc85 100644 --- a/examples/tvb_nest/notebooks/TestNESTServerClient.ipynb +++ b/examples/tvb_nest/notebooks/TestNESTServerClient.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 9, + "execution_count": 1, "id": "afb9dc79", "metadata": {}, "outputs": [ @@ -10,49 +10,9 @@ "name": "stdout", "output_type": "stream", "text": [ - "NEST Server is now running at http://127.0.0.1:52425.\r\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/tmp/ipykernel_539/2236785663.py:14: UserWarning: Failed to start and deamonize NEST server with error:\n", - "HTTPConnectionPool(host='localhost', port=52425): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", - "Switching to Ray deamonization!\n", - " warnings.warn(\"Failed to start and deamonize NEST server with error:\\n\" +\n", - "2023-09-20 15:13:12,587\tINFO worker.py:1642 -- Started a local Ray instance.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m NEST Server is now running at http://127.0.0.1:52425.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Use CTRL + C to stop this service.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m -------------------------------------------------\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m -- N E S T --\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Copyright (C) 2004 The NEST Initiative\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Version: 3.5\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Built: Sep 20 2023 14:50:00\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m This program is provided AS IS and comes with\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m NO WARRANTY. See the file LICENSE for details.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Problems or suggestions?\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Visit https://www.nest-simulator.org\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Type 'nest.help()' to find out more about NEST.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", + "NEST Server is now running at http://127.0.0.1:52425.\n", "{'mpi': False, 'nest': '3.5'}\n", - "0.0\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222794.1295464 (route_api_call): call=GetKernelStatus, args=['biological_time'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222794.1296604 (GetKernelStatus): local call, args=['biological_time'], kwargs={}\n" + "0.0\n" ] } ], @@ -108,7 +68,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 2, "id": "08510e39", "metadata": {}, "outputs": [ @@ -172,93 +132,8 @@ "n_events = sr.get(\"n_events\")\n", "\n", "--------------------\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8165176 (route_api_call): call=ResetKernel, args=[], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8166060 (ResetKernel): local call, args=[], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8231874 (route_api_call): call=GetKernelStatus, args=['biological_time'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8232331 (GetKernelStatus): local call, args=['biological_time'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8250198 (route_api_call): call=Create, args=['poisson_generator'], kwargs={'params': {'rate': 6500.0}}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8250635 (Create): local call, args=['poisson_generator'], kwargs={'params': {'rate': 6500.0}}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8268113 (route_api_call): call=Create, args=['iaf_psc_alpha', 100], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8268509 (Create): local call, args=['iaf_psc_alpha', 100], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8286061 (route_api_call): call=Create, args=['spike_recorder'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8286407 (Create): local call, args=['spike_recorder'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8297434 (route_api_call): call=Connect, args=[[1], [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101]], kwargs={'syn_spec': {'weight': 10.0}}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8298771 (Connect): local call, args=[NodeCollection(metadata=None, model=poisson_generator, size=1, first=1), NodeCollection(metadata=None, model=iaf_psc_alpha, size=100, first=2, last=101)], kwargs={'syn_spec': {'weight': 10.0}}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8310256 (route_api_call): call=Connect, args=[[2, 12, 22, 32, 42, 52, 62, 72, 82, 92], [102]], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8311296 (Connect): local call, args=[NodeCollection(metadata=None,\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m model=iaf_psc_alpha, size=1, first=2;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m model=iaf_psc_alpha, size=1, first=12;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m model=iaf_psc_alpha, size=1, first=22;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m model=iaf_psc_alpha, size=1, first=32;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m model=iaf_psc_alpha, size=1, first=42;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m model=iaf_psc_alpha, size=1, first=52;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m model=iaf_psc_alpha, size=1, first=62;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m model=iaf_psc_alpha, size=1, first=72;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m model=iaf_psc_alpha, size=1, first=82;\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m model=iaf_psc_alpha, size=1, first=92), NodeCollection(metadata=None, model=spike_recorder, size=1, first=102)], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8323014 (route_api_call): call=Simulate, args=[1000.0], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8323312 (Simulate): local call, args=[1000.0], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Sep 20 15:13:20 NodeManager::prepare_nodes [Info]: \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Preparing 102 nodes for simulation.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Sep 20 15:13:20 SimulationManager::start_updating_ [Info]: \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Number of local nodes: 102\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Simulation time (ms): 1000\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Number of OpenMP threads: 1\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Number of MPI processes: 1\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Sep 20 15:13:20 SimulationManager::run [Info]: \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Simulation finished.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8739607 (route_api_call): call=GetStatus, args=[[102], 'n_events'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222800.8741171 (GetStatus): local call, args=[NodeCollection(metadata=None, model=spike_recorder, size=1, first=102), 'n_events'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Sep 20 15:13:20 NodeManager::prepare_nodes [Info]: \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Preparing 102 nodes for simulation.\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Sep 20 15:13:20 SimulationManager::start_updating_ [Info]: \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Number of local nodes: 102\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Simulation time (ms): 1000\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Number of OpenMP threads: 1\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Number of MPI processes: 1\n", "Number of events: 126\n" ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Sep 20 15:13:20 SimulationManager::run [Info]: \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m Simulation finished.\n" - ] } ], "source": [ @@ -310,7 +185,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 3, "id": "0b79b782", "metadata": {}, "outputs": [ @@ -320,20 +195,9 @@ "1000.0" ] }, - "execution_count": 11, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ========================================\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m \n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222801.7650070 (route_api_call): call=GetKernelStatus, args=['biological_time'], kwargs={}\n", - "\u001b[2m\u001b[36m(start_deamonize_nest_server pid=915)\u001b[0m ==> MASTER 0/1695222801.7651644 (GetKernelStatus): local call, args=['biological_time'], kwargs={}\n" - ] } ], "source": [ @@ -347,7 +211,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 4, "id": "d5e0e34c", "metadata": {}, "outputs": [ @@ -365,7 +229,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 5, "id": "402b6b43", "metadata": {}, "outputs": [ @@ -383,7 +247,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 6, "id": "2037b6d8", "metadata": {}, "outputs": [],