Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-27-2008, 11:00 AM   #1
Registered: Jul 2005
Distribution: Arch
Posts: 159

Rep: Reputation: 31
[SOLVED] replacing spice and nutmeg with ngspice

About 3 or 4 months ago I was still running Gentoo and used spice3f4 to do circuit analysis and nutmeg for post analysis for a linear circuit analysis course. Fast forwarding to now, I have installed Arch Linux, haven't completely scrapped Gentoo yet (making sure I have everything first), but I need some way of handling circuit analysis.

I tried installing spice3f5, but it didn't seem to work at all. So I decided to give ngspice a try. On Gentoo, when I installed spice3f4, it installed Nutmeg as well. However, when I installed ngspice, there was no Nutmeg.

So I was wondering, what do people do for post processing? I'm using a simple netlist to try out ngspice:
Forced RC Circuit

VS 1 0 10
C 1 2 100u IC=0
R 2 0 10k

.TRAN 0.5 5 0 1u UIC

with spice, since I wanted to use Nutmeg to do my post processing, I didn't need to include a .PLOT, .PRINT or .FOUR card. Is this different in ngspice?

Last edited by Berticus; 07-27-2008 at 01:51 PM.
Old 08-18-2008, 03:26 PM   #2
LQ Newbie
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
Use interactive commands

You can give interactive commands like:
plot V(1) or print V(1)
with the 'display' command you get the vectors which you can use to retrieve information from.

For the plot command you must have configured with --enable-xgraph.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to install ngSPICE, please help John-Z Linux - Software 3 08-18-2008 04:02 PM
where is ngspice abd_bela Debian 3 08-18-2008 03:43 PM
Help me spice up my Desktop! archlyn Linux - Software 33 08-12-2005 10:48 AM
Spice 3 Josh328 Linux - Software 1 11-11-2004 08:11 AM
Spice problems mrsolo Linux - Software 3 04-16-2003 09:08 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration