Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29228 Обсуждение

vars.bat Warning When Running Abaqus with Fortran Subroutines

lefter
Начинающий
4 809Просмотр.

Hello,

I'm using Intel oneAPI Fortran Compiler with Abaqus to run user subroutines (e.g., UMAT). I followed the instructions from this tutorial:
https://tecnodigitalschool.com/gettting-started-using-fortran-subroutines-in-abaqus/

Situation:

  • On my friend's pc, everything works fine. The Abaqus job with the Fortran subroutine runs successfully, and I can open Abaqus CAE without any issues.

  • However, on my local pc, while the job still runs without any error, I get the following warning when opening Abaqus CAE:

WARNING: vars.bat does not set up dependencies when invoked directly. Please perform environment set up for UMF before running DPC++ applications

Additional Details:

  • The environment was set up by calling vars.bat manually or through a .bat wrapper.

  • The warning does not prevent the job from running, but I want to understand:

    • What exactly this warning refers to (UMF/DPC++),

    • Whether this impacts Fortran-based user subroutines,

    • And how to properly avoid this message.

System Info:

  • Intel oneAPI version: [2025.2.0]

  • Visual Studio version : [2022]

  • Abaqus version: [ 2021]

Is this warning something I can safely ignore for classic Fortran-based Abaqus workflows? Or is there a recommended way to set up the environment on my pc to avoid this?

Thanks in advance for your help!

 

0 баллов
1 Решение
Steve_Lionel
Почетный участник III
4 768Просмотр.

The message you show comes from an Abaqus script, not an Intel script. You would need to contact Abaqus support about the message.

Просмотреть решение в исходном сообщении

3 Ответы
Steve_Lionel
Почетный участник III
4 769Просмотр.

The message you show comes from an Abaqus script, not an Intel script. You would need to contact Abaqus support about the message.

JCDM
Начинающий
3 007Просмотр.

Hello,

This message did not come from abaqus script but from calling the intel configuration script.
The error occurs when launching :

call "C:\Program Files (x86)\Intel\oneAPI\compiler\2025.2\env\vars.bat" intel64 vs2022

This command is launched in order to configure compiler to make abaqus able to use compiler.

Is it the right way to initialize the OneApi compiler configuration ? 

Steve_Lionel
Почетный участник III
2 999Просмотр.

Sorry for the misinformation earlier.

 No, that is not correct. Use this instead:

call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" intel64 vs2022

Ответить