- 解决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