PDA

View Full Version : FREE Fortran Compiler


Paul_S
2007-05-10, 04:21
I would like to try use some UMAT/VUMAT subroutine in ABAQUS. Does anybody know if there is any free fortran compiler available for Windows platform?

Any trial/shareware version could be sufficient - I only want to try some examples (to be sure that this is what I need) before I buy any commercial version of fortran compiler package.

Thank you for your advice,
Paul

Jorgen
2007-05-11, 21:24
In my experience, ABAQUS is quite picky about what compiler you use when working with UMAT/VUMAT code. I personally try to use exactly the compiler that ABAQUS recommend. For Windows PCs that is an Intel Fortran compiler.

I think you can download a trial version of that compiler for a short-term evaluation. I am not aware of another free compiler that will work :(

- Jorgen

Paul_S
2007-05-14, 05:48
Thank you Dr. Bergstrom,

I have already downloaded the trial version of Intel Fortran compiler, linked it with ABAQUS and then found out that C++ compiler is also necessary for using of UMAT/VUMAT subroutines. So I instaled the free "Microsoft Visual C++ Express" studio, however this is not detected by ABAQUS. It should probably be linked to Fortran compiler, but now I really do not know how to do it. I will follow searching related infos, but ...

... I will be very appreciated for any additional advice.

Paul

Jorgen
2007-05-14, 19:09
Perhaps your problem is related to environmental variables. Most compilers come with a script to set the PATH, etc. You might have to run these script files from, for example, the ABAQUS command window. Or directly set the appropriate variables globally. Note, you need both to do this from both the Fortran and the c++ compiler.

- Jorgen

Paul_S
2007-05-15, 05:40
The last two days I was intensively searching the web and found a set of various instructions. I reached a little progress but still not solved the problem. So far, I did the following:
- I installed Abaqus 6.5.1, Intel Fortran 9.1 trial version, Microsoft Visual C++2005 Express (free version) and Microsoft platform SDK ... in this order
- I set the system enviroments PATH, LIB and INCLUDE

Now it seems that there is not problem relating to "df.exe", "link.exe" as before.

During standard verification test ("abaqus verify -user_std" in command window):
- fortran compiler is detected (but "warning status" and "not tested version" commentary appears)
- C++ compiler (ver. 8.0) is detected, however "FAIL status" appears with "expected incompatibility of higher version (than 7.1) of C++ compiler with ABAQUS/Make"

During my own verification test in CAE (using *.inp and *.for files downloaded from this web pages):
- "job case is aborted due to errors" and the following error message appears in the *.log file:

....
Begin Linking Single Precision ABAQUS/Explicit User Subroutines
05/15/07 10:42:37
LINK : fatal error LNK1104: cannot open file 'dformd.lib'
ABAQUS Error: Problem during linking - Single Precision ABAQUS/Explicit User Subroutines


HOWEVER: there is no 'dformd.lib' file in my disc!?!
==============================

This is my current state. I am not sure HOW TO FOLLOW but I am decided to spend additional time with that because I think that I am close to final success. My be I will try to re-install the software packages in inverse order .... or try to obtain any trial version of compatible C++ compiler (not Express version). Does anybody know any trial and compatible version of this?

Thank you for any advice ...

MarcoSteva
2007-05-18, 13:59
Hi Paul_S,

I believe the problem is that Abaqus 6.5.1 requires Compaq Visual Fortran 6.0 (see http://www.simulia.com/support/v65/v65_sysRqmts.html).
The library you need should be supplied with that compiler (http://softwarecommunity.intel.com/isn/Community/en-US/forums/permalink/30226545/30226545/ShowThread.aspx).

Marco

Paul_S
2007-06-14, 09:30
I have already solved the problem - I switched to Compaq Visual Fortran.

Thanks to everyone for your help.

Paul