Unable to run SWAT+

21 views
Skip to first unread message

Bruno Courtemanche

unread,
Oct 20, 2025, 11:54:45 AMOct 20
to SWAT+ Editor
Hello everyone,

I looked at this forum, and my question here is about a returning error... I tested the Robit example and everything seems to work fine on my computer. However, when I try to run the model with Canadian data, I don't know what is happening, but I am getting the error: 

forrtl: error (73): floating divide by zero Image PC Routine Line Source rev61.0.1_64debug 00007FF7291C7FB8 CURNO 59 curno.f90 rev61.0.1_64debug 00007FF729653CAC CN2_INIT 30 cn2_init.f90 rev61.0.1_64debug 00007FF729418E52 CN2_INIT_ALL 14 cn2_init_all.f90 rev61.0.1_64debug 00007FF72A138F39 PROC_HRU 37 proc_hru.f90 rev61.0.1_64debug 00007FF72A5FAC19 MAIN__ 71 main.f90 rev61.0.1_64debug 00007FF72AD9B0EB Unknown Unknown Unknown rev61.0.1_64debug 00007FF72AD9B819 Unknown Unknown Unknown rev61.0.1_64debug 00007FF72AD9B732 Unknown Unknown Unknown rev61.0.1_64debug 00007FF72AD9B5EE Unknown Unknown Unknown rev61.0.1_64debug 00007FF72AD9B88E Unknown Unknown Unknown KERNEL32.DLL 00007FFA22B9E8D7 Unknown Unknown Unknown ntdll.dll 00007FFA2426C53C Unknown Unknown Unknown

I looked to see where the issue could be by comparing with the provided example, but I am at a loss here. If you could help me, I would really appreciate!

Thanks!
TxtInOut.zip

Osman Furkan TOKGÖZ

unread,
Oct 24, 2025, 10:32:29 AMOct 24
to SWAT+ Editor
This "floating devided by zero" error is caused by an empty row in your data. Check your precipitation and temperature or other similar datas, look at especially the last row. If there is an empty row, the program assumes it as zero and trying to divide some values with it. Delete that empty row and try to run again.
Look the Robit example data, there is no empty row at the end.

20 Ekim 2025 Pazartesi tarihinde saat 18:54:45 UTC+3 itibarıyla lar...@gmail.com şunları yazdı:

Bu e-posta mesajı ve ekinde bulunabilecek dosyalar yalnız mesajın alıcı hanesinde kayıtlı kullanıcı(lar) içindir. Mesajın alıcısı değilseniz, lütfen hemen göndericiyi uyarınız. Mesajı dağıtmayınız, kopyalamayınız, içeriğini açıklamayınız ve çıktı almaksızın siliniz. Bu mesajda kayıtlı görüş ve düşünceler hiçbir şekilde Erzurum Teknik Üniversitesi atfedilemeyeceği gibi, kurumumuz açısından bağlayıcı da değildir. Virüs ve kötü amaçlı yazılımların bu mesajda yerleşmesinin engellenmesi amacıyla gerekli tüm önlemler alınmış olsa da bu mesajın sisteminizde yaratabileceği kayıp ve zararlardan dolayı kurumumuz hukuken sorumluluk kabul etmez. Erzurum Teknik Üniversitesinin alanında yürüttüğü faaliyetlere ilişkin bilgi almak için internet sitemizi (erzurum.edu.tr) ziyaret edebilirsiniz.
Reply all
Reply to author
Forward
0 new messages