Changes between Version 1 and Version 2 of user_page


Ignore:
Timestamp:
Nov 3, 2022, 6:50:57 AM (2 years ago)
Author:
tingke
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • user_page

    v1 v2  
    22
    33== 基本介绍
     4ISSDE是并行程序,在Linux平台编译运行。
    45
    56== 程序安装
    67
    78=== 安装需求
     9* gcc-7.5.0
     10* openmpi-4.1.1
     11* gsl函数库
     12
     13=== gcc-7.5.0安装
     14{{{
     15sudo apt install gcc-7.5.0
     16}}}
     17
     18=== openmpi-4.1.1安装
     19* 在openmpi官网下载[https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.1.tar.gz 安装包]
     20* 解压,编译,安装
     21{{{
     22tar -zxvf openmpi-4.1.1
     23cd openmpi-4.1.1
     24./configure --prefix=/opt/openmpi-4.1.1 --enable-mpi-cxx --enable-mpi-cxx-seek --enable-debug
     25make
     26make install
     27}}}
     28
     29=== openmpi-4.1.1配置
     30{{{
     31vim ~/.bashrc
     32}}}
     33* 将以下内容添加到.bashrc结尾
     34{{{
     35export PATH=$PATH:/opt/openmpi-4.1.1/bin
     36export C_PATH=$C_PATH:/opt/openmpi-4.1.1/include
     37export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/openmpi-4.1.1/lib
     38export LIBRARY_PATH=/$LIBRARY_PATH:/opt/openmpi-4.1.1/lib
     39export INCLUDE=$INCLUDE:/opt/openmpi-4.1.1/include
     40}}}
     41* 更新配置
     42{{{
     43source ~/.bashrc
     44}}}
     45
     46=== gsl安装配置
     47* 在gsl官网下载[https://mirror.ibcp.fr/pub/gnu/gsl/gsl-latest.tar.gz 安装包]
     48* 解压,编译,安装
     49{{{
     50tar -zxvf gsl-lastest.tar.gz
     51make
     52make install
     53}}}
     54
     55=== ISSDE程序获取
     56{{{
     57git clone https://github.com/tingkefengren/ES1d.git
     58}}}
    859
    960== 程序编译
     61{{{
     62cd src
     63make
     64}}}
    1065
    1166== 程序运行
     67{{{
     68cd bin
     69mpirun -np 4 ./a.out
     70}}}