×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

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!

*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

UEL subroutine - linking problem

UEL subroutine - linking problem

UEL subroutine - linking problem

(OP)
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

RE: UEL subroutine - linking problem

(OP)
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="http://www.labmec.unical.it/v6.6"

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

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! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close