- 积分
- 7
- 注册时间
- 2008-7-8
- 仿真币
-
- 最后登录
- 1970-1-1
|
本帖最后由 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
查看全部评分
-
|