flooxs编译

flooxs编译

flooxs是半导体工艺、器件仿真软件。 半导体工艺/器件仿真,本质上来说是有限元方法在半导体工业中的应用。 70年代后随着有限元计算的广泛应用,standford 开 始编写基于漂移扩散理论的二维半导体器件模拟软件pisces和工艺仿真SUPREM 。suprem作者之一 是佛罗里达大学的law教授后来又写了另一套tcad软件 flooxs ,这套软件包括floops和 floods两个模块。
ISE-TCAD公司,着手重写了pisces代码推出了自主的器件仿真程序 dessis,后来购买了flooxs软件,作为自己tcad的工艺仿真模块FLOOPS-ISE的雏形,整合进ISE-TCAD. ISE-TCAD功能非常强大,最后一个版本是ISE-TCAD 10.0,之后被synopsys收购。[1]
flooxs软件需要签署使用文件,经作者同意后方可得到。安装和使用可参考网址:http://www.flooxs.ece.ufl.edu/index.php/Main_Page 点击打开链接
flooxs由C++写成。需要使用BLAS、LAPACK、PETSC和UMFPACK等数学计算库,采用tcl/tk和BLT实现交互和用户界面。用户可已使用tcl语言和在其上开发的Alagator 命令编写计算脚本。
flooxs 2008 版本已经非常古老,其采用的blt2.4组件在较新系统中存在诸多问题,无法正常工作。所以系统采用上面wiki网址中提到的Ubuntu10.10.首先需在虚拟机中安装子系统。此版本系统早已过了支持期,为使用apt-get命令获取组件,需先更新源列表文件。
$cd /etc/apt
$sudo gedit source.list


## Major bug fix updates produced after the final release of the
## distribution.
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
 
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://old-releases.ubuntu.com/ubuntu/ maverick universe
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates universe
 
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick multiverse
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse
 
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://us.old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
 
#remastersys for backup installed system
#deb http://www.remastersys.com/ubuntu maverick main

$sudo apt-get update
1.安装3.4版本编译器
flooxs在gcc 4.x下无法通过编译。需要在先安装gcc-3.4(gcc-3.4/g++-3.4/g77-3.4/fort77)版本的编译器。
参考:http://blog.163.com/ljjsj@126/blog/static/1315754682014322942478/
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/gcc-3.4-base_3.4.6-6ubuntu3_amd64.deb
dpkg --force-depends -i gcc-3.4-base_3.4.6-6ubuntu3_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/gcc-3.4_3.4.6-6ubuntu3_amd64.deb
dpkg --force-depends -i gcc-3.4_3.4.6-6ubuntu3_amd64.deb 
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/cpp-3.4_3.4.6-6ubuntu3_amd64.deb
dpkg --force-depends -i cpp-3.4_3.4.6-6ubuntu3_amd64.deb 
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/g++-3.4_3.4.6-6ubuntu3_amd64.deb
dpkg --force-depends -i g++-3.4_3.4.6-6ubuntu3_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/libstdc++6-dev_3.4.6-6ubuntu3_amd64.deb
dpkg --force-depends -i libstdc++6-dev_3.4.6-6ubuntu3_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/g77-3.4_3.4.6-6ubuntu3_amd64.deb
dpkg --force-depends -i g77-3.4_3.4.6-6ubuntu3_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/libg2c0_3.4.6-6ubuntu3_amd64.deb
dpkg --force-depends -i libg2c0_3.4.6-6ubuntu3_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/libg2c0-dev_3.4.6-6ubuntu3_amd64.deb
dpkg --force-depends -i libg2c0-dev_3.4.6-6ubuntu3_amd64.deb
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-3.4 30
2.安装tcl、tk、blt
由于blt2.4的问题,无法使用高版本的tcl/tk。自行编译的tcl、tk存在一些未知问题,只能使用编译好的deb包。参照上面网址的教程
$sudo apt-get install tk8.3-dev tcl8.3-dev tk8.4-dev tcl8.4-dev
编译blt
使用support文件中自带的blt2.4y。
       $ cd $FLXSHOME/support/blt2.4y
       $ ./configure --with-tcl=/usr/lib/tcl8.3 --with-tk=/usr/lib/tk8.3
       $ make
       $ sudo make install
测试
$bltwish
弹出bltwish窗口。
3.安装lapack、blas、SuperLU
$sudo apt-get install liblapack3gf liblapack-dev
$sudo apt-get install libsuperlu3-dev
4.编译UMFpack
       $ cd $FLXSHOME/support/UMFPACKv5.0/UFconfig/
       $ gedit UFconfig.mk
修改
       # 64bit:
       F77FLAGS = -O -m64
       CFLAGS = -O3 -fexceptions -m64
       # BLAS = -lgoto64 -lfrtbegin -lg2c -lpthread $(XERBLA)
       LAPACK = -llapack64
       $ cd $FLXSHOME/support/UMFPACKv5.0/UMFPACK
       $ make
5.
未完待续。。。。。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值