You are here

Troubles - I need help

Can anybody help me? When I execute pre.exe, in order to check my input files, i see this message: Visual Fortran Run-Time Error forrtl: severe (161): Program exception - array bounds exceeded Image PC Routine Line Source pre.exe 0044A359 W2_PRE 1072 pre_cvf.f90 pre.exe 0055AEB9 Unknown Unknown Unknown pre.exe 0054670B Unknown Unknown Unknown kernel32.dll 7C80B50B Unknown Unknown Unknown Thanks a lot, Carlos Correa Florianopolis, Brazil. Here's my Bathymetry file: 2000 Represa Machadinho bathymetry Segment lenght [DLX] 1.00 2300.00 2000.00 2000.00 2000.00 2000.00 2000.00 2000.00 2000.00 2000.00 1970.00 2030.00 2000.00 2070.00 1930.00 2400.00 1600.00 2000.00 2070.00 1610.00 2320.00 2000.00 2190.00 1810.00 1620.00 2380.00 2000.00 2510.00 1770.00 1960.00 1410.00 2410.00 1940.00 2000.00 1890.00 120.00 1.00 Water surface elevation [ELWS] 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 480.00 Segment orientation [PHI0] 0.2198 0.2198 1.6311 1.2656 0.4419 3.0808 2.8665 2.6246 1.7827 0.3939 0.9372 1.9409 1.6891 0.0076 2.3283 2.5994 1.3325 2.0470 1.8647 0.6927 2.4278 1.5478 0.1866 0.8750 1.7945 0.5268 2.5326 1.9060 0.3807 0.8513 0.6609 3.0119 0.2761 1.9265 0.5472 1.6281 1.6280 Bottom friction [FRICT] 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 70.0 Layer height [H] 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 10.0 Segment 1 widths [B] - branch 1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Segment 2 widths [B] - branch 1 0.00 314.2885 271.4583 241.2143 219.8653 179.1769 147.4179 139.3340 0.00 0.00 0.00 0.00 0.00 0.00 Segment 3 widths [B] - branch 1 0.00 349.0971 293.5143 260.1090 224.9059 193.2725 123.8218 93.6351 0.00 0.00 0.00 0.00 0.00 0.00 Segment 4 widths [B] - branch 1 0.00 344.9399 301.7662 261.3584 229.9171 182.7726 152.0886 126.7783 0.00 0.00 0.00 0.00 0.00 0.00 Segment 5 widths [B] - branch 1 0.00 356.2662 330.5823 309.1637 280.0022 233.3900 195.5889 168.0133 0.00 0.00 0.00 0.00 0.00 0.00 Segment 6 widths [B] - branch 1 0.00 356.7470 337.9724 301.3475 263.9452 216.0688 184.3759 133.2977 0.00 0.00 0.00 0.00 0.00 0.00 Segment 7 widths [B] - branch 1 0.00 354.0318 312.4004 277.8509 238.5320 195.7874 156.2803 100.0000 0.00 0.00 0.00 0.00 0.00 0.00 Segment 8 widths [B] - branch 1 443.4166 407.7113 369.9507 330.5125 278.4890 237.7244 202.6122 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Segment 9 widths [B] - branch 1 0.00 355.8115 314.5069 278.5084 243.4400 220.2033 193.5057 136.3450 0.00 0.00 0.00 0.00 0.00 0.00 Segment 10 widths [B] - branch 1 0.00 402.7204 373.3784 348.2028 319.9278 269.3402 220.8978 187.1647 151.4555 0.00 0.00 0.00 0.00 0.00 Segment 11 widths [B] - branch 1 0.00 455.5163 429.9326 382.6685 331.7889 273.0616 226.4824 182.4808 155.7442 0.00 0.00 0.00 0.00 0.00 Segment 12 widths [B] - branch 1 0.00 405.3968 394.0506 353.0135 311.6473 281.8373 209.7401 159.4667 110.3343 0.00 0.00 0.00 0.00 0.00 Segment 13 widths [B] - branch 1 0.00 398.9177 360.5583 319.6662 274.8723 244.1383 201.1705 162.8139 116.9645 0.00 0.00 0.00 0.00 0.00 Segment 14 widths [B] - branch 1 0.00 487.8187 456.1970 417.2139 372.8450 340.1539 305.0586 240.8937 227.2667 0.00 0.00 0.00 0.00 0.00 Segment 15 widths [B] - branch 1 0.00 417.2845 370.8804 339.8647 312.1842 282.5541 257.1365 228.4452 172.9106 139.4618 0.00 0.00 0.00 0.00 Segment 16 widths [B] - branch 1 0.00 457.3704 395.6341 349.7073 292.7969 267.7459 212.3636 186.4988 168.0068 146.0701 0.00 0.00 0.00 0.00 Segment 17 widths [B] - branch 1 0.00 452.5423 415.6147 383.3506 349.6698 322.0666 287.4695 256.7997 243.0350 208.3781 0.00 0.00 0.00 0.00 Segment 18 widths [B] - branch 1 0.00 476.7668 423.1355 383.7937 339.2321 285.6434 247.5850 216.2673 198.4564 161.6522 0.00 0.00 0.00 0.00 Segment 19 widths [B] - branch 1 0.00 481.9361 425.1897 395.4624 349.0507 319.0845 279.7301 243.0047 225.6395 155.0927 0.00 0.00 0.00 0.00 Segment 20 widths [B] - branch 1 0.00 528.2881 461.7240 421.2240 386.1325 356.4915 315.7992 283.2929 250.3358 229.3852 0.00 0.00 0.00 0.00 Segment 21 widths [B] - branch 1 0.00 504.3785 439.0290 398.1410 366.5110 337.7862 308.8531 275.9899 241.0577 201.3870 0.00 0.00 0.00 0.00 Segment 22 widths [B] - branch 1 0.00 486.8572 449.9170 412.0841 372.4020 354.5911 315.1929 279.3543 249.9922 222.0586 168.4790 0.00 0.00 0.00 Segment 23 widths [B] - branch 1 0.00 573.5278 525.4482 490.3736 445.4278 389.9803 342.1959 299.0848 253.3032 207.0828 175.5707 0.00 0.00 0.00 Segment 24 widths [B] - branch 1 0.00 631.7649 550.9538 484.6968 425.9925 396.3706 355.1119 312.4111 249.5766 216.7933 187.7501 0.00 0.00 0.00 Segment 25 widths [B] - branch 1 0.00 620.6130 572.5121 507.6874 464.5295 417.1943 386.0785 348.3378 315.9725 272.2256 232.7414 0.00 0.00 0.00 Segment 26 widths [B] - branch 1 0.00 637.5398 589.1723 553.2786 498.1271 447.2658 409.4231 374.7564 323.7057 287.4030 242.2868 0.00 0.00 0.00 Segment 27 widths [B] - branch 1 0.00 637.5398 589.1723 553.2786 497.8688 447.2489 409.4231 374.7564 323.7057 287.4030 242.2868 0.00 0.00 0.00 Segment 28 widths [B] - branch 1 0.00 543.0789 504.2449 461.5781 427.1006 399.0952 357.5591 325.2768 286.2292 247.8006 212.7503 192.7397 0.00 0.00 Segment 29 widths [B] - branch 1 0.00 608.5442 562.1476 528.1578 479.4316 440.7138 402.0196 359.2800 333.0406 290.1161 255.5386 204.5506 0.00 0.00 Segment 30 widths [B] - branch 1 0.00 627.2295 578.8395 515.3368 470.6413 432.9214 387.5901 347.6803 307.0905 280.2836 251.2181 207.3668 0.00 0.00 Segment 31 widths [B] - branch 1 0.00 704.0542 644.2502 582.5842 544.8037 503.8788 450.0502 403.9979 356.6335 319.4247 262.0300 210.7170 169.3448 0.00 Segment 32 widths [B] - branch 1 0.00 942.0997 803.8274 684.7547 640.3798 577.8690 504.9849 432.7532 351.6581 295.1219 222.7482 205.0756 168.1134 0.00 Segment 33 widths [B] - branch 1 0.00 959.7638 846.9994 778.5131 668.4926 630.6491 580.1468 525.0083 470.8235 382.7357 321.8759 251.8218 216.8367 0.00 Segment 34 widths [B] - branch 1 0.00 1108.3450 1032.0683 906.3728 734.5580 609.1772 560.1175 499.7829 436.5599 292.5104 262.3382 221.3748 209.0742 0.00 Segment 35 widths [B] - branch 1 0.00 1144.0629 1056.7576 956.2533 858.2103 678.7985 571.1011 507.1473 467.3461 434.2856 337.2952 265.8111 209.8822 0.00 Segment 36 widths [B] - branch 1 0.00 894.7118 824.6717 774.3328 708.4225 639.9158 550.2198 492.1653 326.5740 287.5795 245.3221 210.6058 176.5454 0.00 Segment 37 widths [B] - branch 1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Forums: 

I had the same problem; it was that the number of segments in the bathymetry file (14 in your case) didn't match the number of segments in the w2con.npt (control) file. Check to make sure those numbers match. trent

Thanks Trent. The trouble was related to it.