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

vars.bat Warning When Running Abaqus with Fortran Subroutines

lefter
초급자
4,802 조회수

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,761 조회수

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,762 조회수

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,000 조회수

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 포인트
Steve_Lionel
명예로운 기여자 III
2,992 조회수

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 포인트
응답