Ubuntu16.04にQucs-s-0.0.21とXYCE-6.10(serial版)をインストール

Post date: 2019/03/25 13:42:00

QUCS-Sはバイナリが配布されているので、http://download.opensuse.org/repositories/home:/ra3xdh/xUbuntu_16.04/amd64/

からダウンロード。

apt-get install ngspice

dpkg -i qucs-s_0.0.21_amd64.deb

XYCEはUbuntuではソースからインストールする必要がある。

build instructionは、https://xyce.sandia.gov/documentation/BuildingGuide.html

1.必要なパッケージのインストール

apt-get install gcc g++ gfortran make cmake bison flex libfl-dev libfftw3-dev libsuitesparse-dev libblas-dev liblapack-dev libtool

2.Trilinos 12.12.1をソースからインストール

12.12.1をhttp://trilinos.org/からダウンロードし、展開したdirectoryで

mkdir build

サンプルのreconfigureを作成し、以下を変更

#SRCDIR=$HOME/Trilinos12.12/trilinos-12.12.1-Source

SRCDIR=..

#ARCHDIR=$HOME/XyceLibs/Serial

ARCHDIR=/usr/local/XyceLibs/Serial

reconfigureを実行

./reconfigure

make

make install

3.serial版XYCE 6.10をインストール

https://xyce.sandia.gov/documentation/BuildingGuide.html#buildXyce に従ってbuild

cd Xyce-6.10/

./configure ARCHDIR=/usr/local/XyceLibs/Serial

make

make install