abaqus2021+vs2018+intel oneAPI2022 related program

1. Install abaqus2021 (the tutorial is from Baidu), and ensure that there is no problem with the abaqus installation;

2. Install Microsoft visual studio 2018 (to be installed before installing intel oneAPI);

3. Install intel oneAPI. For the two installation packages, first install the Intel® oneAPI Base Toolkit (version 2022.2.0 of this article), and then install the Intel® oneAPI HPC Toolkit (version 2022.2.0 of this article). There should be no problems in the order.

association

1. Search bar: Advanced system settings (Figure 1); enter system properties (Figure 2) - Advanced (Figure 2) - Environment variables - System variables (Figure 3) - Select Path (Figure 3) - Edit ——New (Figure 4)

figure 1

figure 2

 

image 3

Figure 4 

2、

a) Find the location of vcvarsall.bat of mvs c++ and add it to the system variable path (Figure 5)

D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build

(Depending on the directory where you install the software)

b) Find the location of vars.bat of oneAPI fortran and add it to the system variable path (since it is not clear which vars.bat file it is, here add all the vars.bat of oneAPI to the system variable (Figure 5)) ; Note: You can use some desktop search tools to quickly search to find the location of the target file, such as 360 Desktop Assistant (Figure 6)

D:\Program Files (x86)\Intel\oneAPI\inspector\2022.1.0\env

D:\Program Files (x86)\Intel\oneAPI\itac\2021.6.0\env

D:\Program Files (x86)\Intel\oneAPI\dnnl\2022.1.0\env

Figure 5 

 Figure 6 Search the target file name to quickly find the file location

c) Modify the abq2021.bat file (as shown in Figure 7 after searching by the desktop assistant)

Figure 7

 Open the location of the file and right-click to edit

@echo off
setlocal
set ABA_COMMAND=%~nx0
set ABA_COMMAND_FULL=%~f0
@call "D:\Program Files (x86)\Intel\oneAPI\compiler\2022.1.0\env\vars.bat" -arch intel64
@call "D:\Program Files (x86)\Intel\oneAPI\mkl\2022.1.0\env\vars.bat" intel64 
"C:\SIMULIA\EstProducts\2021\win_b64\code\bin\ABQLauncher.exe" %*
endlocal

(The path is determined based on your own installation directory)
d) Modify the abaqus environment file abaqus_v6.env (right-click without editing option, select notepad to open), add in the last line: compile_fortran += ['/names:lowercase',] 

============At this point, the association is completed==============

win+r, enter cmd, edit abaqus info=system and press Enter, the association is successful

 

Guess you like

Origin blog.csdn.net/Darren1921/article/details/124878970
Recommended