Changes between Version 10 and Version 11 of Tutorials/JobSizes


Ignore:
Timestamp:
12/16/13 11:46:49 (11 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/JobSizes

    v10 v11  
    1313$M_{tot}=8\cdot(mx\cdot my\cdot mz)\cdot (N_{qvars}+N_{auxvars})\quad [\text{bytes}]$
    1414}}}
    15 where ''mx,my,mz'' are the number of zones in each direction, ''N,,qvars,,'' is the number of variables in the q-array (that is, the state variables of the fluid), and ''N,,auxvars,,'' is the number of "auxillary" variables, that is variables initialized for MHD simulations. The q-array contains the  cell-centered quantities, and the aux-array contains face and edge centered quantities. Each cell contains a q-array and (plus an aux-array if in MHD), therefore the total number of cells x the total variables x 8 bytes gives you the total memory you are expected to allocate for the physical domain (not including the ghost cells or any other redundant calculations). We find that the total memory calculated this way is usually off by a factor of 10 from what astrobear actually uses (as given in the standard out, on the global info allocations line). This is likely due to ghost cell calculations. '''Therefore for all memory estimates, you should multiply your number by 10 to get a truer estimate.'''
     15where ''mx,my,mz'' are the number of zones in each direction, ''N,,qvars,,'' is the number of variables in the q-array (that is, the state variables of the fluid), and ''N,,auxvars,,'' is the number of "auxillary" variables, that is variables initialized for MHD simulations. The q-array contains the  cell-centered quantities, and the aux-array contains face and edge centered quantities. Each cell contains a q-array (plus an aux-array if in MHD), therefore the total number of cells x the total variables x 8 bytes gives you the total memory you are expected to allocate for the physical domain (not including the ghost cells or any other redundant calculations). We find that the total memory calculated this way is usually off by a factor of 10 from what astrobear actually uses (as given in the standard out, on the global info allocations line). This is likely due to ghost cell calculations. '''Therefore for all memory estimates, you should multiply your number by 10 to get a truer estimate.'''
    1616
    1717For hydro simulations, ''N,,auxvars,, = 0'', so only need to count up the total ''N,,qvars,,''. In 2D there are 4 hydro q variables: density, x-momentum, y-momentum, energy. There are also 4 in 2.5D. In 3D, there are 5: density, x-momentum, y-momentum, z-momentum, and energy. There are also 5 in 2.5D with angular momentum.