MajidSalimi / hacc-io

HACC IO kernel from the CORAL Benchmark Codes

Home Page:https://asc.llnl.gov/CORAL-benchmarks/#hacc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HACC I/O

Copyright (c) 2012, UChicago Argonne, LLC. All rights reserved.

Originally authored by Venkatram Vishwanath, Argonne National Laboratory. More details available on the official CORAL Benchmarks website.

Compiling

HACC-IO requires only MPI and can be built from the provided makefile via

make CXX=mpicxx

Running

The general syntax for testhacc_io is

mpirun ./testhacc_io numparticles /path/to/outputfile

numparticles is the length of the arrays that each MPI rank should allocate. An example of the running command is:

mpirun -np 2 ./hacc_io  100000 test/

which runs the code on 2 procs and stores the output in the test folder which is located in the main folder of the repository.

HACC IO currently uses this parameter to size the following arrays:

variable type size
  xx | float | 4 bytes
  yy | float | 4 bytes
  zz | float | 4 bytes
  vx | float | 4 bytes
  vy | float | 4 bytes
  vz | float | 4 bytes
 phi | float | 4 bytes
 pid | int64 | 8 bytes
mask | int16 | 2 bytes

So each rank will write out numparticles * 38 bytes worth of data.

About

HACC IO kernel from the CORAL Benchmark Codes

https://asc.llnl.gov/CORAL-benchmarks/#hacc

License:Other


Languages

Language:C++ 93.4%Language:C 4.1%Language:Makefile 2.5%