ra3xdh / qucs_s

Qucs-S is a circuit simulation program with Qt-based GUI
https://ra3xdh.github.io/
GNU General Public License v2.0
853 stars 109 forks source link

ASCO optimization doesn't work with QucsatorRF but works with Qucsator #830

Closed ra3xdh closed 3 months ago

ra3xdh commented 3 months ago

The reason for this issue is that qucsator executable name is hardcoded inside ASCO sources. Also ASCO always assumes that qucsator is available from $PATH. This may make difficulties for running a portable version. The ways to resolve this:

ra3xdh commented 3 months ago

I have prepared a patched version of ASCO here: https://github.com/ra3xdh/asco_qucs_s Compile and install this version if you need to run optimizer with Qucs-S+QucsatorRF. You have to set the environment variable ASCO_SIM_PATH to full path to qucsator_rf if you are using stable v24.2.1 release. For example ASCO_SIM_PATH=/usr/bin/qucsator_rf The version from Git applies this environment variable automatically. I have submitted a patch to ASCO developers. Let's wait for reaction. If the patch will be not accepted, I will provide the patched ASCO version with the next Qucs-S release.

ra3xdh commented 3 months ago

I have contacted ASCO developers and they didn't advice to patch the ASCO. The #843 provides an another solution.

Closing this as resolved.