You are here
LINKING FORTRAN AND C++ WITH ABAQUS
Dear all
I realized so many users have problems in
linking Fortran and C++ to ABAQUS to run user-subroutine codes such as
VUMAT and UMAT. I managed to collect all information (some taken from imechnica) which
is necessary to establish a proper link. These are my recommended steps :
1-Install ABAQUS
2-Install Microsoft Visual STUDIO (trial
version is good enough!) and install Intel Visual Fortran Compiler if it is not included in the Visual Studio package.
3- Open ABAQUS command window and type "abaqus verify
-user_std" then it will check the requirements and will give a message
pass or fail. If everything is met then it will show pass. usually Visuall
fortran and visuall C fails, and you need to set their path in "Environment
Variables" in windows.
4- If fails go to My Computer->Properties->Advanced->Environment
Variables, in the "System variables" list locate "Path"
variable
FOR 64- bit windows it
can be similar to this:
;C:\Program Files
(x86)\Microsoft Visual Studio 8\VC\bin\amd64\;C:\Program Files C:\Program Files
(x86)\Microsoft Visual Studio 8\VC\bin\; C:\Program Files (x86)\Intel\Compiler\11.0\072\fortran\Bin\
and for 32 bit
windows it can be similar to this:
C:\Program
Files\Intel\Compiler\Fortran\10.1.021\IA32\Bin\;C:\Program Files\Microsoft
Visual Studio 8\VC\bin\;C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\;C:\Program Files\Common Files\Microsoft Shared\VSA\8.0\VsaEnv\;
5- Check
that all the field are passed by running "abaqus
verify -user_std",. If link does not establish between fortran and ABAQUS,
the last step would be editing the file
"abq69ef1.bat" (this is for example for ABAQUS version6.9) in
the" C:\SIMULIA\Abaqus\Commands". (Be careful in that folder
there is another file abaqus.bat, you need to pick the abq69ef1.bat!)
Open the "abq69ef1.bat"
with Notepad, and set the path similar to this
@echo off
IF NOT DEFINED FORTRAN_VARS_SET call
"C:\Program Files
(x86)\Intel\Compiler\11.0\072\fortran\Bin\intel64\ifortvars_intel64.bat"
set FORTRAN_VARS_SET=1
"C:\SIMULIA\Abaqus6.9\6.9-EF1\exec\abq69ef1.exe"
%*
6-save
and exit
7-Enjoy it!
- Kianoosh.Marandi's blog
- Log in or register to post comments
- 36763 reads
Comments
hi kianoosh i setup a
hi kianoosh
i setup a microsoft visual studio 10 and i didnt find :"C:\Program Files
(x86)\Intel\Compiler\11.0\072\fortran\Bin\intel64\ifortvars_intel64.bat"
i think there no fortran compiler in it.can u help me,thank u !
damet garm ;)
linking fortran and abaqus
Please can you help me to link fortran and abqus
Hi Moza
Hi Moza
Hi Moza
Hi Moza
You may need to install intel Visual Fortran compiler if it is not included in the Visual Studio.
I may add this comment to the instruction.
Configure Abaqus to run user subroutine
Hi mate
I am trying to make a link between Abaqus and Fortran. I faced a problem and have tried whatever recommended on the internet. But there is still something wrong!
I would really appreciate it if you could let me know your idea on how to resolve the problem. The error reported by "abaqus verify -user_std" has been brought, below. In fact, all requirements were recognized but at the end it is written that "Abaqus did not complete successfully".
*************************************************************************************************************************************
standardU.dll.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
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 0x000007FFFF4BFFC8>)
Traceback (most recent call last):
File "SMAPyaModules/SMAPyaDriver.mpy/Lib/driverAnalysis.py", line 181, in run
File "SMAPyaModules/SMAPyaDriver.mpy/Lib/driverStandard.py", line 64, in analyze
File "SMAPyaModules/SMAPyaDriver.mpy/Lib/driverSharedLibrary.py", line 180, in run
File "SMAPyaModules/SMAPyaDriver.mpy/Lib/driverSharedLibrary.py", line 325, in link
LinkError: Abaqus/Standard User Subroutines
Abaqus/Analysis exited with errors
Linking fortran to abaqus
I am facing the same problem like Rampa had, all the requirements were recognized (including visual studio and fortran compiler), but still can not run user subroutine. Anyone can help?Thank you very much
I have solved the problem in
I have solved the problem in connecting Abaqus 6.13 with Visual Studio 2012 and Fortran Composer XE 2013 following this link: http://tuoonline.sinaapp.com/?p=131.