Hi, I recently installed xschem on windows 11 usin...
# xschem
f
Hi, I recently installed xschem on windows 11 using XSchem-3.4.4-64bit.msi. Followed the instructions at https://github.com/StefanSchippers/xschem/blob/master/XSchemWin/INSTALL_WIN. And the netlisting works OK. But xschem gives the following error message when I simulate.
s
Thank you for the report. I am forwarding this issue to the windows maintainer. I don't have a windows machine to test this. Will keep you updated.
j
I cannot reproduce this on version 3.4.4. When I press "Simulate", my Windows NGSpice Windows open up. Can you let me know what simulator you're using and what share your setting when yuou click on "Simulation" > "Configure simulators and tools".
@Stefan Schippers This has to do with variable "tctx::[xschem get current_win_path]_simulate". Is it necessary to "unset $simvar"? I'm not sure if there's a side effect with "unset tctx::[xschem get current_win_path]_simulate" vs "unset $simvar" where $simvar=tctx::[xschem get current_win_path]_simulate. Please advise.
f
Thanks Stefan and Joanne. Joanne, here is the snapshot of my Simulation" > "Configure simulators and tools".
s
@Joanne Low the issue seems not windows specific, i also have built the released 3.4.4 version and can't see the issue, so I am investigating if I can somehow trigger the problem...
@Faisal Mateen when you press 'Simulate' does ngspice start? try to set the
Status
checkbutton, so you see a status report dialog box at the end of the simulation (or any other message if there was a problem starting the simulator).
f
On pressing simulate checkbutton, Ngspice does not start. I get the following message
I have added Ngspice to the path though
Can you please suggest me a particular xschem example to run? just to narrow down the problem.
Even though the installation is tested for Window 10, it supposed to work for Windows 11. Right? https://github.com/StefanSchippers/xschem/blob/master/XSchemWin/INSTALL_WIN
Ngspice works now! Earlier, I had added ngspice folder to the PATH variable. But after adding the complete path to ngspice bin folder and checking simulate button, starts ngspice simulation! Thanks a lot for helping @Stefan Schippers and @Joanne Low
s
@Faisal Mateen Good it now works, I will investigate the reason of the cryptic error messages, that are not helping at all users for setting up things correctly.
@Joanne Low can you please check on windows if setting a wrong path for ngspice does show the above cryptic errors?
j
@Stefan Schippers I was able to reproduce "can't unset "tctx::.drw_simulate" errors if I remove the ngspice's in my PATH for v3.4.4. It has to do with "unset $simvar" in xschem.tcl. Once I remove that line, the cryptic message doesn't show up and xschem alerts with "Error running simulation procedure". This error, however, does not show up in the latest source of Xschem. With the latest source of Xschem, even if NGspice is not in the Path, the message will say "Proc execute error: couldn't execute "ngspice": no such file or directory", so the error message is more helpful.
s
Thank you, so I think this will go away in 3.4.5 release. I need to stabilize the code. then we can push a new release.
262 Views