Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29271 ディスカッション

Running a code in 64-bit from the command line

umitkeskin
ビギナー
471件の閲覧回数

Dear all,

I have used an IDE (VS2008) to run my fortran codes so far, not the command line on my 64-bit Window 7 OS with 16 gb RAM. However, I have a code which I can't run now. I guess because my code uses a memory over 2 gb, Windows doesn't allow me to run this code. I think I should run it from the 64-bit command line. Could you please help me do so?

Regards,

Umit

0 件の賞賛
2 返答(返信)
TimP
名誉コントリビューター III
471件の閲覧回数
On the Windows Start menu, giving as an example the current ifort version,
Start > Intel Parallel Studio XE 2011 > Intel Compiler XE > Command Prompt > Intel 64 Visual Studio 2008 Mode
launches the command line window set up for 64-bit compilation and execution. This is the same compiler you get in the VS GUI when you select X64 mode for your project.
Static data remain subject to the 2GB limit. Allocatable arrays are recommended in order to use the large addressing capability.
Steven_L_Intel1
従業員
471件の閲覧回数
The advice Tim gives might help if the program was looking for one of the compiler's DLLs and was linked against Debug DLL libraries, but should not be necessary otherwise. What happens when you try to run the program? There isn't anything special you should need to do.
返信