Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29236 Discussions

error in running fortran in abaqus6.8

fqinfortran
Beginner
5,898 Views
Hi, experts.
I've installed IVFortran v9.1 and microsoft visual c++2005 and try to integrate with Abaqus v6.8-1.
I'm trying to run the command under abaqus jobs directory using
c:\\abaqus jobs>abaqus job=plate-vusdfld user=xx.VUSDFLD interactive
This command is to run the job with user subroutine.

But I got the error as follows:
"Begin Compiling Single Precision Abaqus/Explicit User Subroutines
ifort: error: could not find 'cl'
End Compiling Single Precision Abaqus/Explicit User Subroutines
Begin Linking Single Precision Abaqus/Explicit User Subroutines
ValueError: LINK.exe not found in PATH.
"
So what should I do next to fix it?
Could anyone help me out?
Thanks.

BTW, the operating system is windows xp 64 digit.
0 Kudos
1 Solution
Steven_L_Intel1
Employee
5,903 Views
Ok, that's easy then. Drag a copy of the Intel Visual Fortran Build Environment for EM64T applications shortcut to your desk (be sure not to do a "Move".) Right click on it and select Properties. Change the Start In to be C:\Abaqusjobs Change the name of the shortcut to be Abaqus.

View solution in original post

0 Kudos
28 Replies
Steven_L_Intel1
Employee
1,236 Views
Right click on your shortcut for Abaqus and select Properties > Shortcut. What is the full text of what is in the Target field and the Start in field?

From any command prompt, please type:

set ifort

and tell me what it says.
0 Kudos
fqinfortran
Beginner
1,236 Views
Hi Steve,
My shortcut for Abaqus is gone I screwed it up.
But in start-> All Programs->Intel software development tools->Intel Fortran compiler 9.1->
I find c:\ abaqus command.
Check its property, it says
Target: C:\WINDOWS\SysWOW64\cmd.exe /K
Start in: c:\abaqusjobs
0 Kudos
Steven_L_Intel1
Employee
5,904 Views
Ok, that's easy then. Drag a copy of the Intel Visual Fortran Build Environment for EM64T applications shortcut to your desk (be sure not to do a "Move".) Right click on it and select Properties. Change the Start In to be C:\Abaqusjobs Change the name of the shortcut to be Abaqus.
0 Kudos
fqinfortran
Beginner
1,236 Views
Thank you, Steve.
I've made the change but it still shows that
"ifort: error: could not find 'cl'
ValueError: Link.exe not found in PATH.
"
0 Kudos
Steven_L_Intel1
Employee
1,236 Views
Well, it seems you don't have Visual Studio installed properly then. My guess is that you did not ask for the x64 support when you installed Visual Studio. Do this:

1. From Control Panel > Add or Remove Programs, select Microsoft Visual Studio 2005 > Change/Remove. The Visual Studio Maintenance Mode window will appear.
Click Next.
2. Click Add or Remove Features
3. Under Select features to install, expand Language Tools > Visual C++
4. If the box X64 Compiler and Tools is not checked, check it, then click Update. If the
box is already checked, click Cancel.

Now try it again.
0 Kudos
fqinfortran
Beginner
1,236 Views
Hi Steve,
I've done the maintenance of visual studio 2005 according to your saying.
Now I input a commond to verify the installation under the directory c:\abaqusjobs>:
c:\abaqusjobs>abaqus verify -user
It gave me the following message:
Pass- Found microsoft windows xp professional x64 edition SP2;
Pass- Found .NET Framework Version 2.0
Fail- Unable to locate or determine the version of a c++ compiler on this systerm. If microsoft visual c++8.0(.net 2005) is installed on this systerm, please load vcvarsamd64.bat file before running abaqus.
Pass-Found Intel Fortran Compiler 9.1.


If I run the abaqus inp file and user subroutine, it still gives me
ifort: error: could not find 'cl'
ValueError:LINK.exe not found in PATH


BTW: I have restarted PC after I finished maintenence of visual studio 2005.
Thanks.
0 Kudos
Steven_L_Intel1
Employee
1,236 Views
Try an uninstall and reinstall of Fortran. If it still fails, show me what is displayed when you first open the Fortran Build Environment window.

I'm somewhat hampered by your using such an old compiler version...
0 Kudos
fqinfortran
Beginner
1,236 Views
Hi Steve,
Thank you so much!
Now my abaqus user subroutine can be run.
To use such an old compiler version is because my boss will not use high version abaqus such that I have to find old version fortran to be compatiable with that software.
0 Kudos
Reply