Personal computing discussed
slowriot wrote:http://ngspice.sourceforge.net/
Closest I could find.
just brew it! wrote:Yup, ngspice seems to be the modern-day descendant.
If you really want to use legacy SPICE 2 (which seems to have not been maintained since the 1980s) for some reason, there's apparently source code available here: https://embedded.eecs.berkeley.edu/pubs ... /index.htm
I took a quick peek at the SPICE 2 for UNIX one... it's a single 18,000+ line FORTRAN module. Yikes! I imagine you could probably get that to compile under Linux though.
meerkt wrote:Why this specific version?
just brew it! wrote:Compiling isn't *that* scary. On Linux, all of the tools required to do it are typically in the distro's repository -- even for "legacy" languages like FORTRAN and COBOL. Best case, it "just works". Worst case it throws a bunch of compile errors, at which point you either say "oh well, that didn't work" and move on, or start a deep dive to figure out how to get it to compile.
Redocbew wrote:
DrDominodog51 wrote:
just brew it! wrote:
just brew it! wrote:ngspice is probably your best bet, as it is still supported.
Alternatively, I'd try building one of the older source versions with a modern distro like Ubuntu and post the compilation errors here. It might be something simple.
Installing the FORTRAN compiler on Linux is trivial, so you could even try the UNIX version of SPICE 2. I can probably walk you through giving that a shot if you want.
The Ministry of Dependency Hell wrote:rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames)
libICE.so.6()(64bit)
libSM.so.6()(64bit) >= ??
libX11.so.6()(64bit)
libXaw.so.7()(64bit)
libXext.so.6()(64bit)
libXmu.so.6()(64bit)
libXt.so.6()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.7)(64bit)
libm.so.6()(64bit) >= ??
libm.so.6(GLIBC_2.2.5)(64bit) >= ??
libtermcap.so.2()(64bit) < ??
rtld(GNU_HASH)
rpmlib(PayloadIsLzma) < 4.4.6-1
just brew it! wrote:Just took a quick look at the FORTRAN version for you. I got the monster (18000+ lines) main program to compile (with some warnings), but it too seems to be depending on some library routines that are missing (undefined references at link time).
Looks like getting legacy SPICE up and running on a modern system is a non-trivial exercise.
just brew it! wrote:Getting back to your ngspice (mis)adventure... those look like standard runtime, math, X11, etc. libraries. Whatever is shipped with the distro might work even if they are not the exact same version. Not sure what's up with the missing header file that seems to be part of the reason for your compilation difficulties...