[FLASH-USERS] maximum number of plot files per run

George Jordan gjordan at flash.uchicago.edu
Mon Jun 4 19:15:25 CDT 2007


Hi Sanjib,
 	How is LANL going? It looks like the place to change the filename 
to include more digits is in the fortran file io_getOutputName.F90. The 
two places that need to be changed are lines #54 and #75. Keep in mind 
that 
the filename string is passed to several .c files that call the hdf5 
routines and that strings, FORTRAN, and C when combined can lead to funny 
results.
 	If possible I would suggest making several directories and just 
resetting the plot file number with each restart (plotFileNumber in 
flash.par). This assumes that you would have to restart the simulation 
before the 10,000th plot file is created and that you would restart in a 
new directory.

Best,
Cal


On Mon, 4 Jun 2007, sanjib gupta wrote:

> Hello,
>
> Hopefully this has a very simple resolution - the maximum number of plot 
> files I get per run is
> 9999, so all the plot files are named with zero paddings for file # < 9999, 
> e.g.
> "hc-rt_hdf5_plt_cnt_0057"
> upto "hc-rt_hdf5_plt_cnt_9999" anything higher comes out as 
> "hc-rt_hdf5_plt_cnt_****"
> which I am sure has to do with an allowed length of string for the 
> filename........
> Do I have to  change code  in  a driver module if I want it to print , say 
> 1000000 or (many) more plot files, if so,
> which source file do I modify, and what is the safest (minimalist) way of 
> doing this without messing up
> the rest of the code?
> Is there a way of getting this done by changing something in "flash.par" ? I 
> see in "flash.par"
> the variables
> basenm="hc-rt_"
> which no doubt is used to construct the plot and check file names. Also there 
> is
> run_number="001"
> is that used to set the length of the file name string somehow?
> Thanks much,
> Sanjib Gupta
>



More information about the flash-users mailing list