Hi,
Does anyone have the experience of compiling SWAT+ Editor and QSWAT+ for MacOS (M2) and using the executable file from GitHub and encounter the same error?
1. Primary Issue Location
• Component: SWAT+ Executable
• Area of impact: Model run / executable behavior on macOS
2. Software Versions
• GIS Interface: QSWAT+ (compiled from GitHub source) on QGIS 3.44
• SWAT+ Editor: SWAT+ Editor (compiled from GitHub source)
• SWAT+ Revision: 61.0.2.61
• Executable source: SWAT+ release binary for macOS ARM64
• Download link: https://github.com/swat-model/swatplus/releases/download/61.0.2.61/swatplus-61.0.2.61-gnu-mac_arm64-Rel.zip
3. Project Characteristics
• Watershed Details: Example dataset (Robit) from the official SWAT+ Editor example datasets folder.
• Modeling Aim: General test run of the example project to verify the workflow on macOS
4. Description of Issue
• The Problem:
The project setup appears to complete successfully in QSWAT+ and SWAT+ Editor, but the SWAT+ executable crashes immediately when starting the model run (run directly in Editor). The error shown is:
Program received signal SIGILL: Illegal instruction.This looks like the executable is encountering an illegal CPU instruction rather than a normal model-input or formatting error.
5. Supporting Data
See the attachment.