apt install -y gridengine-master, gridengine-exec, gridengine-common, gridengine-qmon, gridengine-client
auto configure 처리 도중 아래와 같은 에러 발생(spooldefaults.b[245948]: segfault at … ) 하므로, auto configure 하지말것(시간 낭비)
package gridengine-master 8.1.9+dfsg-7build1 failed to install/upgrade: installed gridengine-master package post-installation script subprocess returned error exit status 139
apt install -y autoconf
libjemalloc1 package 가 gridengine 설치시 같이 설치되지만, 버그를 해결하려면 libjemalloc2를 설치함(compile)
git clone https://github.com/jemalloc/jemalloc.git
cd jemalloc/
./autogen.sh
make
make install
mv /usr/lib/x86_64-linux-gnu/libjemalloc.so.1 /usr/lib/x86_64-linux-gnu/libjemalloc.so.1.old
ln -s /usr/local/lib/libjemalloc.so.2 libjemalloc.so.2 /usr/lib/x86_64-linux-gnu/libjemalloc.so.1
wget http://ftp.debian.org/debian/pool/main/g/gridengine/gridengine-client_8.1.9+dfsg-9_amd64.deb
a dir 에 패키지 압축 해제
dpkg -x gridengine-client_8.1.9+dfsg-9_amd64.deb a
cd a/usr/lib/gridengine/
cp spooldefaults.bin /usr/lib/gridengine/
cp libspool*.so /usr/lib/gridengine/
systemctl restart gridengine-master, gridengine-exec
#Master 설정
cd /var/lib/gridengine
./install_qmaster
./install_execd
qconf -ah masterserver
qconf -as node1
qconf -Aq test.q
#client 생성 스크립트(https://peteris.rocks/blog/sun-grid-engine-installation-on-ubuntu-server/)
# queue nodename cpucore
sge-worker-add.sh test.q node02 56
#Master, Node 상태 보기( Master 및 실행 node 모두 나와야되며, cpu 및 메모리 정보들이 나와야 정상)
qhost
# test job submit
echo ‘test’|qsub
# queue 상태보기
qstat -f
# Node 설정
apt install -y gridengine-master, gridengine-exec, gridengine-common, gridengine-client
auto configure 안함
참조 :
https://bugs.launchpad.net/ubuntu/+source/gridengine/+bug/1774302
https://peteris.rocks/blog/sun-grid-engine-installation-on-ubuntu-server/
http://gridscheduler.sourceforge.net/howto/troubleshooting.html
http://www.softpanorama.org/HPC/Grid_engine/Troubleshooting/index.shtml