Dear all,
I have a question related to a runtime error with the engine in QSWATMOD2.
When executing the SWAT-MODFLOW engine from the QSWATMOD2 interface, the most recently updated compiled engine (swatmf_rel230818.exe) provided by the SWAT-MODFLOW website or GitHub runs without issues.
However, the SWAT-MODFLOW engine that I compiled myself from source code does not run in QSWATMOD.
I have made sure to name the engine as required by QSWATMOD2.py.
However, when I run the engine directly within the SWAT-MODFLOW folder, it simulates without any problems.
Do I need an engine compiled specifically for the QSWATMOD2 interface environment?
Thank you very much. Waiting eagerly for the reply.
With best regards
Seoro Lee
Dear Seonggyu Park,
I've tried several approaches and identified the source of the error message.
When the recompiled engine from the original SWAT-MODFLOW3 model's source codes exists within the SWAT-MODFLOW folder, clicking 'run' on the QSWATMOD2 interface triggers a subprocess error.
Is there a relationship between the newly compiled engine and subprocess.py? Additionally, I would like to inquire if there is a solution related to this issue.
Thank,
Seoro
------------------------------------------
2023-11-02T22:13:39 WARNING warning:C:\PROGRA~1\QGIS32~1.1\apps\Python39\lib\subprocess.py:1052: ResourceWarning: subprocess 51180 is still runningHi Seonggyu,
I can confirm that the compiled executable (new_compiled_SWAT-MODFLOW3.exe) runs without any issues in the Windows command prompt.
However, I am encountering problems when trying to execute it within the QSWATMOD interface.
Please find the QSWATMOD project files for your reference. I truly appreciate your willingness to assist with this matter amidst your busy schedule.
Whenever you have a moment to spare, I would greatly appreciate it if you could review the attached project.
Best regards,
Seoro
--
You received this message because you are subscribed to a topic in the Google Groups "SWAT-MODFLOW" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swat-modflow/tJKS3JmyuxQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swat-modflow...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/swat-modflow/7ea0cc1b-7440-434e-8ca4-3c2a01e5d0d3n%40googlegroups.com.