找回密码
 注册
Simdroid-非首页
查看: 359|回复: 15

[心得交流] 在openSUSE11.1 (X86_64) 上成功安装 ABAQUS6.8, 6.9-2 + 子程序通过!

[复制链接]
发表于 2009-10-17 04:13:10 | 显示全部楼层 |阅读模式 来自 美国
本帖最后由 aeneng 于 2010-11-12 05:54 编辑

跟各位分享一下Abaqus 6.8-2, 6.9-2 在openSUSE (X86-64) 的安装经验

近日已成功将6.9-2 安装在opensuse 10.3 及 11.1上。过程类似,6.9支持opensuse 10.3.

唯一的遗憾是因官方不支持OpenSUSE11.1而无法运行verify 功能。

算题可以,但是用CAE显示模型却非常非常慢。

A. systems: openSUSE 11.1 (X86-64) (
1. software packages needed: libstdc++-33 (libstdc++.so.5 in this package is
needed when running Abaqus cae)
2.other packages (may be related) gcc-c++, gcc33-fortran,

B. Installation
You can use "/dvd_dir/setup -sysinfo" to check you system configuration,where
/dvd_dir/ is the directory used to mount the DVD.
1. installation abaqus documentaion
/Doc_dir/setup
(you need to enter the host name of the machine, and assign a installation
path, for example, /usr/local/simulia/)

2. install licensing
This has been installed in another server. please refer to other source.

3. install product
a. copy the two folders: /common/, /lnx86_64/ to my local machine in , for
exaample, /tmp/aba/. use these commands
>cd /tmp/aba/
>sudo cp -r /media/Abaqus682/common/ ./common/
>sudo cp -r /media/Abaqus682/lnx86_64/ ./lnx86_64/

b. run the setup command
>su -    (use root)
#cd /tmp/aba/lnx86_64 (go to the product directory)
#setup -nosystemchecks
The -nosystemcheck is important, because abaqus 6.8-2
doesnot support openSUSE11.1 officially. Installation would terminate if you don't use
it. In this step, the installation will prompt for (i) the installation path
(/usr/local/simulia/abaqus, in my case), (ii) the license server, looks
like, "27000@server_name", and (iii) the documentation server
link, which would look like, "http://hostname:2080/v6.8/".

4. If you run "abaqus cae", you may have error like: -bash: abaqus: command
not found.
a. you need to add "/installation_dir/Commands/' to your environmental
variable "PATH", use "echo $PATH" to check the content of the variable.
and use :
> export PATH=$PATH:/usr/local/simulia/abaqus/Commands
to append the abaqus command directory to the PATH.

b. Now, if you run "abaqus cae" and you have not installed the "libstdc++-33" package , you may have error like:
ABQcaeK.exe: error while loading shared libraries: libstdc++.so.5: cannot open
shared object file: No such file or directory
Abaqus Error: Abaqus/CAE Kernel exited with an error.

Install "libstdc++-33" will avoid this error.

c. Last thing that may happen, "abaqus cae",

Abaqus License Manager checked out the following license(s):
"cae" version 6.8 from ***
<2 out of 4 licenses remain available>.
Abaqus Error: Abaqus/CAE Kernel exited with an error.

solution: use "abaqus cae -mesa" instead.

5. start the documentation webserver automatically when machine reboot.
a. copy the file "startServer" in  /usr/local/simulia/Documentation/installation_info/v6.8/
to /etc/init.d/
b. chmod +x startServer (make it exectutable)
c. chkconfig -a startServer (make it start automatically when machine reboot)

6. User Subroutine Compiler setting.
"gcc33-fortran" package is installed. (Other version may work, but version higher than gcc-4.0 may not work because g77 was replaced by gfortran in later versions. However, if you are good at setting the compiler's option, gfortran may also work)


Add the following piece of codes to the abaqus_v6.env file and comment the original part that determines the c++  and fortran compiler.

#The codes in the abaqus_v6.env file from here ===========>>>>>>==========

#g77 Fortran compatibility is not supported by both ABAQUS and Intel.
#The following environment should work for 6.5 and 6.6 on all Linux* platforms

import os, driverUtils

#Comment the following line to enable/disable GNU compiler usage.
os.environ['ABA_GNU'] = 'on'
if os.environ.has_key('ABA_GNU'):
    plat = driverUtils.getPlatform().upper()
    if abaqus_version[:3] == '6.5':
        libPath = os.path.join(os.environ['ABA_HOME'], 'cae', 'External ')
    else:
        libPath = os.path.join(os.environ['ABA_HOME'], 'External ')
    if plat == 'LINUX':
        plat = 'LINUX32'
    compile_cpp = ('g++ -c -DABQ_LINUX -DABQ_%s -DABQ_IO_STANDARDS ' % (plat) +
                   '-DABQ_USE_STANDARD_HEADER -DFOR_TRAIL -DHAS_BOOL ' +
                   '-DASSERT_ENABLED -D_BSD_TYPES -D_BSD_SOURCE -D_GNU_SOURCE'+
                   '-D_POSIX_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE -DHAVE_OPENGL ' +
                   '-DHKS_OPEN_GL -DTYPENAME=typename -DGL_GLEXT_PROTOTYPES' +
                   '-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -w -O0 -I%I')
    compile_fortran = ( "g77-3.3 -c -O -fPIC -fno-second-underscore -I%I" )
    #Uncomment the following to use PGI Fortran
    #compile_fortran = ( "/usr/local/pgi/linux86/bin/pgf77 -c -O -fPIC -I%I" )
    link_sl = ( 'g++ -Wl,-warn-once -Wl,-export-dynamic -shared %E ' +
                '-Wl,-soname,%U -o %U %F %A %B -Wl,-Bdynamic -L' + libPath +
                '-L/usr/local/gcc32/lib -lifport -lifcoremt -lgcc -lpthread -lm -lc' )
    link_exe = ('g++ -Wl,-export-dynamic  -Wl,-Bdynamic -o %J %F %M %L %B %O -L' +
                libPath + '-L/usr/local/gcc32/lib -lifport -lifcoremt -lgcc -lpthread -lm -lc' )
    del plat, libPath
#=============to here============================================
Note: This piece of codes is from abaqus website, I modify the fortran compiler from "g77" to "g77-3.3" since i use the package "gcc33-fortran". You can use " ls | grep g77" to check your fortran compiler command in the "/usr/bin" directory.

and comment the orginal code in the file like:====================
# Add the flag "-free" to the compile_fortran command below to use free-
# format FORTRAN 90 syntax.
#compile_fortran = (fortCmd + " -c -fPIC -auto -extend_source -w90 -w95 " +
#                   "-WB -I%I")
#
#compile_cpp = (cppCmd +
#               " -c -cxxlib-gcc -gcc-version=%i -Kc++eh -fPIC " %verId       +
#               "-Krtti -Kc++ -pc64 -restrict -DABQ_LINUX -DABQ_LNX86_64 "    +
#               "-DFOR_TRAIL -DHAS_BOOL -DASSERT_ENABLED -D_BSD_TYPES "       +
#               "-D_BSD_SOURCE -D_GNU_SOURCE -D_POSIX_SOURCE "                +
#               "-D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE -DHAVE_OPENGL "     +
#               "-DHKS_OPEN_GL -DTYPENAME=typename -DGL_GLEXT_PROTOTYPES "    +
#               "-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -we1011 -we120 "+
#               "-we117 -we556 -we144 -we268 -we1224 -we167 -we880 -O0 -I%I" )

#link_sl = (fortCmd +
#           " -cxxlib-gcc -gcc-version=%i -fPIC -threads -shared " %verId   +
#           "%E -Wl,-soname,%U -o %U %F %A %L %B -parallel -Wl,-Bdynamic " +
#           "-i-dynamic -lifport -lifcoremt")
#
#link_exe = (cppCmd + " -cxxlib-gcc -gcc-version=%i -fPIC " %verId   +
#            "-Wl,-Bdynamic -i-dynamic -o %J %F %M %L %B %O -lpthread")
#=============================================================

Disclaimer: Please use it with caution. You may need to verify your results!

7. reference:
http://forum.simwe.com/archiver/tid-898772.html
http://forums.opensuse.org/archives/sf-archives/archives-software/341018-problems-installing-abaqus-suse10-3-x64-2.html

8. system check result:

Running system requirement checks. (setup -systinfo)

Requirement:    SuSE 9.3, 10.0, 10.1 or 10.2, SuSE Enterprise Linux 9.0 or
                10.0, SuSE Enterprise Desktop 10, Red Hat Enterprise 3.0,

                4.0 or 5.0, or Fedora Core 6.0
Product:        All Abaqus Products
Status:         Fail - Found openSUSE 11.1 (x86_64)

Requirement:    GNU Lib C 2.3.2 or greater
Product:        All Abaqus Products
Status:         Pass - Found GNU Lib C 2.9, which was installed with glibc-
                2.9-2.9.rpm.

Requirement:    Linux Kernel 2.4.20 or newer
Product:        All Abaqus Products
Status:         Pass - Found Linux Kernel 2.6.27.7-9-default.

Requirement:    GNU Compiler Suite 3.2 or later
Product:        Abaqus make utility with C++ and Abaqus make utility with
                Fortran and Abaqus with user subroutines
Status:         Fail - Could not locate GNU Compiler Suite 3.2 or later

Requirement:    Intel C++ Compiler 9.1 or 10.1
Product:        Abaqus make utility with C++
Status:         Fail - Unable to locate or determine the version of a C++
                compiler on this system.

Requirement:    Intel Fortran Compiler 9.1 or 10.1
Product:        Abaqus make utility with Fortran and Abaqus with user
                subroutines
Status:         Fail - Unable to locate or determine the version of a
                Fortran compiler on this system.

Requirement:    HP-MPI 02.02.05.01
Product:        Abaqus analyses using MPI-based parallelization
Status:         Pass - Found HP-MPI 02.02.05.01.

Requirement:    Mesa 4.3.0 or greater
Product:        Abaqus/CAE and Abaqus/Viewer
Status:         Pass - Found Mesa 7.2

Requirement:    X server must be configured to use OpenGL.
Product:        Abaqus/CAE and Abaqus/Viewer
Status:         Pass - X server is configured to use OpenGL.
Requirement:    Netscape 7.0, Mozilla 1.2, Firefox 1.0.1, or greater
Product:        Abaqus Documentation
Status:         Pass - Found Firefox 3.0.4

ERROR: No Abaqus products were verified because system requirements
       affecting 'All Abaqus Products' were not met. Exiting verification
       process.

版本更新:6.10-2
系统更新:  opensuse 11.3
software packages needed: libstdc++-33
libstdc++-45 好像不可以,因为运行abaqus cae 时:ABAQUS/6.10-2/exec/ABQcaeK.exe: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Abaqus Error: Abaqus/CAE Kernel exited with an error 出错。
因此,又安装libstdc++-33后,运行正常。

评分

1

查看全部评分

发表于 2009-10-17 10:09:47 | 显示全部楼层 来自 湖北武汉
Simdroid开发平台
本帖最后由 pearqiqi 于 2009-10-17 10:16 编辑

感谢你的分享,没想到openSUSE的网上支持也有关于ABAQUS了
不过,在64位系统上我用的是opensuse10.3 + Abaqus 6.9.1,毕竟10.3是Abaqus官方支持的最高版本,安装方法和windows上差不多,不会出现缺少系统文件和CAE启动问题,11.1上我也用过,虽然能够用"abaqus cae -mesa" 命令启动CAE ,但是这是没有显卡加速的模式,模型显示会很不流畅,而且据说不能使用子程序,当然这个我还没验证过。
还有个问题请教楼主,虽然11.1比10.3号称内核更新,但不知道对ABAQUS的计算好在哪里,为什么都想把ABAQUS装在官方不支持的11.1上,我个人的感觉好象差别不太大。而且不知道最新出的11.2版本如何,估计也是ABAQUS官方不支持的。

评分

1

查看全部评分

回复 不支持

使用道具 举报

 楼主| 发表于 2009-10-17 12:43:29 | 显示全部楼层 来自 美国
最近10.1被人hack了,网管让我更新版本,所以我就找了个新的版本来试试。
11.1和10.1有多大差别就不清楚了。
子程序在设置中。如果不行,那就只好重上10.3了.
回复 不支持

使用道具 举报

发表于 2009-10-17 13:27:20 | 显示全部楼层 来自 辽宁大连
我一直用openSUSE11.1(64bit)+ abaqus6.8-1 没任何问题。
回复 不支持

使用道具 举报

发表于 2009-10-17 19:15:42 | 显示全部楼层 来自 湖北武汉
本帖最后由 pearqiqi 于 2009-10-17 22:01 编辑

4# jinchengsimu

我一直用openSUSE11.1(64bit)+ abaqus6.8-1 没任何问题。
jinchengsimu 发表于 2009-10-17 13:27


提交计算的确没什么问题,问题是"Fail - Could not locate GNU Compiler Suite 3.2 or later
",CAE不能正常启动,使用不了显卡加速,安装时的Verify,cae通不过。你的都没有这些问题吗?如果都是没问题的,麻烦你教一下我,如果这个问题可以解决,我就想把ABAQUS 装在SLED11.1上。希望不吝赐教
回复 不支持

使用道具 举报

 楼主| 发表于 2009-10-18 07:38:11 | 显示全部楼层 来自 美国
user subroutine pass!
5# pearqiqi
回复 不支持

使用道具 举报

发表于 2009-10-18 10:19:51 | 显示全部楼层 来自 湖北武汉
本帖最后由 pearqiqi 于 2009-10-18 11:04 编辑

6# aeneng

好啊,那除了cae以外11系列还是个不错的选择,建议你用SLED11吧,和OPNESUSE11.1差不多,但是企业版,应该更稳定。对了,你为什么不用ABAQUS6.9
回复 不支持

使用道具 举报

 楼主| 发表于 2009-10-18 11:26:26 | 显示全部楼层 来自 美国
没收到更新的版本。我老板跟simulia的客服argue了半天,还是不给, nnd。

6# aeneng

好啊,那除了cae以外11系列还是个不错的选择,建议你用SLED11吧,和OPNESUSE11.1差不多,但是企业版,应该更稳定。对了,你为什么不用ABAQUS6.9
pearqiqi 发表于 2009-10-18 10:19
回复 不支持

使用道具 举报

发表于 2009-10-18 11:33:53 | 显示全部楼层 来自 湖北武汉
本帖最后由 pearqiqi 于 2009-10-18 11:45 编辑

8# aeneng

一般买就只能是一个版本,更新还得给其他费用,我觉得正版license主要是解决一些版权问题,实际的计算问题嘛。。我就不方便多说了,呵呵
回复 不支持

使用道具 举报

发表于 2009-10-18 20:55:23 | 显示全部楼层 来自 辽宁大连
4# jinchengsimu



提交计算的确没什么问题,问题是"Fail - Could not locate GNU Compiler Suite 3.2 or later
",CAE不能正常启动,使用不了显卡加速,安装时的Verify,cae通不过。你的都没有这些问题吗?如 ...
pearqiqi 发表于 2009-10-17 19:15


1、安装过程中遇到缺少的东西都可以通过光盘上yast找到。
2、我用的是N卡,上nvidia网站下了驱动装上就能用显卡加速了。
3、安装是只能用-nosystemcheck了,确实无法verify,但不影响正常使用,子程序也没问题。
回复 不支持

使用道具 举报

发表于 2009-10-18 21:06:09 | 显示全部楼层 来自 武汉大学
本帖最后由 pearqiqi 于 2009-10-18 21:15 编辑

10# jinchengsimu

谢谢你的说明,不过我还是有个问题,既然你缺少的文件能在光盘上找到,为什么还不能通过安装的Verify?如果是版本号的问题的话,这个直接修改系统版本信息就可以解决,不知道你是哪项通不过?不能显卡加速我认为应该和驱动无关,主要是内核版本问题,当然你没有使用"abaqus cae -mesa",并能显卡加速肯定是有你的方法,这个我就不好多问。再次感谢你的回复。
回复 不支持

使用道具 举报

发表于 2009-10-18 21:36:40 | 显示全部楼层 来自 辽宁大连
我没改系统版本信息,所以根本无法verify呵呵,其实象你说的可以修改一下版本信息。
显卡的问题用N卡的话其实没什么麻烦的,一键安装都OK了。
回复 不支持

使用道具 举报

发表于 2009-10-18 21:58:07 | 显示全部楼层 来自 武汉大学
12# jinchengsimu

也许是和显卡有点关系,比如opensuse的3D桌面功能,用N卡就很好,但用ATI的就是花屏,LINUX毕竟不是主流,很多软件配套的也不行。
回复 不支持

使用道具 举报

 楼主| 发表于 2009-10-19 10:12:33 | 显示全部楼层 来自 美国
请教一下怎么修改版本信息?

10# jinchengsimu

谢谢你的说明,不过我还是有个问题,既然你缺少的文件能在光盘上找到,为什么还不能通过安装的Verify?如果是版本号的问题的话,这个直接修改系统版本信息就可以解决,不知道你是哪项通不过?不 ...
pearqiqi 发表于 2009-10-18 21:06
回复 不支持

使用道具 举报

发表于 2009-10-19 10:22:24 | 显示全部楼层 来自 武汉大学
14# aeneng

修改 /etc 下的SuSE-release文件中的信息即可,abaqus验证时,就是从这个文件提取版本信息,修改这个文件为ABAQUS所指定的任何版本,就可以通过了
回复 不支持

使用道具 举报

发表于 2024-3-30 14:48:23 | 显示全部楼层 来自 中国
简单看看,了解一下
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-6-16 05:23 , Processed in 0.051593 second(s), 19 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表