×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

linking libraries

linking libraries

linking libraries

(OP)
Hi everybody,

I am trying to run a model which includes the subroutine *Dload, but i have
got some problems:

...
Begin Compiling ABAQUS/Standard User Subroutines
Thu 24 May 2007 04:57:37 PM CEST
End Compiling ABAQUS/Standard User Subroutines
Thu 24 May 2007 04:57:37 PM CEST
Begin Linking ABAQUS/Standard User Subroutines
Thu 24 May 2007 04:57:37 PM CEST
g++: creep_: No such file or directory
g++: dflow_: No such file or directory
...
...
ABAQUS Error: Problem during linking - ABAQUS/Standard User Subroutines


I am using the Abaqus 6.5, within linux suse 9.3 and using the GNU compilers
g77 and g++. I think should be a problem on setting the .env file. Does
anybody know the solution??
Here below the part of my  .env file relative to the compiling:

compile_fortran = ( "g77 -c -O -DLINUX -I%I" )

compile_cpp = ( "g++ -c -fPIC -DPIC -w -Wmissing-prototypes -Wuninitialized "
+
"-DHKS_LINUX -DLINUX -DHAS_BOOL -DFOR_TRAIL -DHKS_DEBUG " +
"-D_BSD_TYPES -D_BSD_SOURCE -D_GNU_SOURCE " +
"-D_XOPEN_SOURCE_EXTENDED -DEMULATE_EXCEPTIONS=0 " +
"-DGL_GLEXT_PROTOTYPES -DHAVE_OPENGL -DHKS_OPEN_GL " +
"-DSUN_OGL_NO_VERTEX_MACROS -Winline -fpermissive " +
"-instances=explicit -fexceptions -fstrict-prototype " +
"-fvtable-thunks -DTYPENAME= -D_POSIX_SOURCE " +
"-D_XOPEN_SOURCE -DSPECIALIZE -O0 -I%I" )

link_sl = ( "g++ -Wl,-warn-once -fPIC -fexceptions -fvtable-thunks " +
" -Wl,-export-dynamic -shared %E -Wl,-soname,%U -o %U %F " +
"%A %B -Wl,-Bdynamic -lgcc -lg2c -lm -lc" )

link_exe = ( "g++ -Wl,-warn-once -fexceptions -fPIC -Wl,--no-demangle " +
"-Wl,-noinhibit-exec -o %J %F %M %L %B %O " +
"-lm -lpgc -lgcc -lg2c -lgcc -lg2c" )


Cheers,

Andrea

RE: linking libraries

I am not familiar with ABAQUS under Linux. However, here are some remarks that might help:
- look in job_name.log and see if there's any info about the linking problem (i.e. lib not found etc.)
- you should check the ABAQUS recommended compilers for v6.5. Personally, for v6.6 under Win, I could not use subroutines with any Fortran compiler until installing Intel's Fortran. Apparently, the linker was looking for some Intel specific Fortran libs. This is quite a frustrating requirement considering ABAQUS employs lots of freely available software to develop their code.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources