[FLASH-USERS] memory allocation, variable time stepping and idl5.5

From: Markus Gross <m.s.gross@hw.ac.uk>
Date: Fri Sep 20 2002 - 05:53:25 CDT

Hi!

I have three questinons regarding flash

 Build stamp: Thu Sep 19 12:40:11 2002
                  IRIX64 oxygen 6.5 IP35
 Version: FLASH 2.1.20020605

1) since the arrays UNK, UNKSUM, WORK are static I presume they are allocated
in stack memory, which in our case is only 256MB. If they would be dynamic
they would move into heap were our SGI Origin has 1GB per processor. I would
like to change the memory allocation, since the 256 is very restrictive in
number of total blocks available (we currenly have only 16 processors so
increasing the number of processors to increase the max. number of blocks is
not an option at the moment). Is anybody aware if any flash.par settings or
any coding involved in changing this? I could change the static allocation to
ALLOCATABLE and allocate the array once, but is this all? The message from
the compile with the original Flash code when using "too many" blocks is:

f90-1435 f90: ERROR DBASEINCLUDES, File = tree.fh, Line = 101, Column = 48
The storage size needed for "UNK" exceeds 268,435,455 bytes, the maximum
storage size available.

f90-1435 f90: ERROR DBASEINCLUDES, File = tree.fh, Line = 109, Column = 54
  The storage size needed for "UNKSM" exceeds ...

f90-1435 f90: ERROR DBASEINCLUDES, File = workspace.fh, Line = 10, Column =
24
  The storage size needed for "WORK" exceeds ...

2) in physicaldata.fh is a section:
! set pre-processor variable to control use of different timesteps on
! different grid blocks
!#define VAR_DT !<<< USER EDIT

in the documentation for paramesh this is detailed, but it seems that I need
to do more to Flash than just uncommenting the define, since it does not
compile. Does anybody have any experience with this?

3) Using IDL5.5 I have some trouble with the visualization of 3d data,
xflash.pro allways seems to crash when executing. It runs fine when I disable
the colorbar and the block display - but these are two quite useful features
;-)

I read earlier in the list that other people have problems with IDL 5.5 as
well. I am not too familiar with idl. I wrote a utility to convert flash hdf4
into dx for open/dx but it is not as nice ... hence I would be interested if
somebody has a working .pro file for IDL5.5 which can handle 3d data.

Many thanks for your time!

Markus Gross

-- 
_______________________________________________________________
Markus Gross AMIMechE BEng (Hons.) Mechanical Engineering
Heriot Watt University Edinburgh
Department of Mechanical and Chemical Engineering
Associate member of the Institution of Mechanical Engineers
Member of the SPIE
_______________________________________________________________
further contact:
Phone   : +44 (0) 131 449 5111 etx. 4737
UNiX talk: talk markus@lasersim.mce.hw.ac.uk
_______________________________________________________________
"Plans are a place to begin," Grove said. "They rarely deliver
you to where you expect. Make your plans knowing you are going
to throw them away."
_______________________________________________________________
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
mQGiBDt30nARBACUL2XadcLU9YS+3ndnWUUpnrhAD3Ab/TqJP1Obtz7H356+vigu
2m3exw2P9fky08SBdTbjOCV5OTmVcRW5F0SNMTIl8gXtGdIcQHCcZxi1GcRJtTBj
npfRCmZojHr8YgsKDdJ9xupNm+UYWcg1BpFX7xe65kXM4oVwVyuCcUT+VwCg6/Hd
6oVoRHm1eq1NdMbCfsc9x78D/2uGQSMJBKewQ/uSPpdEg+bkAQo5Y7MooEeYpLk9
Iroo4rqxp12k0+bWHWVMdfywI80tivorTIgBTKpCtjLaiKen9E9zECo+2OR4+XRQ
O6cBKXOm+V2lJOpFYOh500tJHPggshD21jksNPKJr9CM1byeZFw38fFJez+DyShZ
Gmc6A/9L21jqbVjxvAPwaqe09GEmpT1EYOWtcPYSh2cuo1v6XsGFXfi8tnRSizhH
xsyIfuOUuj0NKRIcXH60awrvABSa45fvQUefPw0hxSwdCnfc0yEqcD4x/03xTZJS
1hUK3T4oTlrXNugaCb59ezciEIh2y/d8pW1DR3RMcgXUSz39tLQhTWFya3VzIEdy
b3NzIDxtLnMuZ3Jvc3NAaHcuYWMudWs+iFcEExECABcFAjt30nAFCwcKAwQDFQMC
AxYCAQIXgAAKCRBTnmsr4a/0+e3tAJoDk08MfeqB83FXP6g8QlDyTlotSwCgiKwS
PPkVAbopX8mahpkrphEaunW5Ag0EO3fSghAIAOeLTMjdFkl/xBvjgD2N0n4DCK4N
EVfaXmkJK5dbTM3K6ZsJjILZ/TfC6R8oxYPsYKwkwLJJEe4E/h1TFg7ogDYbViW8
DihOyeN8zKSymLTbbikEJX8aNeCdBRuy87X0pBazDq6//+oTIatS2EsvMyKk0tEZ
Mh0vTmUJqoeorQeAKH66lPsH2A8QI6u0zv17t4S2aLNBXIbKgOJwsglZ1IwjwowR
KEGsLsHInNkP4bnlBjd51RMiJT979QMPmNgLGEId9Vi0oijtF/v6J91GtH++G6WE
HM08DsP/BKjRgO9ivWP7lOHSDCJpGYti5K6g38JAc1H2EoHGLD7eRgI/kR8AAwUH
/j6NVGLxnFGDHGcBXEb2Y4Wwhf/eUeE8Wit0qqRoNypBuzvWl96GXSPj/saQA/Ri
XcFWR1G3E4V/zdxYnU/xvvGADj9jKHpZjAs73fJJxLc85gzHLcx00tHcQVA07Ihr
hao8WY+BtKhkZorYEJEvSDJ9xufjL/o1t40eCsHQ3b9Jh/1lqQ2KT1lhDXAaDo1P
pE38E2uImC0umIW/UtuKJ1k52nXx2qulfcTjAHd35XidwGreH3aHy3fV+x/+wW1T
CQBHy27dG7JL3ESzPiKW0w2miWjtd4k5jqJTfgKI4wFUhAShxTjp8M051ArzopRJ
iX+s7RrHuEXHjh45V1zU5BWIRgQYEQIABgUCO3fSggAKCRBTnmsr4a/0+U/rAJ9o
lOhPGltVnRncYJPzyIk00H0JDQCfWrlnYDh5cRQmhnHilnrVO5Ykr24=
=i3eC
-----END PGP PUBLIC KEY BLOCK-----
Received on Fri Sep 20 04:49:50 2002

This archive was generated by hypermail 2.1.8 : Thu Aug 31 2006 - 21:20:48 CDT