[go: up one dir, main page]

User Activity

  • Modified a comment on discussion ngspice-users on ngspice

    Hello! I am writing extension for control of ngspice in form of shared library. My question is - what is the safe sequence for unloading shared library without memory corruption? My sequence is: 1. Tries to gracefully shut down background thread by bg_halt command, wait for the BGThreadRunning callback with some timeout (there is also checks that wait issuing bg_halt until thread is launched, if call to unload arrive at that transition time) 2. Send quit command to ngspice 3. Wait for ControlledExit...

  • Modified a comment on discussion ngspice-users on ngspice

    Hello! I am writing extension for control of ngspice in form of shared library. My question is - what is the safe sequence for unloading shared library without memory corruption? My sequence is: 1. Tries to gracefully shut down background thread by bg_halt command, wait for the BGThreadRunning callback with some timeout (there is also checks that wait issuing bg_halt until thread is launched, if call to unload arrive at that transition time) 2. Send quit command to ngspice 3. Wait for ControlledExit...

  • Modified a comment on discussion ngspice-users on ngspice

    Hello! I am writing extension for control of ngspice in form of shared library. My question is - what is the safe sequence for unloading shared library without memory corruption? My sequence is: 1. Tries to gracefully shut down background thread by bg_halt command, wait for the BGThreadRunning callback with some timeout (there is also checks that wait issuing bg_halt until thread is launched, if call to unload arrive at that transition time) 2. Send quit command to ngspice 3. Wait for ControlledExit...

  • Posted a comment on discussion ngspice-users on ngspice

    Hello! I am writing extension for control of ngspice in form of shared library. My question is - what is the safe sequence for unloading shared library without memory corruption? My sequence is: 1. Tries to gracefully shut down background thread by bg_halt command, wait for the BGThreadRunning callback with some timeout (there is also checks that wait issuing bg_halt until thread is launched, if call to unload arrive at that transition time) 2. Send "quit" command to ngspice 3. Wait for ControlledExit...

  • Posted a comment on discussion Help on ngspice

    Right after posting, I realized that I can just put quit command right after the write command...

  • Posted a comment on discussion Help on ngspice

    Hello! It may sounds strange, but my question is: Is it possible to override raw file that is specified with command line option -r in batch mode? For example, I want to save raw file inside .control section with write command under the same name as file specified with -r option, but with different vectors. If I just add write command, the file later is being overwritten by standard raw file. I know that I can just not specify -r option, but in my specific application, it is difficult to know if...

  • Modified a comment on discussion ngspice-users on ngspice

    As far as I know, there is no such feature now. In theory, it could be handled with compiling Ngspice as a shared library and control it precisely from external script that detects convergence issues, change tolerances and resume simulation, but still need confirmation from more experienced users

  • Posted a comment on discussion ngspice-users on ngspice

    As far as I know, there is no such feature now. In theory, it could be handled with compiling Ngspice and shared library and control it precisely from external script that detects convergence issues, change tolerances and continue running, but still need confirmation from more experienced users

View All

Personal Data

Username:
georgfour
Joined:
2017-05-05 08:42:28

Projects

  • No projects to display.

Personal Tools