当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 解决ansys14在ubuntu12.04系统中flexlm not running问题指南
帖子发表于 : 2012-08-11 8:57 

注册: 2007-09-02 17:46
帖子: 147
送出感谢: 2
接收感谢: 0 次
  • 解决flexlm not running
  • 解决kernel3.x兼容kernel2.x的问题,安装uname26
  • 按照以下方法解决需要网线才能启动ansys14的问题

platform:ubuntu12.04
kernel: 3.2.0.29
Hi all,
I post here my experience with Ansys 14 and ubuntu 12.04 hoping it can be of help.

After installing, with lsb package installed you have to start correctly the license manager. In my case flexlm was not starting, so I had to build a script wrapping the startup of ansys where I manually started lmgrd. Then Design modeler was not working so I had to download the following packages from oneiric and extract the libraries (not install!) in /yourinstallationpath/v140/commonfiles/MainWin/linx64/mw/lib-amd64_linux_optimized

libxext6
libxrender1
libxfixes3

Here is the final wrapping script:
代码:
#!/bin/sh
case "$1" in
'start')
LM_RUN=`ps -e | grep lmgrd`
AS_RUN=`ps -e | grep ansysli_server`
if [ "$LM_RUN" = "" ]; then
/yourinstallationpath/shared_files/licensing/linx64/lmgrd -c /yourinstallationpath/shared_files/licensing/license.dat #choose the path where your license.dat stays
fi
if [ "$AS_RUN" = "" ]; then
/yourinstallationpath/shared_files/licensing/start_ansysli
fi
;;
'stop')
/yourinstallationpath/shared_files/licensing/stop_ansysli
;;
*)
LM_RUN=`ps -e | grep lmgrd`
AS_RUN=`ps -e | grep ansysli_server`
if [ "$LM_RUN" = "" ]; then
/yourinstallationpath/licensing/linx64/lmgrd -c /yourinstallationpath/shared_files/licensing/license.dat
fi
if [ "$AS_RUN" = "" ]; then
/yourinstallationpath/licensing/start_ansysli
fi
LD_LIBRARY_PATH=/yourinstallationpath/v140/commonfiles/MainWin/linx64/mw/lib-amd64_linux_optimized:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
uname26 /yourinstallationpath/v140/Framework/bin/Linux64/runwb2
;;
esac

http://ubuntuforums.org/showthread.php?t=1361931&page=2


附件:
lib.tar.bz2 [44.57 KiB]
被下载 888 次
页首
 用户资料  
 
2 楼 
 文章标题 : Re: 解决ansys14在ubuntu12.04系统中flexlm not running问题指南
帖子发表于 : 2012-08-11 9:14 
头像

注册: 2006-07-08 14:07
帖子: 1807
送出感谢: 14
接收感谢: 1
V13是不是也行 :em04

试了下,ok

还有个依赖lsb-core、lsb-base


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译