2011년 3월 18일 금요일

클러스터 벤치마크

1. ATLAS 설치

1) 소스코드 다운로드
https://sourceforge.net/project/showfiles.php?group_id=23725

2) 설치
$ mkdir my_build_dir
$ cd my_build_dir
$ /path/to/ATLAS/configure [flags]
$ make              ! tune and compile library
$ make check        ! perform sanity tests
$ make ptcheck      ! checks of threaded code for multiprocessor systems
$ make time         ! provide performance summary as % of clock rate
$ make install      ! Copy library and include files to other directories
2. HPL 설치

1) 소스코드 다운로드
http://www.netlib.org/benchmark/hpl/

2) 압축해제 후 setup/Make.Linux_PII_CBLAS를  소스 최상위 디렉토리로 복사.
$ cp setup/Make.Linux_PII_CBLAS .
3) Make.Linux_PII_CBLAS 수정
#TOPdir       = $(HOME)/hpl
TOPdir       = $(HOME)/Utils/cluster/hpl-2.0
 
#MPdir        = /usr/local/mpi
MPdir        = /usr
#MPlib        = $(MPdir)/lib/libmpich.a
MPlib        = $(MPdir)/lib64/libmpi.so #64비트, openmpi사용시 
#LAdir        = $(HOME)/netlib/ARCHIVES/Linux_PII
LAdir        = /usr/local/atlas/lib
4) 컴파일
$ make arch=Linux_PII_CBLAS
5) 벤치마크 실행
$ cd bin/Linux_PII_CBLAS
$ mpirun -np 4 xhpl

댓글 없음:

댓글 쓰기