[시스템] itanium2+redhat+intelcompiler+math-lib 설치하기

### ITNIUM2 시스템에 Redhat AD Linux 설치하기

1. EFL Shell 선택

2. Shell >  map   -> 그럼 시스템이 디스크 드라이브가 쭉~~나옴.

3. Shell > fs0 :  -> CDROM 드라이브 로딩

4. fs0 > elilo linux  -> 리눅스 설치

;; 리눅스 설치 시 다른 부분은 모두 동일 하지만 반드시 /boot/efi 파티

션은 vfat 혹은 fat16 으로 설치 해야함

why ?

ITN 시스템의 EFL 에서 각 OS의 부트로더를 읽어내는데 /boot/efi 파티

션 및에 ITN용 부트로더인 elilo 정보가 저장되어져 있음. 그리고..EFL

에서는 fat16 혹은 vfat 밖에 인식 못함.

만일 모두 ext3, ext2 로 지정하여 포맷하면 EFL 에서 부팅 이미지를 읽

을 수 없게 됨.

## Intel Compiler 와  Math Lib 설치하기 ##

1. Intel Compiler 설치

ITN 서버의 /usr/local/src/intel 이란 디렉토리 및에 관련 install

file 및 license 가 있습니다.

해당 폴더로 이동 ..

# cd /usr/local/src/intel

# ./install

아래와 같이 나온다. x86 시스템은 “1” 번을 ia64시스템은 “2”을 선택하

세요.

You’re using machine type–Itanium(TM)-based system, kernel–

2.4.18, and glibc–2.2.4.

This product is supported for use with the following combinations.

    Machine Type                Kernel   glibc

1.  IA-32                       2.4.2    2.2.2, or

    IA-32                       2.4.7    2.2.4

2.  Itanium(TM)-based system    2.4.3    2.2.3, or

    Itanium(TM)-based system    2.4.9    2.2.4

x.  Exit

For an unsupported install, select the platform most similar to

yours.

여기서는 2번을 선택 ..

그럼..

The following Intel(R) products and related products are installed.

Intel(R) Fortran Itanium(TM) Compiler for Itanium(TM)-based

applications Version 6.0, Build 20020320 Linux Application Debugger

for Itanium(TM)-based applications, Version 6.0, Build 20020325.

Which of the following would you like to install?

1.  Intel(R) Fortran Itanium(TM) Compiler for Itanium(TM)-based

applications Version 6.0, Build 20020320 2.  Linux Application

Debugger for Itanium(TM)-based applications, Version 6.0, Build

20020325.

x.  Exit

인스톨할 패키지를 선택합니다. 1, 2 번 차례로 선택 ..

그럼..라이센스 관련 동의 사항 및 패키지 설치 위치 지정 메세지가 나오

면서 무사히 설치가 될것입니다.

그럼 /opt/intel 에 설치가 완료됨. /usr/local/src/intel 및에

l_for.lic 라는 라이센스 파일을 /opt/intel/licences 밑에 복사함.

그런 후 /opt/intel/compiler60/ia64/bin 밑에 있는 efcvars.* 파일

을 /etc/profile.d 로 복사함.

# cp /opt/intel/compiler60/ia64/bin/efcvars.*  /etc/profile.d

그럼 모든 이가 intel compiler 인 efc 를 사용할 수 있을 것입니다.

efc 실행 시 아래와 같은 메세지가 나오면 정상적으로 설치 된것입니다.

# efc

efc: Command line error: no files specified; for help type “efc –

help”

2. Math Lib 설치 하기

기본적으로 Redhat ADS 2.1 에 계산용 Lib 인 blas 와 lapack 이 설치가

되어져 있습니다.

OS 설치 시에 설치 할 수 있습니다. OS 설치 이후라도 설치 CD 를 넣

고 ..설치 하시면 됩니다.

# rpm -Uvh blas*.rpm

# rpm -Uvh lapack*.rpm

추가적으로 fft 및 Atlas ( blas & lapack ) 설치 하는 방법입니다.

라이브러리는 시스템의 타입에 최적화 되도록 설치 하여야 합니다.

blas & lapack 의 각 시스템 별 최적화된 라이브러리의 이름은 아래와 같

습니다.

Athlon : atlas3.4.1_Linux_ATHLON.tar.gz

P-IV : atlas3.4.1_Linux_P4SSE2.tar.gz

p-III : atlas3.4.1_Linux_PIIISSE1.tar.gz

설치 방법은 각 압축파일을 /usr/local 및에 풀고 적절한 이름으로 링크

시켜 주시면 됩니다.

# cd /usr/local

# tar xzvf atlas3.4.1_Linux_P4SSE2.tar.gz # ln -s Linux_

fft 라이브러리 역시 시스템 별로 맞는 라이브러리를 설치 하면 됩니다.

source 로 직접 컴파일 하여 현재 시스템에 최적으로 설치 할 수도 있습

니다.

# tar xzvf fftw-3.0.tar.gz

# cd fftw-3.0

# ./configure && make && make install

그럼  /usr/local/lib/ 밑에 libfftw3.la 라이브러리가 생성되어져 있으

면 됩니다.

이와 같이 라이브러리 추가후에는 반드시 /etc/ld.so.conf 에 해당 Lib

Link 경로를 지정해 주어야 합니다.

vi /etc/ld.so.conf

————————————————

/usr/local/lib

/usr/local/lapack/lib

/usr/local/fftw/lib

.

.

/usr/kerberos/lib

/usr/X11R6/lib

/usr/lib/qt-2.3.1/lib

/usr/i386-glibc22-linux/lib

서진우

슈퍼컴퓨팅 전문 기업 클루닉스/ 상무(기술이사)/ 정보시스템감리사/ 시스존 블로그 운영자

You may also like...

페이스북/트위트/구글 계정으로 댓글 가능합니다.