<@U03DF1S9UJ0> how have you done the installtion ...
# reram
b
@Talha Bin Azmat how have you done the installtion of xyce ? I have difficulty in installing Trilinos. Any help?
t
These are the notes I made on building Xyce on a Fedora system (library names will be different on systems like Ubuntu and Debian):
Copy code
Building Xyce
-------------
2/14/2022:

------------------
Started at <http://xyce.sandia.gov|xyce.sandia.gov> web page, installation.

Installed in ~/src/.  After installation, directory ~/src/ has:

        Trilinos-trilinos-release-12-12-1
        Xyce-7.4
        XyceLibs
        Xyce_Docs-7.4

Installing prerequisites using yum install:

        blas-devel
        lapack-devel
        suitesparse-devel
        openmpi-devel

        NOTE: openmpi-devel puts a lot of executables in the path
        /usr/lib64/openmpi/bin without any links to them from
        standard places.  Create symbolic links as needed from
        /usr/bin/:

                mpicc
                mpic++
                mpif77
                mpicxx

        seemed to be sufficient.

Installing Trilinos:

        Make directory "build" and cd to it.
        Create "reconfigure" script from Xyce website how-to.
        Changed SRCDIR to point to $HOME/src/Trilinos-trilinos-...
        Changed ARCHDIR to point to $HOME/src/XyceLibs/Parallel

        Everything else the same.
        chmod a+x and run.
        After fixing the openmpi stuff mentioned above, it completed.

        Do:
                make
                make install

        (Install directory has been specified as local to my home
        directory, so does not need "sudo")

Building Xyce:
        cd Xyce-7.4
        ./bootstrap

Configuring Xyce to point to Trilinos install:
        mkdir build
        cd build

Like Trilinos, pick up the configure options from the website page
and drop them into a "reconfigure.sh" script and run that.

        ./reconfigure.sh

Hmm. . .  Says C++ compiler doesn't work?
        needed to add "mpicxx" to list above.

Also says iverilog not found (easily fixed, and needed at any rate)

        Iverilog obtained from <http://github.com/steveicarus|github.com/steveicarus>
        Running autoconf.sh required first installing "gperf".
        Now building.
        Installed, seems to be running properly.

Now Xyce succeeds in the reconfigure.  Continuing with make.

        Yay, success (apparently)!

NOTE:  Further builds done using the github source, not the 3-year-old
version 7.4, especially as those builds include updates for sky130
compatibility.
🙌 1
The notes were mostly for my own benefit, so if anything is not clear, just ask.
b
@Tim Edwards I have installed xyce. Could you tell how to use it in conjunction with xschem?
t
Generally, it works just like ngspice except that it doesn't understand a ".control" block, so you have to simplify the controls to basic analysis types. There are other minor issues which have been posted mostly on the #xyce channel.
b
@Tim Edwards The location of xyce is diffrent from that of xschem. So how can tell xschem about the location of xyce before running xschem?
Is there any tutorial regarding the use of xyce? Could you share if any?
t
Best to ask in the #xschem and #xyce channels.