Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

UEL subroutine - linking problem

Status
Not open for further replies.

94710

Structural
May 16, 2007
21
Dear All,
i tried to run an analysis job linked with a user subroutine (written in fortran) source file, with
Abaqus 6.6 on a windowsx86-32 platform.The files are example files provided with release.
I get in abaqus command window this messsage:

C:\Temp>abaqus job=ueldynam user=ueldynam.for interactive
ABAQUS JOB ueldynam
ABAQUS Version 6.6-1
Begin Compiling ABAQUS/Standard User Subroutines
5/21/2007 12:27:27 PM
End Compiling ABAQUS/Standard User Subroutines
5/21/2007 12:27:28 PM
Begin Linking ABAQUS/Standard User Subroutines
5/21/2007 12:27:28 PM
Creating library standardU.lib and object standardU.exp
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; us
e /NODEFAULTLIB:library
End Linking ABAQUS/Standard User Subroutines
5/21/2007 12:27:28 PM
Begin Analysis Input File Processor
5/21/2007 12:27:28 PM
Run pre.exe
ABAQUS License Manager checked out the following licenses:
ABAQUS/Standard checked out 5 tokens.
<13 out of 18 licenses remain available>.
5/21/2007 12:27:36 PM
End Analysis Input File Processor
Begin ABAQUS/Standard Analysis
5/21/2007 12:27:36 PM
Run standard.exe
5/21/2007 12:28:24 PM
C:\Temp>

and I get a error dialog box of standard.exe stating "This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix the problem."

Then after closing error dialog box that's complete message in my abaqus command window:

C:\Temp>abaqus job=ueldynam user=ueldynam.for interactive
ABAQUS JOB ueldynam
ABAQUS Version 6.6-1
Begin Compiling ABAQUS/Standard User Subroutines
5/21/2007 12:27:27 PM
End Compiling ABAQUS/Standard User Subroutines
5/21/2007 12:27:28 PM
Begin Linking ABAQUS/Standard User Subroutines
5/21/2007 12:27:28 PM
Creating library standardU.lib and object standardU.exp
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; us
e /NODEFAULTLIB:library
End Linking ABAQUS/Standard User Subroutines
5/21/2007 12:27:28 PM
Begin Analysis Input File Processor
5/21/2007 12:27:28 PM
Run pre.exe
ABAQUS License Manager checked out the following licenses:
ABAQUS/Standard checked out 5 tokens.
<13 out of 18 licenses remain available>.
5/21/2007 12:27:36 PM
End Analysis Input File Processor
Begin ABAQUS/Standard Analysis
5/21/2007 12:27:36 PM
Run standard.exe
5/21/2007 12:28:24 PM
ABAQUS Error: The executable C:\ABAQUS\6.6-1\exec\standard.exe
aborted with system error code 309.
Please check the .dat, .msg, and .sta files for error messages if the files
exist. If there are no error messages and you cannot resolve the problem,
please run the command "abaqus job=support information=support" to report and
save your system information. Use the same command to run ABAQUS that you
used when the problem occurred. Please contact your local ABAQUS support
office and send them the input file, the file support.log which you just
created, the executable name, and the error code.
ABAQUS/Analysis exited with errors
C:\Temp>

Any idea as to what the problem could be?

Please, answer me. Any suggestion could be very useful for my work. Thanks a lot in advance for your helpfulness



_________________________________________________
alorenzom
merengue82@libero.it
 
Replies continue below

Recommended for you

I tried to avoid my problem described previously in this way.

I create an abaqus env file in my local directory copying that in site directory and adding usub_lib_dir variable and adding \NODEFAULTLIB:LIBCMT.LIB in the tuple value of parameters link_sl and link_exe. My local abaqus env file appears like this:

------------------------------------------------------------------
#
# System-Wide ABAQUS Environment File
# -------------------------------------
pre_memory = "256 mb"
standard_memory = "256 mb"
standard_parallel = ALL
mp_mode = MPI
mp_file_system = (DETECT,DETECT)
mp_environment_export = ('ABA_CM_BUFFERING',
'ABA_DDM_DEBUG',
'ABA_ELP_SURFACE_SPLIT',
'ABA_ELP_SUSPEND',
'ABA_MEMORY_MODE',
'ABA_MPI_MESSAGE_TRACKING',
'ABA_MPI_VERBOSE_LEVEL',
'ABA_PATH',
'ABA_RESOURCE_MONITOR',
'ABA_RESOURCE_USEMALLINFO',
'ABAQUS_LANG',
'ABAQUSLM_LICENSE_FILE',
'ABQ_CRTMALLOC',
'ABQ_DATACHECK',
'ABQ_RECOVER',
'ABQ_RESTART',
'ABQ_SPLITFILE',
'ABQ_XPL_WINDOWDUMP',
'ABQ_XPL_PARTITIONSIZE',
'ABQLMHANGLIMIT',
'ABQLMQUEUE',
'ABQLMUSER',
'CCI_INITIAL_EXCHANGE',
'ABAQUS_CCI_DEBUG',
'CCI_RENDEZVOUS',
'DOMAIN',
'DOMAIN_CPUS',
'FLEXLM_DIAGNOSTICS',
'FOR0006',
'FOR0064',
'LD_PRELOAD',
'MP_NUMBER_OF_THREADS',
'MPC_GANG',
'MPI_PROPAGATE_TSTP',
'MPI_SOCKBUFSIZE',
'MPI_WORKDIR',
'NCPUS',
'OMP_DYNAMIC',
'OMP_NUM_THREADS',
'PAIDUP',
'PARALLEL_METHOD',
'RAIDEV_NDREG_LAZYMEM')


compile_cpp=['cl', '/c', '/nologo', '/W0', '/MD',
'/TP', '/GX', '/DNDEBUG', '/DWIN32', '/DTP_IP', '/D_CONSOLE',
'/DNTI', '/DFLT_LIC', '/DOL_DOC', '/D__LIB__', '/DHKS_NT',
'/DFAR=', '/D_WINDOWS', '/O1', '/I%I']

compile_fortran=['ifort', '/c', '/Gm','/nologo', '/include:%I']

link_sl=['LINK', '/nologo', '/INCREMENTAL:NO', '/subsystem:console', '/machine:I386', '/NODEFAULTLIB:LIBC.LIB', '/DEFAULTLIB:OLDNAMES.LIB', '/DEFAULTLIB:LIBIFCOREMD.LIB', '/DEFAULTLIB:LIBIFPORTMD.LIB', '/DEFAULTLIB:LIBMMD.LIB', '/DEFAULTLIB:MSVCRT.LIB', '/DEFAULTLIB:kernel32.lib', '/DEFAULTLIB:user32.lib', '/DEFAULTLIB:advapi32.lib', '/NODEFAULTLIB:LIBCMT.LIB', '/FIXED:NO', '/dll', '/def:%E', '/out:%U', '%F', '%A', '%B', 'oldnames.lib', 'user32.lib', 'ws2_32.lib', 'netapi32.lib', 'advapi32.lib']

link_exe=['LINK', '/nologo', '/INCREMENTAL:NO', '/subsystem:console', '/machine:I386', '/NODEFAULTLIB:LIBC.LIB', '/DEFAULTLIB:OLDNAMES.LIB', '/DEFAULTLIB:LIBIFCOREMD.LIB', '/DEFAULTLIB:LIBIFPORTMD.LIB', '/DEFAULTLIB:LIBMMD.LIB', '/DEFAULTLIB:MSVCRT.LIB', '/DEFAULTLIB:kernel32.lib', '/DEFAULTLIB:user32.lib', '/DEFAULTLIB:advapi32.lib', '/FIXED:NO', '/LARGEADDRESSAWARE', '/out:%J', '%F', '%M', '%L', '%B', '%O', 'oldnames.lib', 'user32.lib', 'ws2_32.lib', 'netapi32.lib', 'advapi32.lib']

#
# If you are attempting to compile C++ programs using ABAQUS/Make without a
# Fortran compiler installed on your machine, uncommenting the following
# link_exe command may help resolve any link errors.
#
# link_exe=['LINK', '/nologo', '/INCREMENTAL:NO', '/subsystem:console', '/machine:I386', '/NODEFAULTLIB:LIBC.LIB', '/DEFAULTLIB:OLDNAMES.LIB', '/NODEFAULTLIB:LIBIFCOREMD.LIB', '/NODEFAULTLIB:LIBIFPORTMD.LIB', '/NODEFAULTLIB:LIBMMD.LIB', '/DEFAULTLIB:MSVCRT.LIB', '/DEFAULTLIB:kernel32.lib', '/DEFAULTLIB:user32.lib', '/DEFAULTLIB:advapi32.lib', '/FIXED:NO', '/LARGEADDRESSAWARE', '/out:%J', '%F', '%M', '%L', '%B', '%O', 'oldnames.lib', 'user32.lib', 'ws2_32.lib', 'netapi32.lib', 'advapi32.lib']

standard_parallel = SOLVER
mp_mode = THREADS

import driverUtils, os
graphicsEnv = driverUtils.locateFile(os.environ['ABA_PATH'],'site','graphicsConfig','env')
if graphicsEnv:
execfile(graphicsEnv)
else:
raise 'Cannot find the graphics configuration environment file (graphicsConfig.env)'

del driverUtils, os, graphicsEnv
abaquslm_license_file="@100.100.100.7"

doc_root="
usub_lib_dir = "C:\Documents and Settings\alorenzom\Documenti\HC3FEM\AbaqusHC_fetchedAbaqusFiles"
------------------------------------------------------------------

I execute next procedures and I get next messages in my abaqus command window:

------------------------------------------------------------------
C:\Documents and Settings\alorenzom\Documenti\HC3FEM\AbaqusHC_fetchedAbaqusFiles
>abaqus make library=ueldynam.for
ABAQUS JOB ueldynam.for
Begin Compiling ABAQUS/Standard User Subroutines
5/22/2007 1:43:26 PM
End Compiling ABAQUS/Standard User Subroutines
5/22/2007 1:43:26 PM
Begin Linking ABAQUS/Standard User Subroutines
5/22/2007 1:43:26 PM
Creazione della libreria standardU.lib e dell'oggetto standardU.exp in corso.
..
End Linking ABAQUS/Standard User Subroutines
5/22/2007 1:43:26 PM
ABAQUS JOB ueldynam.for COMPLETED

C:\Documents and Settings\alorenzom\Documenti\HC3FEM\AbaqusHC_fetchedAbaqusFiles
>abaqus job=ueldynam interactive
Old job files exist. Overwrite? (y/n): y
ABAQUS JOB ueldynam
ABAQUS Version 6.6-1
NOTE: "usub_lib_dir" has been added to User Subroutine library path.
Begin Analysis Input File Processor
5/22/2007 1:45:20 PM
Run pre.exe
ABAQUS License Manager checked out the following licenses:
ABAQUS/Standard checked out 5 tokens.
<13 out of 18 licenses remain available>.
5/22/2007 1:45:21 PM
End Analysis Input File Processor
Begin ABAQUS/Standard Analysis
5/22/2007 1:45:21 PM
Run standard.exe
ABAQUS License Manager checked out the following licenses:
ABAQUS/Standard checked out 5 tokens.
<13 out of 18 licenses remain available>.
5/22/2007 1:45:22 PM
ABAQUS Error: ABAQUS/Standard Analysis exited with an error - Please see the
message file for possible error messages if the file exists.
ABAQUS/Analysis exited with errors
------------------------------------------------------------------

In my msg file I found

***ERROR: USER SUBROUTINE UEL MISSING

Has anyone any idea for solving my execution problem?

Thanks a lot in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor