37
The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative Transfer Comparison Project Workshop IV @ Austin, Texas, Dec 11-14, 2012

The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

The improvement of START

Kenji Hasegawa (U. Tsukuba, CCS Kobe branch)

Takashi Okamoto (U. Tsukuba, CCS Kobe branch)

Cosmological Radiative Transfer Comparison Project Workshop IV @ Austin, Texas, Dec 11-14, 2012

Page 2: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

OutlineIntroduction

What is “START”Previous Studies with START

Improvements New Ray-tracing

Test & Scalability Additional Process (Roles of Dust)

Preliminary Results

Summary

Page 3: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

What is “START”SPH with Tree-based Accelerated Radiative Transfer

(KH & Umemura 2010)

• Non-equilibrium chemistry

• Radiative Transfer

SPH (Smoothed Particle Hydrodynamics) method

e-, H+, H, H-, H2, H2+, He, He+, and He2+

HI, HeI, HeII ionizing photon, andH2 photodissociating photon.SPH particles are directly used as grids for RT→ Spatial resolution changes adaptively. RT Calculation is accelerated by Tree Algorithm

• Hydrodynamics

Page 4: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

What is “START”

1)Make an oct-tree structure for sources.

2) If a cell which contains sources is far enough away from an SPH particle, the cell is regarded as a virtual luminous sources.

SPH with Tree-based Accelerated Radiative Transfer (KH & Umemura 2010)

Page 5: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

SPH with Tree-based Accelerated Radiative Transfer (KH & Umemura 2010)

What is “START”

1)Make an oct-tree structure for sources.

2) If a cell which contains sources is far enough away from an SPH particle, the cell is regarded as a virtual luminous source.

calculation cost is proportional to log(Ns)

(Not Ns)

l

d< �crit

l: size of a celld: distance between a SPH particle and a cell

In the limit of �crit = 0.0,the scheme corresponds to RSPH(Susa 2006)

Page 6: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Similar method for grid-based RTARGOT:

Accelerated Radiative Transfer on grids using oct-tree(Okamoto, Yoshikawa & Umemura 2012)

What is “START”

Page 7: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Previous Work with STARTKH, Umemura & Suwa (2010), Umemura, Susa, KH, Suwa, & Semelin (2012)

UV feedback on a secondary collapsing Pop III halo• RHD simulation including the transfer of diffuse recombination photons. ⇨Nsource = NSPH = 2million

First StarThe secondary core can survive!!

~70pc

Page 8: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Previous Work with STARTKH & Semelin (2012)UV feedback on galaxies during the Epoch of Reionization• RHD simulation including internal UV (ionization and LW) feedback in each galaxy.

Z=24 Z=9.5

Z=6.0Z=7.3

5cMpc

Page 9: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Previous Work with STARTKH & Semelin(2012)

Cosmic SF history

Ionization history

High resolution

run

High resolution

run

Low resolution

run

We found:•The formation of galaxies during the EoR is controled by internal UV & SN feedback. •Ionization and Cosmic SF histories are very sensitive to the mass resolution.

Box size is too small to show cosmic reionization history...

Mmin,halo=2×107Msun

Mmin,halo=1.6×108Msun

Much larger number of particles are required

Page 10: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

What we need are

★Powerful Super Computer

★RHD code which enables us to perform massive parallel simulations

Page 11: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

K Computer

Top500 list Nov. 2012 http://www.top500.org

~82k nodes (650k cores) availablePeak Performance ~ 10PFlops

Page 12: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Ray-Tracing: Old version.

DISTANCE

Lv.2

Lv.1

Lv.3

Ray-tracings are solved from all sources in all levels.

Page 13: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Ray-Tracing: Old version.

DISTANCE

Lv.2

Lv.1

Lv.3

Ray-tracings are solved from all sources in all levels.

Page 14: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Ray-Tracing: Old version.

DISTANCE

Lv.2

Lv.1

Lv.3

Time of MPI communications dramatically increases with increase of Nnode

Ray-tracings are solved from all sources in all levels.

Page 15: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Ray-tracing: Improved versionPoint: Reuse of the information of lower level

Lv.2

Lv.1

Lv.3

DISTANCE

Page 16: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Ray-tracing: Improved versionPoint: Reuse of the information of lower level

Lv.2

Lv.1

Lv.3

DISTANCE

Page 17: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Ray-tracing: Improved versionPoint: Reuse of the information of lower level

Lv.2

Lv.1

Lv.3

DISTANCE

Not only MPI time but also the cost of RT calculation can be reduced.

Page 18: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

TREE WALK

Lv.1

Lv.2

Lv.3

Lv.4

*In practice, oct-tree is utilized. Lv.5

•••

Page 19: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

TREE WALK

Lv.2

Lv.3

Lv.4

*In practice, oct-tree is utilized.

Lv.1

Lv.5

•••

Page 20: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

TREE WALK

Lv.2

Lv.3

Lv.4

*In practice, oct-tree is utilized.

Lv.1

Lv.5

•••

Page 21: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

TREE WALK

Lv.2

Lv.3

Lv.4

Parallelization via openmp

*In practice, oct-tree is utilized.

Lv.1

Lv.5

•••

Page 22: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Parallelization: Between nodes★The size of each domain is adjusted to have equivalent calculation cost every a few steps.

Page 23: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

★Each domain asynchronously sends (receives) optical depths. to downstream (from upstream) domains.(Same as RSPH by Susa 2006)

Parallelization: Between ★The size of each domain is adjusted to have equivalent calculation cost every a few steps.

Page 24: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Parallelization: Between ★The size of each domain is adjusted to have equivalent calculation cost every a few steps.

★Each domain asynchronously sends (receives) optical depths. to downstream (from upstream) domains.(Same as RSPH by Susa 2006)

Page 25: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Make load balance better

Parallelization: Between ★The size of each domain is adjusted to have equivalent calculation cost every a few steps.

★Each domain asynchronously sends (receives) optical depths. to downstream (from upstream) domains.(Same as RSPH by Susa 2006)

Page 26: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Test of the new methodDATA: the distributions of the SPH and stellar particles @z=7.0 obtained by a cosmological hydrodynamic simulation. NSPH = 1283, Ns~300

Density

Temperature

Reference (by RSPH)

Ionized fraction

Page 27: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Test of the new method

Density

Temperature

Ionized fraction

Reference (by RSPH)

�crit = 0.5

�crit = 0.7

�crit = 0.9

10Myr 20Myr 30MyrTemperature by New START

DATA: the distributions of the SPH and stellar particles @z=7.0 obtained by a cosmological hydrodynamic simulation. NSPH = 1283, Ns~300

Page 28: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Test of the new method* If we employ an appropriate tolerance parameter, RT can be solved accurately.* Similar method will be implemented into ARGOT by T. Oakamoto.

Density

Temperature

Reference (by RSPH)

�crit = 0.5

�crit = 0.7

�crit = 0.9

10Myr 20Myr 30MyrTemperature by New START

Ionized fraction

Page 29: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

START scalability: Hydro PartCosmological HydrodynamicsN=5123×2: Test on K computer

Very Good strong scaling up to 8k nodes (64k cores)

Page 30: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Comparison between the improved and old versionsXE6(cray)@Kyoto

•Speed-up is factor of 2•Time for MPI does not increase with increase of Nnode.

NSPH=2563

START scalability: RT Part

Nsource=16k

Page 31: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Dependence on the number of sources. Comparison between the runs with Ns=2k and Ns=16k

• Calculation time is insensitive to the number of sources.

START scalability: RT Part

Page 32: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Test with 5123 SPH particles and 16k source particles

•With 5123 particles, the scheme still shows good scalability. •It is expected that the scheme keeps good scalability, even if we increase the number of nodes.

START scalability: RT Part

Page 33: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Additional Processes•Evolution of spectrum (age, freq.) = (22, 60)

•Metal Enrichment

In previous study (KH & Semelin 2012), we assumed blackbody-shape with 50,000K for stellar sources.

High energy photons were overproduced.

•Metal cooling•Roles of Dust grain• Molecular formation• Absorption of Photons• Radiation Force

STAR FORMATIONand

REIONIZATION

Affect

M=Msun

Population synthesis by PEGASE

Page 34: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Role of DustAbsorption

H Lyman limit

• Even if H and He atoms are ionized, dust opacity does not change. • Opacity is sensitive to the size of dust at frequency range above the Lyman limit.

Dust date from Draine & Lee (1984)

30 bins 30 bins

Z=Zsun Mdust = 0.01MHDraine et al. (2007)

Page 35: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Absorption by Dust

without dust Z=0.01Zsun

Dust size 0.1micron*Found in Local Group

*Proposed by Nozawa+(2007)

Page 36: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

Absorption by Dust

without dust Z=0.01Zsun

Dust size 0.01micron*Typical size of first grains, proposed

by Todini & Ferrara (2001)

Page 37: The improvement of START · 2012. 12. 14. · The improvement of START Kenji Hasegawa (U. Tsukuba, CCS Kobe branch) Takashi Okamoto (U. Tsukuba, CCS Kobe branch) Cosmological Radiative

SummaryNew method: • Good Strong Scaling. (So far up to 2,000 nodes) Probably NSPH=10243 run is possible, using K computer 8k-16k nodes (in 1-2 weeks?). • Accurate (with small tolerance parameters)

Simulations including Metal Enrichment:• The role of metal (especially dust) on the evolution of high-z galaxies and IGM. • Compute SEDs, LF, escape fraction ... of high-z galaxies.