dynamic allocation in fortran90
- From: "Martin " <linda_Artlover@xxxxxxxxxxx>
- Date: Thu, 31 Jan 2008 17:46:03 +0000 (UTC)
I try to build mex files using Fortran90 computational
routines. It all works fine until I try to do
real*8,allocatable,dimension(:)::myvariable
....
allocate (myvariable(100)) !or something like that
which causes run-time crashes. The Fortran compiler is g95 and
gcc4.2.2 is used, OS being CentOS 4.4 x86_64. First, I assumed
that there were compatibility issues btw the compiler and
the gcc-version, but then I found a suggestion that dynamic
allocation in subroutines should be avoided when using f90
and mex.
Does anyone have relevant experiences/suggestions?
Cheers, Martin
.
- Follow-Ups:
- Re: dynamic allocation in fortran90
- From: James Tursa
- Re: dynamic allocation in fortran90
- From: Joachim
- Re: dynamic allocation in fortran90
- Prev by Date: Re: matlabpool problem
- Next by Date: dlmwrite([path file],....) does not work on Mac OS?
- Previous by thread: 3D Histogram
- Next by thread: Re: dynamic allocation in fortran90
- Index(es):
Relevant Pages
|