Connect with us

Linux and spice

Discussion in 'Electronic Design' started by framin, Mar 29, 2007.

Scroll to continue with content
  1. framin

    framin Guest

    Hi to all,
    I'm looking for a version of spice which runs under Linux.
    I tried to use gEDA with ngspice but it doesn't work.
    I've tried to use it a lot of time.
    Thanks to all
    Franco
     
  2. Guest

    Go and ask the gEDA user-group/mailing-list what you are doing wrong.
    They are a smart and helpful bunch.

    Just searching the mailing list might be enough to crack the problem.
     
  3. Ian Bell

    Ian Bell Guest

    LTSpice runs fine under wine.

    Ian
     
  4. Guest

    Ngspice works fine under Suse 10.
     
  5. SwitcherCAD (LT Spice) works under Wine. The developer specifically
    tests this scenario, I believe.
     
  6. JeffM

    JeffM Guest

  7. Rich Grise

    Rich Grise Guest

    How do you search a mailing list?

    Thanks,
    Rich
     
  8. Rich Grise

    Rich Grise Guest

    Where's the "Wind for dummies" page?

    Thanks,
    Rich
     
  9. JeffM

    JeffM Guest

  10. jasen

    jasen Guest

    ltspice running under wine.

    works good.

    Bye.
    Jasen
     
  11. Rich Grise

    Rich Grise Guest

    ^^^^
    Wine, of course.

    Thanks,
    Rich
     
  12. jasen

    jasen Guest

    Just install wine, on this debian system I did "apt-get install wine" and
    it downloaded and installed wine.

    download ltspice, the url is http://ltspice.linear.com/software/swcadiii.exe

    then do "wine swcadiii.exe" this will install ltspice

    then do " wine 'c:\Program Files\LTC\SwCADIII\scad3.exe' " when you want to
    run it - it's probably convenient to create a script or launcher that does
    that to save typing.

    Bye.
    Jasen
     
  13. Rich Grise

    Rich Grise Guest

    I downloaded the latest and greatest source, so I have:

    $ wine --version
    wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
    It will most likely crash. Please upgrade to a glibc with NPTL support.
    wine-0.9.34
    $

    Hmm - this is the first time I've tried wine --version; I don't understand
    that glibc thing: I'm running Slackware 11.0;
    $ uname -a Linux heartwood 2.4.33.3 #1 Fri Sep 1 01:48:52 CDT 2006 i686
    athlon-4 i386 GNU/Linux

    and when I do
    $ wine /G/Software/swcadiii.exe
    it does this:
    $ wine /G/Software/swcadiii.exe
    wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
    It will most likely crash. Please upgrade to a glibc with NPTL support.
    wine: Unhandled page fault on write access to 0x003ffd80 at address 0x60cf2103 (thread 0009), starting debugger...
    wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
    It will most likely crash. Please upgrade to a glibc with NPTL support.
    Unhandled exception: page fault on write access to 0x003ffd80 in 32-bit code (0x60cf2103).
    Register dump:
    CS:0023 SS:002b DS:002b ES:002b FS:1007 GS:0000
    EIP:60cf2103 ESP:0033e718 EBP:0033ea80 EFLAGS:00210212( - 00 - RIA1)
    EAX:0033ebb0 EBX:60cf9ff4 ECX:60cf12e0 EDX:00000001
    ESI:003ffbe0 EDI:60017020
    Stack dump:
    0x0033e718: 0033e758 60cf885c 0033e758 0033e754
    0x0033e728: 00000000 00000000 0000eb58 00000005
    0x0033e738: 00001000 00000001 0000ee5c 60017020
    0x0033e748: 60cfa1b4 60cfa1b8 0033e9d8 0000001e
    0x0033e758: 46203123 53206972 31207065 3a313020
    0x0033e768: 353a3834 44432032 30322054 60003630
    0200: sel=1007 base=7ffdc000 limit=00001fff 32-bit rw-
    Backtrace:
    =>1 0x60cf2103 pthread_initialize+0x293() in libpthread.so.0 (0x0033ea80)
    2 0x60cf87d5 __do_global_ctors_aux+0x25() in libpthread.so.0 (0x0033ea90)
    3 0x60cedaa2 _init+0x12() in libpthread.so.0 (0x0033ea98)
    4 0x6000c3af _dl_init+0x25f() in ld-linux.so.2 (0x0033eae8)
    ....
    and on and on for about 3 pages.

    Now what?

    Thanks,
    Rich
     
  14. Ian Bell

    Ian Bell Guest


    No need to compile it. Go to www.linuxpackages.net where you will find a
    Slack pack for wine for slackware. This link should get you straight there.

    http://www.linuxpackages.net/search_view.php?by=name&name=wine&ver=11.0

    Ian
     
  15. Rich Grise

    Rich Grise Guest

    OK, so I've done that, and I get:
    ###
    $ wine /G/Software/swcadiii.exe
    wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
    It will most likely crash. Please upgrade to a glibc with NPTL support.
    wine: Unhandled page fault on write access to 0x003ffd80 at address 0x60cf1103 (thread 0009), starting debugger...
    wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
    It will most likely crash. Please upgrade to a glibc with NPTL support.
    wine: Unhandled page fault on write access to 0x003ffd80 at address 0x60936103 (thread 000b), starting debugger...
    wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
    It will most likely crash. Please upgrade to a glibc with NPTL support.
    err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x6000c04b

    $ wine: Unhandled page fault on write access to 0x003ffd80 at address 0x60936103 (thread 000d), starting debugger...
    err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x6000c04b
    err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x6000c04b

    $ wine --version
    wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
    It will most likely crash. Please upgrade to a glibc with NPTL support.
    wine-0.9.33
    ###

    So do I need a different library or something?

    Thanks,
    Rich
     
  16. Ian Bell

    Ian Bell Guest

    Very interesting. I installed switcherCAD using an earlier version of wine
    and have only just upgraded to the version I told you about. I don't
    normally run it from the command line but I just tried it and I get the
    same initial glibc message you did but then it runs OK. Clearly the
    installer will not run at all now from your own tests. I need to look into
    this further.

    Ian
     
  17. Ian Bell

    Ian Bell Guest

    Right, checking on linuxpackages.net reveals that this version of wine is
    meant for 2.6 kernels and the error occurs if you run with a 2.4 kernel. So
    you could upgrade to a 2.6 kernel or roll back wine far enough to be 2.4
    kernel compatible. I run 2.4 kernel so I have to make this decision too.Not
    sure which way to go yet.

    Ian
     
  18. Ian Bell

    Ian Bell Guest

    If you want to keep a 2.4 kernel try the 9.2.0 version of wine from
    linuxpackages.net. This does work but has a bug with some dialog boxes -
    leaves them blank. The workaround is to minimise then maximise them and the
    content is restored.

    Ian
     
  19. jasen

    jasen Guest

    looks like a slackware problem. try rebuilding glibc with those options
    turned on.

    Bye.
    Jasen
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-