软件安装安装过程,可以在任何一个节点上进行,安装完所有节点均可用。
1、软件安装
mkdir /tools/calibre
mv /tools/upload/aoi_cal_2021.2_28.15_mib.exe /tools/calibre/
cd /tools/calibre
chmod 755 aoi_cal_2021.2_28.15_mib.exe
./aoi_cal_2021.2_28.15_mib.exe
根据提示完成安装
2、用破解工具进行修改
mv /tools/upload/pubkey.zip ./
unzip pubkey.zip
chmod 755 pubkey/*
pubkey/pubkey_verify -y
rm -rf pubkey/ pubkey.zip aoi_cal_2021.2_28.15_mib.exe
3、解决软件和操作系统版本不兼容的问题,编辑前请备份原文件
vi /tools/calibre/aoi_cal_2021.2_28.15/pkgs/icv_calenv/pvt/calibre_host_info
-
在{BANNED}{BANNED}{BANNED}{BANNED}{BANNED}{BANNED}最佳佳佳佳佳佳后一行“test -n ...”前增加两行:
-
-
OS_VENDOR=redhat
-
OS_MAJOR_REV=7
4、编辑环境模块
mkdir /tools/mjwdj/modulefiles/calibre/ -p
vi /tools/mjwdj/modulefiles/calibre/aoi_2021.2_28.15
-
#%Module1.0
-
proc ModulesHelp { } {
-
global dotversion
-
-
puts stderr "\tMentor Calibre"
-
}
-
-
conflict calibre
-
-
set MGC_HOME /tools/calibre/aoi_cal_2021/aoi_cal_2021.2_28.15
-
prepend-path PATH $MGC_HOME/bin
-
setenv MGC_HOME /tools/calibre/aoi_cal_2021/aoi_cal_2021.2_28.15
-
setenv CALIBRE_HOME $MGC_HOME
-
setenv MGC_LIB_PATH $MGC_HOME/lib
5、设置License变量
echo "##Mentor Calibre" >> /tools/env/license.sh
echo "export MENTOR_LIC_FILE=5284@
lsf01" >> /tools/env/license.sh
echo 'export MGLS_LICENSE_FILE=$MGLS_LICENSE_FILE:$MENTOR_LIC_FILE'
>> /tools/env/license.sh
软件安装到此已经完成。
6、配置
License服务
为节省资源,我们直接在lsf01上配置License服务,以下操作均在lsf01上操作。
使用License generator获得License文件命名为:mgc.license.lic
上传service_lic.tar 到 /root/
关于如何获得service_lic.tar,以及如何generate License file 请留言咨询
tar -xf service_lic.tar
rm -f service_lic.tar
yum -y install redhat-lsb net-tools
mkdir /root/licenses/
上传mgc.license.licd到 /root/licenses/
/root/service_lic/bin.mgc/bin/lmgrd -c /root/licenses/mgc.license.lic -l /var/log/mgc.license.log
netstat -anp | grep 5284
能看到5284端口已经开始监听服务,如有问题可以查看日志文件
/var/log/mgc.license.log
在节点执行 module load
calibre/aoi_2021.2_28.15,即可加载软件。
阅读(437) | 评论(0) | 转发(0) |