SWAT+ 61.0.2.11 in Linux

7 views
Skip to first unread message

Miraj Kayastha

unread,
Oct 15, 2025, 9:37:48 AMOct 15
to SWAT+
I successfully compiled and produced the Linux version of the SWAT+ executable (v61.0.2.11) using the source code from github.

However, running "ctest" (which makes sure the SWAT+ executable is correct) produces the following error:

Test project /home/mirajbk/SWATplus/swatplus/build
    Start 1: Ames_sub1
less 1/1 Test #1: Ames_sub1 ........................***Failed    1.95 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   1.97 sec

The following tests FAILED:
  1 - Ames_sub1 (Failed)
Errors while running CTest


Looking at the log, I got the following error:

Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.

Backtrace for this error:
#0  0x987dff in ???
#1  0x96ed20 in ???
#2  0x968681 in ???
#3  0x54b5dc in ???
#4  0x8fb40b in ???
#5  0x6a921b in ???
#6  0x5022be in ???
#7  0x9093c1 in ???
#8  0x744a22 in ???
#9  0x401e1b in ???
#10  0x981463 in ???
#11  0x9816e0 in ???
#12  0x402215 in ???


I found that the error occurs on days with high precipitation. Has anyone encountered this problem? Any help is appreciated.

Miraj

Reply all
Reply to author
Forward
0 new messages