View Full Version : Fortran 11 to Abaqus 6.10
moslempayandeh
2010-09-07, 09:21
Dear
I have problem with Abaqus 6.10 and fortran 11,0,6 on WIN 7 x64 platform
When I run Abaqus verification it passes all C++ Fortran requirement but when it checks for subroutine for standard case or explicit it has problem:
It is std_user.log for error:(
Linking ['std_user.obj'] into user subroutine shared library
Link command: ['cmd', '/c', '"LINK', '/nologo', '/INCREMENTAL:NO', '/subsystem:console', '/machine:AMD64', '/NODEFAULTLIB:LIBC.LIB', '/NODEFAULTLIB:LIBCMT.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', '/dll', '/def:export.def', '/out:standardU.dll', 'std_user.obj', 'C:\\SIMULIA\\Abaqus\\6.10-1\\exec\\lbr\\standardU_static.lib', 'C:\\SIMULIA\\Abaqus\\6.10-1\\exec\\lbr\\standardB.lib', 'C:\\SIMULIA\\Abaqus\\6.10-1\\exec\\lbr\\ABQSMABasCoreUtils_import.lib', 'C:\\SIMULIA\\Abaqus\\6.10-1\\exec\\lbr\\ABQSMAAbuLicense_import.lib', 'oldnames.lib', 'user32.lib', 'ws2_32.lib', 'netapi32.lib', 'advapi32.lib', '&&', 'mt', '/manifest', 'standardU.dll.manifest', '/outputresource:standardU.dll;2', '&&', 'del', 'standardU.dll.manifest"']
Creating library standardU.lib and object standardU.exp
std_user.obj : error LNK2001: unresolved external symbol _fltused
standardU_static.lib(dflux.obj) : error LNK2001: unresolved external symbol _fltused
standardU_static.lib(umat_sst.obj) : error LNK2001: unresolved external symbol _fltused
standardU_static.lib(stdu_callallutils.obj) : error LNK2001: unresolved external symbol _fltused
LINK : error LNK2001: unresolved external symbol _DllMainCRTStartup
standardU_static.lib(uanisohyper_inv.obj) : error LNK2019: unresolved external symbol memmove referenced in function UANISOHYPER_INV
standardU_static.lib(uanisohyper_strain.obj) : error LNK2001: unresolved external symbol memmove
standardU_static.lib(umat_sst.obj) : error LNK2001: unresolved external symbol memmove
standardU.dll : fatal error LNK1120: 3 unresolved externals
Abaqus Error: Problem during linking - Abaqus/Standard User Subroutines.
This error may be due to a mismatch in the Abaqus user subroutine arguments.
These arguments sometimes change from release to release, so user subroutines
used with a previous release of Abaqus may need to be adjusted.
Exception: (<class 'driverExceptions.LinkError'>, LinkError('Abaqus/Standard User Subroutines',), <traceback object at 0x000007FFFF692188>)
Traceback (most recent call last):
File "Python/driver/driverAnalysis.py", line 181, in run
File "Python/driver/driverStandard.py", line 63, in analyze
File "Python/driver/driverSharedLibrary.py", line 174, in run
File "Python/driver/driverSharedLibrary.py", line 319, in link
LinkError: Abaqus/Standard User Subroutines
Abaqus/Analysis exited with errors
Also Explicit has the same problem with many error
Please give me some advice to solve my problem
It looks like you have multiple errors. Did your source code reference a function called "_fltused"?
Also, did you call the memmove function?
What language did you use for the subroutine?
-Jorgen
moslempayandeh
2010-09-08, 09:34
Thanks for reply
I want to use UMAT
I install Abaqus 6.10 and Fortran 11.0.6. When I want to compile my umat file or upload in CAE I get the message
This error may be due to a mismatch in the Abaqus user subroutine arguments.
These arguments sometimes change from release to release, so user subroutines
used with a previous release of Abaqus may need to be adjusted.
I find out maybe the link between Abaqus and Fortran is not complete so someone suggested to run Abaqus verification to find out what the problem is
The verification does not pass the standard and explicit subroutine but pass all others .
This the file which contain the error please if it is possible look in them (http://www.4shared.com/file/ckV0vfZp/std_user.html)
it starts to compile the file without problem and finish it but during the link it has problem
I think something must be define as links but I don,t know what
Mostafa
I think it is possible that your Fortran code is incorrect.
Can you try an exemplar UMAT or VUMAT subroutine that is known to work?
I would not necessarily be too worried about not passing the verification tests. That is not a critical error.
-Jorgen
moslempayandeh
2010-09-09, 03:49
In fact I used the sample in Abaqus help for check my system. Sample in document is
1.3.16 Upsetting of a cylindrical billet: coupled temperature-displacement and adiabatic analysis
I use these files
cylbillet_slow_usr_umat_umatht.inp
Slow upsetting case with the material behavior defined in user subroutines UMAT and UMATHT.
cylbillet_slow_usr_umat_umatht.f
User subroutines UMAT and UMATHT used in cylbillet_slow_usr_umat_umatht.inp.
I upload .for file in Job and the error is :
Problem during linking - Abaqus/Standard User Subroutines. This error may be due to a mismatch in the Abaqus user subroutine arguments. These arguments sometimes change from release to release, so user subroutines used with a previous release of Abaqus may need to be adjusted.
Job FARS aborted due to errors.
If you have better suggestion for test please let me know
Mostafa
Have you tried to compile the subroutine from the command line using:
abaqus make library=fortranfile.for
-Jorgen
moslempayandeh
2010-09-10, 07:45
Yes I tried this one but the result is the same as I got in verification file that means _fluster symbol and some other are problem
http://www.fotothing.com/photos/5c8/5c84cb2fcc5ed070421bd2ec98024a4b.jpg?ts=1284119001
moslempayandeh
2010-09-11, 13:53
Dear Jorgen
One basic question
Which lib and include must be defined in Env Variable where can I find out about it
May be I defined them wrongly.
Thanks
I would try the following:
1) open an abaqus cmd-window
2) run the fortran compilers script that is used to set the path, etc. I don't recall the exact name of this file, it is something like "set_ifort_vars.bat"
3) cd to the directory with your user-subroutine file
4) type: abaqus make library=fortran_file_name
If that does not work, then I would reinstall the fortran compiler
-Jorgen
moslempayandeh
2010-09-13, 08:54
Dear Jorgen
I solved my problem
The important point : run Fortran prompt before Abaqus
The solution change CAE target
"C:\Program Files (x86)\Intel\Compiler\11.1\067\bin\ifortvars.bat" intel64 && C:\SIMULIA\Abaqus\Commands\abq6101.bat cae || pause
the first target is the fortran prompt windows target for ia32 or intel64 careful about your machine model
;)No More Setting is Needed:)
upload your subroutine file in Job module and run the simulation
thanx for your help
best regards
I have the same problem as moslempayandeh did, but i can't realize how he could overcome the problem finally. Please help me in more details. I really need it. Can somebody give me a hand ?
moslempayandeh
2011-01-02, 03:33
You have a shortcut in your Windows Start for both ABAQUS and FORTRAN.
One of them runs "cmd Abaqus" which shows your license and then opens the ABAQUS.
Another one runs "cmd Fortran" which shows Visual Studio environmental setting
Find these two shortcuts It is not very difficult. Use property option of these shortcuts to find their target address
then combine them by adding target of FORTRAN Shortcut in the target of Abaqus shortcut in the way that both softwares run simultaneously in one cmd windows and Fortran run before the Abaqus.
I hope you get the point.
This photo shows my setting for x64 machine. if you look first fortran run in cmd windows and then Abaqus run.
http://oi55.tinypic.com/6qzoec.jpg
marigold
2011-01-21, 23:46
I am using the following two software
Fortran 11 to Abaqus 6.10
But when get the answer I get the following error encountered:
"Error in job exa: Problem during linking - Abaqus/Standard User Subroutines. This error may be due to a mismatch in the Abaqus user subroutine arguments. These arguments sometimes change from release to release, so user subroutines used with a previous release of Abaqus may need to be adjusted.
Job exa aborted due to errors."
moslempayandeh
2011-01-22, 14:13
do you define the Fortran before Abaqus? you must get cmd license windows look like above picture.
What did you do?
marigold
2011-01-22, 16:14
Thank your reply
I do not see a picture in the previous contents
I'm typing the following at the target,
"C:\Program Files\Intel\Compiler\11.1\060\bin\ifortvars.bat" ia32 && E:\SIMULIA\Abaqus\Commands\abq6101.bat cae || pause
Then I run abaqus
http://plogger.ir/up/2011-1/92682050066826.jpg
open the model and ...
moslempayandeh
2011-01-23, 03:34
I don't know why you have a error message about the path which is specified. I have a suggestion may be work
Yo must have some knowledge about ENVIRONMENTAL VARIABLE in windows. There is one option which is called PATH.Search it on google
ADD the below target to PATH in Environmental Variable in your system, careful about find the correct folder
C:\Program Files\Microsoft Visual Studio 9.0\SDK\v3.5\Bin;C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools; C:\Program Files\Microsoft Visual Studio 9.0\VC\vcpackages; C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE; C:\Program Files\Microsoft Visual Studio 9.0\VC\bin;C:\WINDOWS\system32\;%SystemRoot%;C:\WI NDOWS\system32\Wbem;C:\Program Files\AdminStudio\9.0\Common
it may be works.
Best Regards
marigold
2011-01-23, 07:16
Dear Mostafa Payandeh
Thanks for reply
I Correct path as follows:
%IFORT_COMPILER11%lib\ia32;C:\Program Files\Intel\Compiler\11.1\060\mkl\ia32\bin;%System Root%\system32;%SystemRoot%;%SystemRoot%\System32\ Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ ;C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin; C:\Program Files\Microsoft Visual Studio 8\Common7\Tools;C:\Program Files\Microsoft Visual Studio 9.0\VC\vcpackages; C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE; C:\Program Files\Microsoft Visual Studio 9.0\VC\bin;C:\WINDOWS\system32\;%SystemRoot%;C:\WI NDOWS\system32\Wbem; e:\SIMULIA\Abaqus\Commands
But I still have problems
moslempayandeh
2011-01-23, 07:30
Please run FORTRAN I32 separately. Does it work?
Can yo see below massage in the end.
"Setting environmental for using Microsoft visual studio x86 tools"
It is the message which you must see instead of
"The system can not find the path specified"
marigold
2011-01-23, 07:39
Thanks
How run fortran as separately?
moslempayandeh
2011-01-23, 07:43
Go to Start windows and find "Intel(R) Visual Fortran Compiler Professional" there and run "Fortran Build Environment for applications running on IA-32"
marigold
2011-01-23, 07:59
Very Thanks
Again,I see the following message
"The system can not find the path specified"
What should I do now?
moslempayandeh
2011-01-23, 08:04
So at least you know what is the problem. It raises from the error in FORTRAN installation
Please reinstall the FORTRAN until you can run the FORTRAN.
You can also make contact to Intel for more information but first reinstall the FORTRAN
marigold
2011-01-24, 02:48
Thanks
I reinstall the FORTRAN but didn't work
When installing the fortran, I get several error that You can see in the picture below:
http://s25.aks98.com/files/91224927102856299673.jpg
Of course I'll install the software "Microsoft Platform SDK" as seperately
But I didn't install the below components as separately
Perhaps there is on my computer!!!
The following components can not be installed:
- Integration(s) in Microsoft Visual Studio*
- Intel(R) Parallel Debugger Extension
- Integrated Documentation
Do the above software should I install separately?
lumpwood
2011-01-24, 03:43
Have you installed visual studio? You need it to use Intel Fortran with Abaqus. If you have and are using a 64 bit machine then don't forget to install the extra x64 compilers and tools with VS.
moslempayandeh
2011-01-24, 04:00
you can get some information from below link
www.intel.com/cd/software/products/asmo-na/eng/405976.htm
Hi dear users
I have the same problem as marigold does. I also can't fix the problem. Please anybody helps me !
Best regards
Iman Jamshidi
jamshidi@mecheng.iust.ac.ir
moslempayandeh
2011-02-06, 02:01
Explain youy problem. Read older noted and try to run Fortran and Abaqus separately .
Hi
I was going to write a UMAT & VUMAT subroutine for Abaqus in Fortran language. At first I tried to run an example from Abaus Documentation. So i extracted a “.inp” file and its related “.f” file from it. I submitted a job and encountered an error: “ifort.exe is not in the path” or sth. Like that.
I found out i needed Intel Fortran Compiler & Intel C Compiler. I installed them but had the same error. Then i defined “ifortvars.bat” and “iclvars.bat” in the Environmental Variables. A new error was come up:
"Problem during linking - Abaqus/Standard User Subroutines. This error may be due to a mismatch in the Abaqus user subroutine arguments. These arguments sometimes change from release to release, so user subroutines used with a previous release of Abaqus may need to be adjusted"
It should be mentioned when i run ifortars.bat from command prompt, i see this error:
“Intel(R) Visual Fortran Compiler Professional for applications running on IA-32,
Version 11.1.054
Copyright (C) 1985-2009 Intel Corporation. All rights reserved.
The system cannot find the path specified.”
I use win7 32bit, Abaqus 6.10-1, Intel Fortran Compiler 11. I guess Intel Fortran Compiler is the problem.
By the way, “abaqus verify –user_std” leads to :
“Running system requirement checks.
Requirement: Windows Server 2003, Windows XP, Windows Vista, or Windows 7
Product: All Abaqus Products
Status: Pass - Found Windows 7 Ultimate Service Pack 1, v.178 (Build
7601) (x86).
Requirement: Microsoft Visual C++ 9.0 (2008), or 10.0 (2010)
Product: Abaqus make utility with C++
Status: Fail - Unable to locate or determine the version of a C++
compiler on this system. If Microsoft Visual C++ 8.0 (.NET
2005) is installed on this system, please load the
vcvars32.bat file before running Abaqus.
Requirement: Intel Fortran Compiler 10.1 or 11.1
Product: Abaqus make utility with Fortran and Abaqus with user
subroutines
Status: Fail - Found Intel Fortran Compiler 9.1 Build 20060816Z
Package ID W_FC_C_9.1.029.
Requirement: HP-MPI 01.01.00.00
Product: Abaqus analyses using MPI-based parallelization and
Abaqus/CFD
Status: Pass - Found HP-MPI 01.01.00.00.
Requirement: Internet Explorer 6.0 or 7.0 or 8.0, Firefox 2.0 or 3.0 or
3.5, or greater
Product: Abaqus Documentation
Status: Pass - Found Internet Explorer 8.0.
Making C:\Users\imAn\verify. All verification files will reside in this
directory.
-----------------------------------------------------------------------------
Abaqus/Standard with user subroutines
...INFORMATION
System requirements were not met. Verification
procedure will be skipped. However, user subroutines
can be run using a precompiled library set by the
variable usub_lib_dir. For more information please
see the section 3.2.2 of Abaqus Analysis User's
Manual.
Continuing...
-----------------------------------------------------------------------------
Clean-up...
Verification directory C:\Users\imAn\verify has been deleted.”
moslempayandeh
2011-02-06, 02:57
Have you installed the Microsoft Visual Studio?
I had installed it , but faced the same problem. It's not installed Now
moslempayandeh
2011-02-06, 04:27
See Abaqus Verification is not important now let focus on other things?
could run fortran separately? Not with Abaqus
Do you have any error message?
lumpwood
2011-02-06, 05:59
You should really read the previous posts!! You need Visual Studio installed along with the optional extra compilers and tools for Intel Fortran to work. Your problem is most likely with your Fortran installation and not Abaqus.
lumpwood
2011-02-06, 06:08
Thank your reply
I do not see a picture in the previous contents
I'm typing the following at the target,
"C:\Program Files\Intel\Compiler\11.1\060\bin\ifortvars.bat" ia32 && E:\SIMULIA\Abaqus\Commands\abq6101.bat cae || pause
Then I run abaqus
http://plogger.ir/up/2011-1/92682050066826.jpg
open the model and ...
2011 CAE tokens?...thats alot;)
I did these settings. The above picture is like mine when i set the target as mentioned or when i run "ifortvars.bat" separately. Would you mine telling me about the different versions of Abaqus and their supported requirement versions ?
lumpwood
2011-02-07, 03:42
Sure, however if you are seeing the same as above, then as I said its a problem with your Fortran set-up and not Abaqus. The error is saying it can't find the path to 'vcvars.bat' . You will not have this on your PC if you haven't installed Visual Studio (with neccesary compilers and tools) or similar. The list of requirements for Abaqus are here: http://simulia.com/support/v610/v610_sysRqmts.html
There are many variations in set-up you can use. I use:
Visual Studio 2005 (with extra x64 compilers and tools installed),
Intel Fortran Compiler 9.1 (with VS Integration installed),
Abaqus 6.10
Hope this helps..
P.S If you are using a X64 PC then in some instances you may need to edit ifortvars.bat to point to the x64 C compilers directly. This is rarely neccesary though.
marigold
2011-02-08, 09:25
Hi
"Dear moslempayandeh"
In begin, I instal Microsoft Visual 2008 Standard
Then I install Fortran 9
And the problem was resolved
Of course I wanted to thank my friends who have had help, But I could not login
God willing, Be successful and confirms
Hi dear friends.
I also could solve the problem. I did it by installing in the right order.
Thank you all. I never forget your kindness.
Best wishes
ebarbero
2011-03-04, 12:11
Thanks for the solution, but it was not enough for me. I had to add the linker to the path:
PATH=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Bin;%PATH%
and to include the Visual Studio libraries as User Variables:
LIB=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Lib;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\PlatformSDK\Lib;%LIB%
Hi dear friends
After much effort and time and confusion with VS, Intel Fortran Compiler and Abaqus (installaion,version,paths,...), I finally could run an analysis with UMAT subroutine successfully. This run and also some others were all extracted from Abaqus Documentation.
Now i wanna implement an analysis by my own. So i read the documentation and wrote a UMAT file by making my own changes in documentation file. From algorithm point of view, the file is correct. But i wanna know how i could link the Fortran file and Abaqus file. I mean how Abaqus realizes the Fortran file is the compatible subroutine for the model? Logically, a subroutine file shouldn't be compatible with another abaqus file. (I don't know if i could explain my problem !)
By the way, i've figured out that one of the links is about Property module. I should define a USER MATERIAL in "Edit material", and i also should define variables in there compatible with PROPS ( I'm mixed up right now!!!).
PLEASE guide me.
Nobody answers?
I need help guys. Please.
Hi!
I m new in Abaqus, and I want to make a vumat work. To begin I utilised an example found on the internet.
I tried to do as you said; to put both fortran and abaqus in the command window; I have the confirmation for the fortran compiler but abaqus doesn t start. so, then I put "abaqus -j Job-1 -user subroutine6 interactive " where Job-1 is the name of the job , with .inp, and subroutine6 the name of the subroutine , .for.
To make my cae I drew an extruded part, I put the material data as you can see in ftp://ftp.demec.ufpr.br/disciplinas/TM738/appendix3-vumat.pdfpage A3.15 (I didn't know what are the *Initial conditions; but the rest I did exactly as they say in this link; the fortran subroutine is the same); I created a step general dynamic explicit with nlgeom on , I put an encastre on one side of the bar and a compression pressure on the other. I created a job, where I browsed my subroutine6.for. 7
So, when I put the command that I talked you about in the beginning here's what I get: http://www.jetScreenshot.com/demo/20110529-jks-74kb.jpg . I have a x64Windows7 , Abaqus 6.10, fortran compiler 11.1
If I just try to compile my subroutine6.for, I get the message that include 'vaba_param.inc' is not found.
Can you please tell me what is the problem? Fortran 11.1 and Abaqus 6.10 are supposed to be compatible.
Perhaps there is a problem with the parameters definition or I have to do something else except just the .for and the cae model.
Thanks a lot; even if I don't get an answer I found your discussion very usefull.
Though I hope you can help me because it has been a while I want to do the subroutine work and I keep trying and trying to remove the programs, to add paths to reinstall in different order ...
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.