Blog

Linking Abaqus 2017 and Fortran

Link Abaqus & Fortran Banner

As you know, we need to link Abaqus and Intel Fortran to execute user subroutines such as VUMAT, UMAT, USDFLD, etc. You can link various versions of Abaqus and Fortran. Here in this article, we are trying to link Abaqus 2017 and Fortran on Windows 10 (x64). To do that, we also need another program named Microsoft Visual Studio.

What do we need?

As you can see in the article Compatible versions of Intel Fortran and Visual Studio for Abaqus, this is the compatibility list for Abaqus 2017:
Intel Parallel Studio XE 2013 or above
Visual Studio 2010 or above

We will use:

1. Abaqus 2017

Remember that user subroutines are not available for the Student version.

2. Microsoft Visual Studio Ultimate 2013 with Update 5

It is free software. You can download it here:
https://visualstudio.microsoft.com/vs/older-downloads
On that page, you can also find older versions (for example, Visual Studio 2013 that is needed here):

3. Intel Parallel Studio XE 2017 Update 2 Cluster Edition

You can subscribe to download the Student version of Fortran free from here:
https://registrationcenter.intel.com/en/forms/?productid=2871

(You need to have an academic email to receive a free student license from Intel).

Notes:

1. In order to have a correct linking, you should install Visual Studio first, then Intel Parallel Studio XE.
Avoid changing the installation directory structure to find files required for the next steps more easily. If you lack space in drive C, just change the installation drive. In addition, installing both programs on the same drive is recommended.

2. Some references suggest that Abaqus should be installed at last. As an experience, it does not matter at all. Therefore, you can link your existing Abaqus with Fortran just by installing compatible Visual Studio and Intel Fortran.

3. In fact, we do not need to install the full package of Visual Studio and Intel Fortran. However, if you are not sure about what Abaqus really need to be installed, then install them with default options. This is the simple way to avoid the failure of linking.

Step 1: Installing Visual Studio

Just follow the procedure. There is no need to change any default. If you want, you can change the installation drive (considering the second note):

Step 2: Installing Intel Parallel Studio

Look at the image below and follow the installation procedure:

In the next window, installation wizard may report some issues:

Issues like these are OK. Press Next.
In the License Activation step, select Choose alternative activation:

Then Browse the License file (with .lic suffix) provided by Intel. You have received this file via email if you requested an academic license.

Then follow the procedure. There is no need to change any default. If you want, you can change the installation drive (considering Note 1).
Then you will see this window:

Select Visual Studio 2013 as Integration Target. Press Next.
Finally, after pressing Install, you should be patient for some minutes.

Step 3: Adding some Paths to System Variables of Windows

In the Control Panel of your Windows, find “System” item:

Then follow the instructions below to find “path”. Select “Edit”.

You should add these two addresses to the existing Variable Value:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64

C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2017.2.187\windows\bin

Just click at the end of the existing Value, put a semicolon (;), type (or paste) the first address, put a semicolon again, and type the second address:

If you have changed the default installation drive (C:) you should use that drive letter instead of C: in the above-mentioned addresses.

Step 4: Setting Abaqus to call Visual Studio and Intel Fortran

Find the default directory of Abaqus shortcuts. Just type “Abaqus CAE” in the Search box of Windows 10 (lower left corner near Start). Then right-click on the program name. Select Open file location.
In addition, you can follow this address on your PC as the default folder for Abaqus 2017 shortcuts:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Dassault Systemes \SIMULIA\Abaqus CAE 2017
Also, You can Copy & Paste this into your Address bar.
Now, right-click on “Abaqus CAE” and select Properties:
Then, in Target, come to the beginning of the present expression (press Home key on your keyboard) and add this expression:
“C:\Program Files(x86)\IntelSWTools\compilers_and_libraries_2017.2.187\windows\bin\ifortvars.bat” intel64 vs2013 &
(Just Copy and Paste. Do not forgot the final Space after &)
If you have installed Intel Fortran on another drive, replace C: in the above expression with the appropriate drive letter.
Do exactly what you have done for Abaqus/CAE with Abaqus Command and Abaqus Verification in the Abaqus shortcuts folder.

Step 5: Check Your Subroutine Interface

Run Abaqus CAE (the shortcut in Desktop or from Start menu). If you see this window, you can get happy 🙂. Linking Abaqus to Fortran seems successful.


One thought on “Linking Abaqus 2017 and Fortran

  1. Michael Vigliotti says:

    This is one awesome blog post. Really thank you! Keep writing.

Leave a Reply