Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29234 Discussions

vars.bat Warning When Running Abaqus with Fortran Subroutines

lefter
Beginner
4,844 Views

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 Kudos
1 Solution
Steve_Lionel
Honored Contributor III
4,803 Views

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

View solution in original post

3 Replies
Steve_Lionel
Honored Contributor III
4,804 Views

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

JCDM
Beginner
3,042 Views

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 ? 

0 Kudos
Steve_Lionel
Honored Contributor III
3,034 Views

Sorry for the misinformation earlier.

 No, that is not correct. Use this instead:

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

0 Kudos
Reply