openmpi和blcr
一、安装软件
1 download blcr-0.8.4.tar.gz
2 install blcr
tar xvzf blcr-0.8.4.tar.gz
cd blcr-0.8.4
./configure --prefix=/opt/openmpi
make
make install
3 install openmpi
tar xvjf openmpi-1.4.5.tar.bz2
cd openmpi-1.4.5
./configure --with-ft=cr --with-blcr=/opt/openmpi --with-blcr-libdir=/opt/openmpi/lib --prefix=/opt/openmpi --enable-static
make
make install
二、配置环境变量
在 ~/.bashrc文件中添加:
export PATH=/opt/openmpi/bin:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/openmpi/lib
三、运行
mpiexec -prefix /opt/openmpi -am ft-enable-cr -host node1,node3 -np 2 ./eager
ompi-checkpoint 1234
ompi-restart --preload ompi_global_snapshot_1234.ckpt
posted on 2013-11-30 16:37 fengjiaoan 阅读(329) 评论(0) 编辑 收藏 举报