install_mpi.sh 296 Bytes
Newer Older
wangkaixiong's avatar
init  
wangkaixiong committed
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

workspace=`pwd`

tar xvf ${workspace}/../tools/mpi3.1.tar.gz -C /opt

echo 'export LD_LIBRARY_PATH=/opt/mpi/lib:$LD_LIBRARY_PATH' >> ~/.bashrc
echo 'export PATH=/opt/mpi/bin:$PATH' >> ~/.bashrc

# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mpi/lib
# export PATH=$PATH:/opt/mpi/bin