Re: Windows array allocation problem



"Roy Lewallen" <w7el@xxxxxxxxx> wrote in message
news:13fs9r0of2dfd76@xxxxxxxxxxxxxxxxxxxxx

Any insight would be greatly appreciated!

Windows does this just to torture you. If you can switch to x64, the
problems may abate temporarily:

C:\Program Files\Microsoft Visual Studio 8\James\clf\alloc_test>type
alloc_test.
f90
program alloc_test
implicit none
integer, parameter :: dp = selected_real_kind(15,300)
real(dp), allocatable :: A(:)
integer Istat

allocate(A(1000000000), STAT=Istat)
write(*,*) Istat
end program alloc_test

C:\Program Files\Microsoft Visual Studio 8\James\clf\alloc_test>ifort
alloc_test
..f90
Intel(R) Fortran Compiler for Intel(R) EM64T-based applications, Version 9.1
Build 20061104
Copyright (C) 1985-2006 Intel Corporation. All rights reserved.

Microsoft (R) Incremental Linker Version 8.00.40310.39
Copyright (C) Microsoft Corporation. All rights reserved.

-out:alloc_test.exe
-subsystem:console
alloc_test.obj

C:\Program Files\Microsoft Visual Studio 8\James\clf\alloc_test>alloc_test
0

--
write(*,*) transfer((/17.392111325966148d0,6.5794487871554595D-85, &
6.0134700243160014d-154/),(/'x'/)); end


.



Relevant Pages

  • Re: Issues with C and Fortran, loadlibrary() and getprocaddress()
    ... end subroutine my_dll_sub ... Copyright 1985-2006 Intel Corporation. ... Copyright Microsoft Corporation. ... Directory of C:\Program Files\Microsoft Visual Studio ...
    (comp.lang.fortran)
  • Re: a query !!!
    ... implicit none ... Copyright 1985-2006 Intel Corporation. ... Copyright Microsoft Corporation. ...
    (comp.lang.fortran)
  • Re: forall and do loop
    ... Copyright 1985-2006 Intel Corporation. ... C:\Program Files\Microsoft Visual Studio ... Copyright Microsoft Corporation. ...
    (comp.lang.fortran)
  • Re: Windows Media Player Plug-in Wizard
    ... The wizard should now appear in Visual Studio. ... Microsoft Corporation ... Please do not send email directly to this alias as this alias is for ... >> looking for the folder in every possible place, I checked few times in every ...
    (microsoft.public.windowsmedia.sdk)
  • Re: newbie: using xsd.exe
    ... Microsoft Xml Schemas/DataTypes support utility ... Copyright Microsoft Corporation 2001-2005. ... you have a database in a dll ...
    (microsoft.public.dotnet.framework.adonet)