PDA

View Full Version : the error (LINK.exe) while executing the user subroutine


vinnuram
2005-09-20, 12:33
hello,
thank you for the help given in the past.i tried linking the job and subroutine with the command given in the forums.but when i tried it gives me a error saying LINK.EXE NOT FOUND IN THE PATH.
I guess if i figured this then i can run the user subroutine with the job.I am using the g95 compiler for the .f files.If you know any other compilers please recommend it to me.
I am also using FORCE2.0 program as tool to write the fortran program.i does not accept the aba_param_.inc.I gives error if i put it in the program.So please let me know if there is a other way.
thank you
Vinnu S.Arige

Jorgen
2005-09-21, 03:45
Hello Vinnu,

I assume that you are using a Microsoft Windows PC since you mention LINK.EXE. It turns out that ABAQUS only supports very specific compilers, and I don't think that g95 is supported :(

Unfortunately, if you write you own Fortran subroutine and want to use it with ABAQUS then you will need to use one of the compilers that they recommend! I use Digital or Compaq Visual Fortran (if I remember right). I recommend that you go to the ABAQUS web page and find out which compilers are supported and then get one of those.

If you don't want to purchase the recommended compiler for PCs then you have two options:
:arrow: Try to figure out how to "trick" ABAQUS to use the compiler that you already have. Once I briefly tried to use g77 without any luck however. This may or may not work.
:arrow: You can switch to a Linux computer. ABAQUS works on Linux and on the Linux platform ABAQUS supports the Intel Fortran compiler, which can be downloaded for free.

Best of luck,
Jorgen

sq
2005-09-21, 05:46
A quick note: the Compaq/HP compiler will no longer be supported after December. ABAQUS is recommending Intel Visual Fortran (8.1) which requires Visual C++ compiler to work.