| 9 | * gcc-7.5.0 |
| 10 | * openmpi-4.1.1 |
| 11 | * gsl函数库 |
| 12 | |
| 13 | === gcc-7.5.0安装 |
| 14 | {{{ |
| 15 | sudo 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 | {{{ |
| 22 | tar -zxvf openmpi-4.1.1 |
| 23 | cd openmpi-4.1.1 |
| 24 | ./configure --prefix=/opt/openmpi-4.1.1 --enable-mpi-cxx --enable-mpi-cxx-seek --enable-debug |
| 25 | make |
| 26 | make install |
| 27 | }}} |
| 28 | |
| 29 | === openmpi-4.1.1配置 |
| 30 | {{{ |
| 31 | vim ~/.bashrc |
| 32 | }}} |
| 33 | * 将以下内容添加到.bashrc结尾 |
| 34 | {{{ |
| 35 | export PATH=$PATH:/opt/openmpi-4.1.1/bin |
| 36 | export C_PATH=$C_PATH:/opt/openmpi-4.1.1/include |
| 37 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/openmpi-4.1.1/lib |
| 38 | export LIBRARY_PATH=/$LIBRARY_PATH:/opt/openmpi-4.1.1/lib |
| 39 | export INCLUDE=$INCLUDE:/opt/openmpi-4.1.1/include |
| 40 | }}} |
| 41 | * 更新配置 |
| 42 | {{{ |
| 43 | source ~/.bashrc |
| 44 | }}} |
| 45 | |
| 46 | === gsl安装配置 |
| 47 | * 在gsl官网下载[https://mirror.ibcp.fr/pub/gnu/gsl/gsl-latest.tar.gz 安装包] |
| 48 | * 解压,编译,安装 |
| 49 | {{{ |
| 50 | tar -zxvf gsl-lastest.tar.gz |
| 51 | make |
| 52 | make install |
| 53 | }}} |
| 54 | |
| 55 | === ISSDE程序获取 |
| 56 | {{{ |
| 57 | git clone https://github.com/tingkefengren/ES1d.git |
| 58 | }}} |