Version 4 (modified by 18 months ago) ( diff ) | ,
---|
用户手册
基本介绍
ISSDE是并行程序,在Linux平台编译运行。
程序安装
安装需求
- gcc-7.5.0
- openmpi-4.1.1
- gsl函数库
- Eigen函数库
gcc-7.5.0安装
sudo apt install gcc-7.5.0
openmpi-4.1.1安装
- 在openmpi官网下载安装包
- 解压,编译,安装
tar -zxvf openmpi-4.1.1 cd openmpi-4.1.1 ./configure --prefix=/opt/openmpi-4.1.1 --enable-mpi-cxx --enable-mpi-cxx-seek --enable-debug make make install
openmpi-4.1.1配置
vim ~/.bashrc
- 将以下内容添加到.bashrc结尾
export PATH=$PATH:/opt/openmpi-4.1.1/bin export C_PATH=$C_PATH:/opt/openmpi-4.1.1/include export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/openmpi-4.1.1/lib export LIBRARY_PATH=/$LIBRARY_PATH:/opt/openmpi-4.1.1/lib export INCLUDE=$INCLUDE:/opt/openmpi-4.1.1/include
- 更新配置
source ~/.bashrc
gsl函数库安装配置
- 在gsl官网下载安装包
- 解压,编译,安装
tar -zxvf gsl-lastest.tar.gz make make install
Eigen函数库安装配置
- 在Eigen函数库官网下载安装包
- 解压,移动到lib目录下
tar -zxvf eigen-3.4.0.tar.gz
ISSDE程序获取
git clone https://github.com/tingkefengren/ES1d.git
程序编译
cd src make
程序运行
cd bin mpirun -np 4 ./a.out
参数设置
Note:
See TracWiki
for help on using the wiki.