Professional Documents
Culture Documents
Linking ABAQUS With A FORTRAN Compiler For ABAQUS 2021 1
Linking ABAQUS With A FORTRAN Compiler For ABAQUS 2021 1
Linking ABAQUS With A FORTRAN Compiler For ABAQUS 2021 1
Prerequisites
1. The user is assumed that they have installed ABAQUS 2021 already.
1. The Community version of Visual Studio 2019 is the minimum requirement and can
be downloaded in the link below.
2. When installing Visual Studio 2019, the user must ensure that “Desktop
Development with C++” has been enabled alongside the main Visual Studio Core
Editor.
LaunchTech Solutions
Web: www.launchtech.ae Tel: +97125627399
Email: contact@launchtech.ae Address: P.O. Box 148410, Abu Dhabi, UAE
Intel OneAPI
1. The recent release of Intel OneAPI is free to install. The user should download and
install both the OneAPI Base and High-Performance Computing (HPC) toolkit for
the Fortran compiler. The OneAPI Base toolkit should be downloaded and installed
first as it is a prequisite to download and install the HPC toolkit.
2. The link for the OneAPI Base and HPC downloads can be found below.
LaunchTech Solutions
Web: www.launchtech.ae Tel: +97125627399
Email: contact@launchtech.ae Address: P.O. Box 148410, Abu Dhabi, UAE
4. When downloading and installing both the Base and HPC toolkit, the following
libraries are sufficient:
LaunchTech Solutions
Web: www.launchtech.ae Tel: +97125627399
Email: contact@launchtech.ae Address: P.O. Box 148410, Abu Dhabi, UAE
5. During the installation, ensure that you integrate Intel oneAPI with Visual Studio
2019 as the Integrated IDE.
1. The user should first go to the Intel oneAPI installation folder. A reference where
this can be found is shown below. Click the bar and type “cmd”. A command
prompt will appear. In the command prompt, type “setvars.bat” and run the
command. This will set the environment files ready in the system.
2. The user then needs to find the ABAQUS Commands folder found in <installation
directory>\SIMULIA\Commands. Since the guide is for the ABAQUS 2021 version,
the “abq2021.bat” will be edited. Right click and edit the file using notepad.
3. The following calls, Visual Studio’s “vcvarsall.bat” and OneAPI’s “vars.bat” need to
be inputted depending on where they are in the system. An example of the file
locations are shown below
LaunchTech Solutions
Web: www.launchtech.ae Tel: +97125627399
Email: contact@launchtech.ae Address: P.O. Box 148410, Abu Dhabi, UAE
The following image shows where the commands should be inputted within the
file.
5. The ABAQUS environment file will then need to be edited. This can be found in
<installation directory>\SIMULIA\EstProducts\2021\win_b64\SMA\site and editing
the abaqus_v6.env file using notepad. The following commands need to be added
in the end of the file.
compile_fortran += ['/names:lowercase',]
link_sl='LINK /NODEFAULTLIB:LIBCMT.LIB /dll /def:%E /out:%U %F %A %L %B'
LaunchTech Solutions
Web: www.launchtech.ae Tel: +97125627399
Email: contact@launchtech.ae Address: P.O. Box 148410, Abu Dhabi, UAE
6. Save the file and close the notepad.
7. Finally, open a command prompt using administration privileges and type “abaqus
verify -user_std”. If the below message appears, ABAQUS user-subroutines has
been successfully configured with the compiler!
If there have been any issues faced during this guide or the verification fails, contact
support@launchtech.ae for further assistance.
LaunchTech Solutions
Web: www.launchtech.ae Tel: +97125627399
Email: contact@launchtech.ae Address: P.O. Box 148410, Abu Dhabi, UAE