[Geoqus] g++ linking libraries

A. Manconi manconi at gfz-potsdam.de
Thu May 24 17:07:56 CEST 2007


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


   
-- 
---- 
 
A. Manconi
VolcanoTectonics Junior Research Group
Sektion 2.1 (E458)
GFZ Potsdam Telegrafenberg
14473 Potsdam
Germany
 
Tel:     +49 331 288 1293  
Fax:    +49 331 288 1204
e-mail: manconi at gfz-potsdam.de   
http://www.volcanotectonics.de/
------------------------



More information about the Geoqus mailing list