mpich configure and channel bonding
mpich configure
1. mpich – gcc 설치
./configure –prefix=/usr/local/mpich/gcc –with-comm=shared
make
make clean
2. mpich – intel compiler 설치
export CC=icc
export CXX=icpc
export F77=ifort
export F90=ifort
./configure –prefix=/usr/local/mpich/intel –with-comm=shared
make
make install
3. 각 configure 옵션 설명
–with-romio : 옵션을 활성화하지 않으면 f90 module이 built 되지 않는다. (default)
–with-mpe (default)
–enable-c++ : MPI-1 루틴에서 C++ 인터페이스를 설치한다. (default)
–enable-f77 : MPI 루틴에서 Fortran 77 인터페이스를 설치한다. (default)
–enable-sharedlib=dir : 공유라이브러리로 설치를 시도한다. 정적라이브러리는 항상 설치가 된다.
디렉토리가 지정되면, 공유라이브러리는 지정된 디렉토리에 설치가 된다. 클러스터안의 로컬디스크안에 모두 동일한 위치에 있을수 있다.
Posted by Lee Sang-Kyung at 7:04 PM 0 comments
Channel bonding
[root@localhost ~]# cat /etc/modprobe.conf
alias eth0 bnx2
alias eth1 bnx2
alias eth2 e1000
alias eth3 e1000
alias bond0 bonding
alias bond1 bonding
options bond0 max_bonds=2 miimon=100
options bond1 -o bonding1 arp_inteval=200 max_bonds=2
[root@localhost network-scripts]# cat ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=77.77.77.0
NETMASK=255.255.255.0
IPADDR=77.77.77.20
USERCTL=no
[root@localhost network-scripts]# cat ifcfg-eth0
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
[root@localhost network-scripts]# cat ifcfg-eth1
DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
Posted by Lee Sang-Kyung at 7:02 PM 0 comments
3 Responses
… [Trackback]
[…] Info on that Topic: nblog.syszone.co.kr/archives/2910 […]
… [Trackback]
[…] Info on that Topic: nblog.syszone.co.kr/archives/2910 […]
… [Trackback]
[…] Here you will find 63901 more Info to that Topic: nblog.syszone.co.kr/archives/2910 […]