返回主目录
[lmp_demo
@mol src]$ cd
编辑.bashrc
[lmp_demo@mol ~]$ vi .bashrc
添加以下语句
export PATH=~/mpich/bin:$PATH
export LD_LIBRARY_PATH=~/mpich/lib:$LD_LIBRARY_PATH
export PATH=~/fftw/bin:$PATH
export LD_LIBRARY_PATH=~/mpich/lib:$LD_LIBRARY_PATH
export PATH=~/lammps-install/src:$PATH
wq保存
然后sourc一下
[lmp_demo@mol ~]$ source .bashrc