Intel oneAPI provides Fortran functionality for user programmable features (UMAT, VUMAt, UGENS, etc.).
When asked were to place the default work directory, you are offered C:\temp, please don't use that, instead use C:\SIMULIA\user
https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=16&src=myvs&utm_medium=microsoft&utm_source=my.visualstudio.com&utm_campaign=download&utm_content=vs+community+2019
I installed version 16.10.2
https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit/download.html?operatingsystem=window&distributions=webdownload&options=online
You can choose online or local. I chose local to keep a copy of the installation package in case Intel discontinues the product.
https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-base-windows/top/before-you-begin.html?cid=oth&campid=iags_install&source=installer
https://software.intel.com/content/www/us/en/develop/tools/oneapi/hpc-toolkit/download.html?operatingsystem=window&distributions=webdownload&options=offline
You can choose online or local. I chose local to keep a copy of the installation package in case Intel discontinues the product.
It will be in a location `similar' to this:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\
It will be in a location `similar' to this:
C:\Program Files (x86)\Intel\oneAPI\compiler\2021.2.0\env
Start > Control Panel > System > Advanced System Settings > Environment Variables > System Variables > Path > Edit > New > OK
The original looks like this:
@echo off
setlocal
set ABA_COMMAND=%~nx0
set ABA_COMMAND_FULL=%~f0
"C:\SIMULIA\EstProducts\2020\win_b64\code\bin\ABQLauncher.exe" %*
endlocal
call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" -arch intel64
call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat" -arch intel64
@echo off
rem setlocal
rem set ABA_COMMAND=%~nx0
rem set ABA_COMMAND_FULL=%~f0
@call "C:\SIMULIA\EstProducts\2020\win_b64\code\bin\ABQLauncher.exe" %*
rem endlocal
For me it is at C:\SIMULIA\User\
Abaqus will read the file if it exists in your default working directory. This is the recommended way, not to modify the file in C:\SIMULIA\EstProducts\2020\win_b64\SMA\site\.
# Solves problem with naming convention
compile_fortran += ['/names:lowercase',]
# EJB modification to simplify scripting
# Read and execute custom initialization commands
def onCaeStartup():
## recoverGeometry for easy parameterization
session.journalOptions.setValues(recoverGeometry=COORDINATE)
## session colors
session.viewports['Viewport: 1'].viewportAnnotationOptions.setValues(title=OFF)
session.graphicsOptions.setValues(backgroundStyle=SOLID,
backgroundColor='#FFFFFF', translucencyMode=2)
# do not execute onCaeStartup() here, CAE does it!
# end modification
as follows:
compile_fortran=['ifort',
'/Qmkl:sequential', #EJB <-- enable MKL (math library)
' free' , #EJB <-- free format Fortran95, do not use with VUMAT