- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We bought IVF 9.0. We knew that we cannot use the Visual Studio IDE to compile the EM64T program. The only way is to use MS Platform SDK. But there is no sample to make a makefile to compile the fortran 9.0 program in the use's guide or help file.
We have nearly 100 fortran file (fortran 90 and fortran 77) in our current project. We can use the VS.net 2003 to compile and build them for a win32 program. But we need overcome the 2GB memory limit. So we should use the win64 program. But we cannot compile our program now.
So could the Intel give us some sample program to compile fortran program in EM64T at Windows? Also can Intel give a makefile sample for EM64T at Windows application?
Thanks a lot!
Link Copied
9 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not sure what you're asking for. Surely a makefile would be specific to your application?
There isn't really any difference for building an application. A simple:
ifort myprog.f90
will do it when you have opened a "Build Environment for Fortran EM64T-Based Applications" command window.
Whatever command line you use for IA-32 would work for EM64T, unless you used certain architecture-specific switches not supported in EM64T (eg. /QxK).
What problems are you running into?
There isn't really any difference for building an application. A simple:
ifort myprog.f90
will do it when you have opened a "Build Environment for Fortran EM64T-Based Applications" command window.
Whatever command line you use for IA-32 would work for EM64T, unless you used certain architecture-specific switches not supported in EM64T (eg. /QxK).
What problems are you running into?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A sample program is as follow.
myfor.f90
program myfor
write(*,*) 'Hello World'
end program myfor
I can compile this program under VS 6.0 with CVF6.0. And get the correct result. But I cannot compile it under Win-XP 64 with EM64T and the fortran compiler:Intel Fortran Compiler build environment for EM64T-based applications.
Message is as follow:
------------------------------------------------------------------------
D:Kuilin>ifort myfor.f90
Intel Fortran Compiler for Intel EM64T-based applications, Version 9.0
Build 20050430
Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
Intel Fortran Compiler for Intel EM64T-based applications, Version 9.0
Build 20050430
Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
Microsoft Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
-out:myfor.exe
-subsystem:console
-entry:mainCRTStartup
myfor.obj
myfor.obj : fatal error LNK1136: invalid or corrupt file
-subsystem:console
-entry:mainCRTStartup
myfor.obj
myfor.obj : fatal error LNK1136: invalid or corrupt file
D:Kuilin>ifort myfor.f90
Intel Fortran Compiler for Intel EM64T-based applications, Version 9.0
Build 20050430
Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
Intel Fortran Compiler for Intel EM64T-based applications, Version 9.0
Build 20050430
Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
Microsoft Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
-out:myfor.exe
-subsystem:console
-entry:mainCRTStartup
myfor.obj
myfor.obj : fatal error LNK1136: invalid or corrupt file
-subsystem:console
-entry:mainCRTStartup
myfor.obj
myfor.obj : fatal error LNK1136: invalid or corrupt file
----------------------------------------------------------------------
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're using the CVF/MSVC6 linker. Make sure that the "Build Environment" is invoking the Platform SDK vcvars32.bat or setenv.cmd correctly. There should be a line similar to the following in the Intel Fortran EM64TBINIfortvars.bat file:
call "C:Program FilesMicrosoft Platform SDKSetEnv" /X64 /RETAIL
Note that you need to install the PSDK first, then Intel Fortran.
call "C:Program FilesMicrosoft Platform SDKSetEnv" /X64 /RETAIL
Note that you need to install the PSDK first, then Intel Fortran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Steve.
But I cannot intall the platform sdk (either PSDK-ia64.exe or PSDK-x86.exe)at Xeon EM64T Win-XP 64 computer. Can you?
I installed the platform sdk at P4 Win-XP 32. and then the Intel Fortran.
The Ifortvars.bat is as follow:
----------------------------
@echo off
Title Intel Fortran Compiler build environment for EM64T-based applications
Title Intel Fortran Compiler build environment for EM64T-based applications
echo.
echo Intel Fortran Compiler 9.0 build environment for EM64T-based applications
echo Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
echo.
echo Intel Fortran Compiler 9.0 build environment for EM64T-based applications
echo Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
echo.
call "C:Program FilesMicrosoft Platform SDKSetEnv" /X64 /RETAIL
Title Intel Fortran Compiler build environment for EM64T-based applications
SET IFORT_COMPILER90=C:Program FilesIntelCompilerFortran9.0
SET IFORT_COMPILER90=C:Program FilesIntelCompilerFortran9.0
SET INTEL_LICENSE_FILE=C:Program FilesCommon FilesIntelLicenses
Set Path=%IFORT_COMPILER90%EM64TBin;%path%
Set Lib=%IFORT_COMPILER90%EM64TLib;%LIB%
SET Include=%IFORT_COMPILER90%EM64TInclude;%Include%
SET INTEL_SHARED=C:Program FilesCommon FilesIntelShared Files
----------------------------
----------------------------
And the error is as follow:
C:Users>ifort myfor.90
Intel Fortran Compiler for Intel EM64T-based applications, Version 9.0
Build 20050430
Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
ifort: Command line warning: unrecognized source type 'myfor.90'; object file as
sumed
Intel Fortran Compiler for Intel EM64T-based applications, Version 9.0
Build 20050430
Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
ifort: Command line warning: unrecognized source type 'myfor.90'; object file as
sumed
Fatal error cannot open "myfor.90"
ifort: error: problem during multi-file optimization compilation (code 1)
ifort: error: problem during multi-file optimization compilation (code 1)
Thanks,
Kuilin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't recognize those EXE names. The Platform SDK from Microsoft installs fine. And it would seem that you have it installed.
Your error now is that the file type should be .f90, not .90.
Your error now is that the file type should be .f90, not .90.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Steve.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're welcome. Now please download a more recent compiler from Intel Premier Support - 9.0.024 is current.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am looking for a download that is compatiable or is Microsoft Windows 32exe Applaction.
Do you have a download or can you help with Microsoft, I have look at all of there downloads and I can't seen to find it.
Kind regards,
Larry Bowman
210-877-0573
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Larry, I don't understand what you're asking for. Please elaborate.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page