WEB开发网
开发学院服务器云计算 abinit自动安装脚本 阅读

abinit自动安装脚本

 2012-10-29 13:46:12 来源:WEB开发网   
核心提示: 1、首先将该版本需要的所有软件包down到本地,放到abinit源码所在文件夹下,abinit自动安装脚本,2、完成intel编译器、mpi等基础环境的调试,3、#!/bin/bashecho -en '\e[31m The script writed by xtao! \e[0m \n'echo -

 1、首先将该版本需要的所有软件包down到本地,放到abinit源码所在文件夹下。
2、完成intel编译器、mpi等基础环境的调试。
3、

#!/bin/bash
echo -en '\e[31m The script writed by xtao! \e[0m \n'
echo -en '\e[31m Power by xtao ! \e[0m \n'
echo 'Now copy the files! \n'
mkdir -p ~/.abinit/arballs
cp ./*.tar.gz ~/.abinit/tarballs
echo 'Now configure and install the abinit 6.8.1 ! \n'
./configure --prefix=installdir --enable-mpi --with-mpi-prefix=mpipath --with-linalg-libs="-L/public/software/intel/Compiler/11.1/059/mkl/lib/em64t -lmkl_intel_lp64 -lmkl_core -lmkl_sequential"
make mj4 && make install
echo 'All are finished! \n'
make clean

echo 'Thank you for using ! \n'

Tags:abinit 自动 脚本

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接