ng-spice 설치 및 실행법

#### spice howto #############

ng-spice 를 다운 받는다.

1. 설치

# tar xzvf ng-spice-rework-17.tar.gz
# cd ng-spice-rework-17
# ./configure –enable-maintainer-mode –prefix=/usr/local/spice
# make && make install

모든 서버에 설치를 완료하고 ..SGE 연동 설정까지 완료 한다.

2.

spice3f5 의 example 에 있는 sample 파일을 이용하여 시뮬레이션 하면 된다.
아래는 SGE를 통해 자동으로 실행 시키는 스크립터다.

============================================================================

#!/bin/sh
source /etc/profile.d/settings.sh
SPICE_INC=/usr/local/spice

if [ $# -ne 3 ]
then
echo -n “Using : run_spice <<Cir_file>> <<Tran End>> <<Cpu_num>>
“;
exit;
fi

sed -e s/E_TRAN/${2}/g ${1} > ${1}.src

cat <<make_scripts > $PWD/${1}.tmp

#!/bin/sh
#$ -cwd
#$ -V
#$ -N ${1}
#$ -S /bin/bash
#$ -o $PWD/${1}_log.out
#$ -e $PWD/${1}_log.err
s_time=\`date\`
echo “==========================================================”;
echo “Job Start Time : \$s_time”;
echo “==========================================================”;

/usr/local/spice/bin/ngspice -b ${1}.src

e_time=\`date\`
echo “==========================================================”;
echo “Job END Time : \$e_time”;
echo “==========================================================”;

make_scripts

qsub $PWD/${1}.tmp

#rm -f $PWD/${1}.tmp
~
====================================================================================

데모 시나리오 ..

http://192.168.123.65:777

그리드센터HPC -> 그리드작업모니터링

opt01 ->

terminal 1

# cd /home/spice/mpp
# ./run_spice_grid.sh

terminal 2

# cd /home/spice/smp
# ./run_spice.sh

서진우

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

You may also like...

2 Responses

  1. child porn 말해보세요:

    child porn

  2. Gluco Relief 말해보세요:

    What i do not understood is in truth how you are not actually a lot more smartlyliked than you may be now You are very intelligent You realize therefore significantly in the case of this topic produced me individually imagine it from numerous numerous angles Its like men and women dont seem to be fascinated until it is one thing to do with Woman gaga Your own stuffs nice All the time care for it up

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