Good day, everyone.
I would really appreciate your help in resolving an error I encountered while running SWAT+.
I am using QSWAT+ 4.0.1 on macOS.
Whenever I run SWAT+, I receive the following error:
Note: The following floating-point exceptions are signalling: IEEE_UNDERFLOW_FLAGIn addition, the Visualization option does not become available after the run. Some output files are generated in the TxtInOut folder, but I am not sure whether the simulation completed successfully or if the outputs are complete.
The scenario is also saved in the database folder. However, whenever I try to open it in SWAT+ Editor, I get the following error:
[Errno 2] No such file or directory: '/Volumes/Extreme_SSD/LWResearch/Yabu/Yabu/Scenarios/Default/Results'I initially thought the issue might be related to working from an external SSD, but I also tried running the project from my Mac's internal drive and encountered the same problem.
Has anyone experienced a similar issue on macOS or have any suggestions on how to resolve it? Any help would be greatly appreciated. Thank you!
Component: SWAT+ Editor / SWAT+ Executable (macOS compilation)
Area of impact: Model output database generation & visualization directory mapping
GIS Interface: QSWAT+ 4.0.1
SWAT+ Editor: v3.0.x (Integrated API with QSWAT+ 4.0.1)
SWAT+ Revision: Latest macOS build included in QSWAT+ 4.0.1 installer
Watershed Details: Yabu River Watershed (Delineated into 15 subbasins and 43 channel segments)
Modeling Aim: Long-term hydrological simulation and time-series extraction for monthly dependable flow calculations.
The Problem: The SWAT+ execution terminal runs through the simulation years successfully but terminates with a standard Fortran compiler message: Note: The following floating-point exceptions are signalling: IEEE_UNDERFLOW_FLAG.
The SWAT+ Editor interface intercepts this note as a hard crash, preventing the "Ran SWAT+" status indicator from changing to complete, and skipping the visualization database creation step. Consequently, the interface attempts to read a directory that was never created, throwing the following error when checking results:
[Errno 2] No such file or directory: '/Volumes/Extreme_SSD/LWResearch/Yabu/Yabu/Scenarios/Default/Results'
Note: The raw simulation outputs (such as channel_sd_mon.csv) are successfully written to the TxtInOut folder up to the final year, but the Editor fails to register completion or build the SQLite visualization files. Testing the project directory on both an external SSD and the Mac's internal drive yields the exact same behavior.
Steps to Reproduce:
Set up a project in QSWAT+ 4.0.1 on macOS with a 5-year warmup period and a simulation window through 2025.
Open the SWAT+ Editor, navigate to the execution tab, check "Run SWAT+" and "Analyze output for visualization" (Monthly print intervals).
Click "SAVE SETTINGS & RUN SELECTED".
The terminal window executes to completion, throws the floating-point note, and triggers the workspace directory crash.