Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SPICE Segmentation violation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
nomind
Apprentice
Apprentice


Joined: 03 Feb 2005
Posts: 270

PostPosted: Mon Nov 14, 2005 10:30 pm    Post subject: SPICE Segmentation violation Reply with quote

Hello,

I'm wondering if anyone here has any experience with the Portage implementation of SPICE (circuit simulation). Whenever I try to run a spice script, the bloody thing segfaults. Any clues as to why?

Thanks
Back to top
View user's profile Send private message
zatalian
Apprentice
Apprentice


Joined: 27 Aug 2002
Posts: 179
Location: Gent, Belgium

PostPosted: Tue Nov 15, 2005 11:47 am    Post subject: Reply with quote

What version of spice is that? There are a few spice versions in portage.
sci-electronics/ng-spice-rework is working fine over here after it got installed while emerging geda.
Back to top
View user's profile Send private message
nomind
Apprentice
Apprentice


Joined: 03 Feb 2005
Posts: 270

PostPosted: Tue Nov 15, 2005 7:05 pm    Post subject: Reply with quote

Thanks for the reply!

I'm using sci-electronics/spice (version 3.5.5, the current stable), and have temporarily switched to gnucap, since it's mostly spice-compatible. However, I will definitely unmask ng-spice-rework and give it a shot.

Thank you.
Back to top
View user's profile Send private message
zatalian
Apprentice
Apprentice


Joined: 27 Aug 2002
Posts: 179
Location: Gent, Belgium

PostPosted: Wed Nov 16, 2005 10:04 am    Post subject: Reply with quote

Looks like i have sci-electronics/spice installed to.
It is working without segfaults over here.
What circuit are you trying to simulate?
Back to top
View user's profile Send private message
nomind
Apprentice
Apprentice


Joined: 03 Feb 2005
Posts: 270

PostPosted: Sun Nov 27, 2005 11:49 pm    Post subject: Reply with quote

Sorry for the delay in replying. I haven't logged in here for more than a week.
Even the simplest circuits segfault spice. However, for thoroughness, here's the circuit I'm trying to simulate:
Code:

common-emitter amplifier                                                       
vinput 1 0 sin (0 1.5 2000 0 0)
r1 1 2 1k       
q1 3 2 0 mod1   
rspkr 3 4 8     
v1 4 0 dc 15   
.model mod1 npn
.tran 0.02m 0.74m 
.plot tran v(1,0) i(v1)
.end


ngspice works great though (well almost; it doesn't segfault, but it does complain about the "level").
I guess I should tone down the CFLAGS for sci-electronics/spice :P

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum