24.1.2022 Kostenloser Fortran Compiler für Abaqus

Dieses Dokument dient als Anleitung um den kostenlosen Fortran Compiler für Abaqus CAE zu installieren. Die Anleitung ist in englischer Sprache.

Step 1 – Visual Studio:

If not yet installed, Visual Studio 2017 or Visual Studio 2019 is required. Newer versions do not seem to work, currently. I used VS2017 15.9.42.

Link to Visual Studio 2017: https://my.visualstudio.com/Downloads?q=visual%20studio%202017&wt.mc_id=o~msft~vscom~older-downloads

During the setup install the „Desktop development with C++“ workload (Figure 2), if VS is already installed but the corresponding workload is not, then this can be done under Tools -> Get Tools and Features…, see Figure 1.

figure 1

figure 2

Step 2 – Intel oneAPI Base Toolkit:

The Intel oneAPI Base Toolkit must be installed, please make sure you are not logged in to the website. When the login window opens select „Continue as a Guest“.
Download: https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit/download.html

Then simply follow the recommended installation.

Step 3 – Intel oneAPI HPC Toolkit:

The Intel oneAPI HPC Toolkit must be installed, please make sure you are not logged in to the website. When the login window opens select „Continue as a Guest“.  
Download: https://software.intel.com/content/www/us/en/develop/tools/oneapi/hpc-toolkit/download.html

Then simply follow the recommended installation.

Step 4 – Coupling:

After Intel Base and HPC are installed, the compiler and Abaqus still need to be coupled.

  • Search the Intel vars.bat file, by default à „C:\Program Files (x86)\Intel\oneAPI\compiler\latest\env
  • Set environment variables in cmd.exe à „ „C:\Program Files (x86)\Intel\oneAPI\compiler\latest\env\vars.bat“ intel64 vs2017“ Attention!!! Include the quotes „“ around the path, otherwise it will not be recognized as a continuous string. If Visual Studio 2019 is installed, then change the last parameter to vs2019.

figure 3

  • Edit „Target“ under Abaqus properties à „“C:\Program Files (x86)\Intel\oneAPI\compiler\latest\env\vars.bat“ intel64 vs2017 && C:\SIMULIA\CAE\2019\win_b64\resources\install\cae\launcher.bat cae || pause“. The first part corresponds to the command described above, the second remains default.

figure 4

  • Open the abaqus.bat file, which I found under „C:\SIMULIA\Commands\abq2019hf14.bat“ and add the red marked line accordingly. You could also run the corresponding command manually each time before starting, but this way it is easier and less error-prone.

figure 5

Step 5 – Validation:

The installation can be tested with an .input and .fortran file. The following two figures show the validation process for 1. a machine on which the compiler is not installed and 2. on a machine with installation.

figure 6

figure 7