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

Setting mpi paths with setvars.bat on windows

CarlSteefel
Beginner
343 Views

I ran the setvars.bat batch script in Intel\oneAPI and it seems to set ifort and ICC to the oneAPI path (these are inherited when I log into cygwin, for example).  But I don't see any of the MPI paths set here, despite the statement that will do the job in one of the pages on the topic.

For example, after logging into cygwin with C:\cygwin64\bin\bash --login, I get:

which ifort
/cygdrive/c/Program Files (x86)/Intel/oneAPI/compiler/latest/windows/bin/intel64/ifort

while 

which mpif90 /usr/bin/mpifor.  Not sure if they are part of the oneAPI distribution (I doubt it), but they don't work.

0 Kudos
1 Reply
Barbara_P_Intel
Moderator
311 Views

To use the Intel MPI compile with mpiifort. 

 

0 Kudos
Reply