- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I officially bought Intel@oneAPI Base & HPCm Toolkit (Single-Node) named-user-Commercial(ESD).
I downloaded Intel one API Base Toolkir(all tools : 2.71GB) and Intel HPS Toolkit (all tools : 1.22GB)
for windows.
I installed the Intel fortran compiler for window on PC successfilly.
But the fortran compiler do not operate nornally on my PC.
I made a simple test fortran program and I compilered it on DOS command.
The program generated only "test.obj" and do not create "test.exe".
> ifort test.f
-subsystem : console
test.obj
LINK : fatal error LINK1104 : can not open file : "test.exe"
What is the wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Even if you restrict yourself to compiling, linking and running CLI programs from the Windows command window (which you incorrectly called the "DOS prompt"), you still need to have enough of the Visual Studio/Microsoft C compilation system to be able to compile, link and run a C/C++ program. This is listed under the software requirements for Intel OneAPI.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the full path of the directory in which you are trying to get the linker to write the file "test.exe"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I connected path "c:\program files (x86)\intel\openapi\compiler\2024.0\bin
and "c:\program files (x86)\intel\openapi\compiler\2024.0\lib"
But only "test.obj" is generated and do not create "test.exe" file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check your antivirus software as sometimes such software locks writable EXE files for analysis. I'll also comment that this is not a compile error - if the .obj was created, the compile succeeded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you.
I only bought the oneAPI Base and HPC tookit. Some people told me if you want to
operate intel fortran on window 10, you have already installed MS visual studio.
Is it true? I do not have MS visual studio because I want to run some fortran programs on DOS command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Even if you restrict yourself to compiling, linking and running CLI programs from the Windows command window (which you incorrectly called the "DOS prompt"), you still need to have enough of the Visual Studio/Microsoft C compilation system to be able to compile, link and run a C/C++ program. This is listed under the software requirements for Intel OneAPI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, mecej4
From your comments, I know that I have to take a MS visual studio 2022 for running the intel fortran
compiler successfully on my PC.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page