Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
公告
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 讨论

ifort command fails after ifortvars.bat ia32 VS2015

Yasuki_N_
初学者
1,065 次查看

I've been working on making Fortran 32bit-application on Intel Fortran compiler, which I got as a part of Intel Parallel Studio XE 2017 for Windows(evaluation edition). Before installing it, Visual Studio 2015 Community had been already installed.

The steps I took is below:

1.Installed Visual Studio 2015 Community.
2.Installed Intel Parallel Studio XE 2017 Cluster edition for Windows.
3.Executed command:ifortvars.bat ia32 vs2015.
4.Executed command:`ifort.exe /dll test.f90`
5.Got an error:"'ifort.exe' は、内部コマンドまたは外部コマンド、
操作可能なプログラムまたはバッチ ファイルとして認識されていません。 ", which means "'ifort.exe' is not recognized as an internal/external command nor an executable program nor bat file'".

In step4 I want to create 32bit-dll file, which is due to be used from the other 32bit-application.

I doubt the reason why step5 fails is that I have never succeeded in installing intel fortran 32bit compiler in step2.
Actually an option for selecting fortran 32bit-compiler was grayed out when installing.
If that's true, how can I get 32bit-compiler installed?

 

0 项奖励
1 解答
Steve_Lionel
名誉分销商 III
1,065 次查看

Please show the output of the ifortvars.bat command.

My guess is that when you installed VS2015 Community you accepted the defaults, which omits the C++ components required by Intel Fortran. See https://software.intel.com/en-us/articles/installing-visual-studio-2015-for-use-with-intel-compilers for instructions.

在原帖中查看解决方案

0 项奖励
2 回复数
Steve_Lionel
名誉分销商 III
1,066 次查看

Please show the output of the ifortvars.bat command.

My guess is that when you installed VS2015 Community you accepted the defaults, which omits the C++ components required by Intel Fortran. See https://software.intel.com/en-us/articles/installing-visual-studio-2015-for-use-with-intel-compilers for instructions.

0 项奖励
Yasuki_N_
初学者
1,065 次查看

I'm sorry for being late for checking your response.
Actually reinstalling Parallel Studio enabled me to choose 32-bit compiler without reinstalling VS2015.
I will read the instructions you have taught. Thanks!

0 项奖励
回复