Notifications
Clear all

UMAT for Abaqus on 64 bit Windows

6 Posts
4 Users
0 Likes
389 Views
Posts: 5
Topic starter
(@horsein)
Active Member
Joined: 16 years ago

Hi,

I have a machine with 64bit Windows XP and Abaqus 6.9 64bit installed. I wrote a umat on another machine, which has 32bit Windows XP and Abaqus. Can I compile a shared .dll library of my umat on 32bit machine and run it on 64bit machine. The 64bit machine doesnt have fortran compiler. If this is not possible, what software do I require for 64bit machine to run umat e.g intel fortran and visual studio.

Thanks for your help.

Regards

Aamir

Topic Tags
5 Replies
Posts: 3990
(@jorgen)
Member
Joined: 4 years ago

I have no tried that, but it can probably be done.

First, however, I do not believe that a 32-bit UMAT in dll-format would on a computer with a 64-bit OS.

The approach I would try to accomplish what you are trying to do is as follows:

1) The Intel Fortran compiler typically installs both a 32-bit and 64-bit compiler, even if the host computer is only running 32-bit Windows.

2) Compiler your UMAT into object format using the 64-bit compiler

3) Link the dll file using a 64-bit linker and the appropriate Abaqus 64-bit libraries (which you can copy from your 64-bit computer)

4) Copy and use the 64-bit dll file on your 64-bit computer.

Note 1: It is not a trivial task to accomplish these tasks. It will take some experties to figure out the compile and linking commands.

Note 2: I basically use this approach to compile by 32-bit and 64-bit dll-libraries, but I have not tried to compile the code using a cross-platform compiler.

-Jorgen

Topic Tags
5 Replies
Posts: 7
(@deschmidt)
Active Member
Joined: 14 years ago

Hi and thank you for an excellent Forum.

I am having problems getting Abaqus 6.9-2 to work with Intel Fortran Compiler 10.1.011 and MS Visual Studio 2005 in Windows 7. The programs are installed in the correct order, and I have changed or added the necessary environmental variables in windows. I also added the Intel Fortran batch file, ifortvars.bat, to the Abaqus cmd window. This approach worked nicely in Windows XP, but with Windows 7 I get a LNK2001 error and a LNK2019 error when I am trying to run a UMAT. I cant seem to understand what is going wrong. Any ideas?

Jim

Reply
Posts: 3990
(@jorgen)
Member
Joined: 4 years ago

I am not sure what you would get those errors.
One thought, are you sure that MS VS 2005 works in Win 7?

-Jorgen

Reply
Posts: 7
(@deschmidt)
Active Member
Joined: 14 years ago

Yes, MS VS 2005 works fine in Windows 7. My problem was finally solved by installing the x64 compiler tools in MS VS 2005 (which is not included in the default installation).

Jim

Reply
Posts: 9
(@jnrao)
Active Member
Joined: 15 years ago

[QUOTE=aamirmub,5508]Hi,

I have a machine with 64bit Windows XP and Abaqus 6.9 64bit installed. I wrote a umat on another machine, which has 32bit Windows XP and Abaqus. Can I compile a shared .dll library of my umat on 32bit machine and run it on 64bit machine. The 64bit machine doesnt have fortran compiler. If this is not possible, what software do I require for 64bit machine to run umat e.g intel fortran and visual studio.

Thanks for your help.

Regards

Aamir

Hi, Aamir

I tried to compile my user subroutine into DLL but i failed getting it running couple of years ago. At last I used oject file rather than DLL.

I am curious about your question and very eager to know the possiblity of compliling a user subroutine into DLL.

regards

Tian

Reply
Share: