Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29281 Discussions

SETVARS usage to run older version

dajum81
New Contributor I
512 Views

Is there a way to set up a command prompt environment to run ifort when I have installed 2025?  Is a config file the way to do this via the setvars call?  I googled a lot and couldn't find the syntax to be able to do this.  What goes in the config file?  I want to run either 2021.13.1 or 2021.10, both of which are still installed.

TIA

Dave

0 Kudos
2 Replies
andrew_4619
Honored Contributor III
493 Views

"C:\Program Files (x86)\Intel\oneAPI\2024.1\oneapi-vars.bat"

I have not tried it but each older install has the bat file above which is setvars.bat.  The actual start menu shortcuts run a setvars higher up the chain which is for the latest version as you have found. Shortcuts for older versions get removed by the installer.

Devorah_H_Intel
Moderator
400 Views
0 Kudos
Reply