- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am working with abaqus 6.54 on a AMD opteron 64 cluster. When i use a user-subroutine, i have this problem:
ifort-8: error: could not find directory in which the set of libstdc++ include files resides
the libstdc++ files are in
/usr/lib
libstdc++-3-libc6.1-2-2.10.0.so
libstdc++-3-libc6.2-2-2.10.0.so
libstdc++-libc6.1-2.so.3@
libstdc++-libc6.2-2.so.3@
libstdc++.so.5@
libstdc++.so.5.0.5
libstdc++.so.6@
libstdc++.so.6.0.3
libstdc++-3-libc6.2-2-2.10.0.so
libstdc++-libc6.1-2.so.3@
libstdc++-libc6.2-2.so.3@
libstdc++.so.5@
libstdc++.so.5.0.5
libstdc++.so.6@
libstdc++.so.6.0.3
and i have this path included in my path.Linux file as follows
/bin
/usr/lib
/usr/intel-icc64-8.1/bin
/usr/intel-icc64-8.1/lib
/usr/intel-ifort64-8.1/lib
/usr/intel-ifort64-8.1/bin
/usr/include
/usr/include/intel-icc64-8.1
/usr/include/intel-ifort64-8.1
/usr/include/c++/3.4/x86_64-linux/bits
/usr/include/c++/3.3
/usr/lib
/usr/intel-icc64-8.1/bin
/usr/intel-icc64-8.1/lib
/usr/intel-ifort64-8.1/lib
/usr/intel-ifort64-8.1/bin
/usr/include
/usr/include/intel-icc64-8.1
/usr/include/intel-ifort64-8.1
/usr/include/c++/3.4/x86_64-linux/bits
/usr/include/c++/3.3
my abaqus.env file for reference
fortDefPath="/usr/intel-ifort64-8.1/bin"
ccDefPath="/usr/intel-icc64-8.1/bin"
fortCompiler = "ifort"
cppCompiler = "icpc"
ccDefPath="/usr/intel-icc64-8.1/bin"
fortCompiler = "ifort"
cppCompiler = "icpc"
if os.path.exists(os.path.join(fortDefPath, fortCompiler)):
fortCmd = os.path.join(fortDefPath, fortCompiler)
else:
fortCmd = fortCompiler
fortCmd = os.path.join(fortDefPath, fortCompiler)
else:
fortCmd = fortCompiler
if os.path.exists(os.path.join(ccDefPath, cppCompiler)):
cppCmd = os.path.join(ccDefPath, cppCompiler)
else:
cppCmd = cppCompiler
cppCmd = os.path.join(ccDefPath, cppCompiler)
else:
cppCmd = cppCompiler
compile_fortran = (fortCmd + " -c -fPIC -auto -extend_source -w90 -w95-m64 " +
"-WB -I%I")
"-WB -I%I")
compile_cpp = (cppCmd +
" -c -cxxlib-gcc -gcc-version=340 -Kc++eh -fPIC -Krtti " +
"-Kc++ -pc64 -Qoption,cpp,-tnone -DABQ_LINUX -DABQ_LNX86_64 " +
"-DABQ_IO_STANDARDS -DABQ_USE_STANDARD_HEADER -restrict " +
"-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")
" -c -cxxlib-gcc -gcc-version=340 -Kc++eh -fPIC -Krtti " +
"-Kc++ -pc64 -Qoption,cpp,-tnone -DABQ_LINUX -DABQ_LNX86_64 " +
"-DABQ_IO_STANDARDS -DABQ_USE_STANDARD_HEADER -restrict " +
"-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=3.4 -fPIC -i_dynamic -threads " +
"-export-dynamic -shared %E -Wl,-soname,%U -o %U %F %A %L %B " +
"-parallel -Wl,-Bdynamic -lifport -lifcoremt")
" -cxxlib-gcc -gcc-version=3.4 -fPIC -i_dynamic -threads " +
"-export-dynamic -shared %E -Wl,-soname,%U -o %U %F %A %L %B " +
"-parallel -Wl,-Bdynamic -lifport -lifcoremt")
link_exe = (cppCmd +
" -i_dynamic -cxxlib-gcc -gcc-version=330 -fPIC " +
"-o %J %F %M %L %B %O -lifport -lifcoremt")
" -i_dynamic -cxxlib-gcc -gcc-version=330 -fPIC " +
"-o %J %F %M %L %B %O -lifport -lifcoremt")
Can someone help me out with this.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In general, you would be able to link Abaqus only with a Fortran compiler similar to the one Abaqus was built with. I don't think you can expect people on this forum to know such details by Abaqus version. That information should be available to you in your Abaqus documentation. If you have a version of Abaqus built with ifort 7.1, you will not be able to use ifort 8.1. I don't know how ifort could be using libstdc++ include files, but icpc would find the include paths according to 'g++ -print-search-dirs' using the g++ present when you install. g++ include and library directories are never found by linux environment settings. If you want to change the path used by icpc to correspond with a different g++, you will need to repeat the icpc installation with that g++. From the information below, it appears you have used multiple g++ versions in your setup, so it should not be surprising when a problem crops up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi tim
Thanx for the reply.
I have verified the path using the 'g++ -print-search-dirs' . I set the path according to the one in the istall line but to no avail. later on i tried using
export GXXX_INCLUDE =/usr/include/c++/3.3 ; following the suggestion form
but now i have the following error
ifort-8: Command line warning: ignoring unknown option '-export-dynamic'
/apps/prod/abaqus/6.5-4/cae/exec/lbr/libstandardB.so: could not read symbols: Invalid operation
ABAQUS Error: Problem during linking - ABAQUS/Standard User Subroutines
/apps/prod/abaqus/6.5-4/cae/exec/lbr/libstandardB.so: could not read symbols: Invalid operation
ABAQUS Error: Problem during linking - ABAQUS/Standard User Subroutines
Can you please help me this. Unfortuantely i am a novice to these, so it would be of great help if you can answer in more detail.
Thanx in advance
Regards
anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That almost looks like you got an Abaqus library for some other platform. As I said before, some of the detail you need would have to come from your Abaqus documentation.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page