Index of /download/dist/upc-tests/gwu-npb-upc/BTIO

[ICO]NameLast modifiedSize

[PARENTDIR]Parent Directory  -
[   ]Makefile2022-10-28 13:54 12K
[TXT]README2022-10-28 13:54 2.4K
[TXT]add.c2022-10-28 13:54 1.1K
[TXT]adi.c2022-10-28 13:54 1.0K
[TXT]binvcrhs.c2022-10-28 13:54 7.8K
[TXT]binvrhs.c2022-10-28 13:54 3.6K
[TXT]bt.c2022-10-28 13:54 14K
[TXT]btio_common.c2022-10-28 13:54 574
[TXT]compute_buffer_size.c2022-10-28 13:54 2.3K
[TXT]compute_rhs.c2022-10-28 13:54 19K
[TXT]copy_faces.c2022-10-28 13:54 8.1K
[TXT]err_norm.c2022-10-28 13:54 2.3K
[TXT]exact_rhs.c2022-10-28 13:54 13K
[TXT]exact_solution.c2022-10-28 13:54 1.1K
[TXT]file_debug.c2022-10-28 13:54 6.3K
[   ]fortran_io.f2022-10-28 13:54 3.6K
[   ]full_mpiio.f2022-10-28 13:54 7.1K
[TXT]functions.h2022-10-28 13:54 2.2K
[TXT]global.h2022-10-28 13:54 318
[TXT]header.h2022-10-28 13:54 6.6K
[TXT]initialize.c2022-10-28 13:54 7.6K
[   ]inputbt.data.sample2022-10-28 13:54 114
[TXT]lhsinit.c2022-10-28 13:54 1.8K
[TXT]lhsx.c2022-10-28 13:54 14K
[TXT]lhsy.c2022-10-28 13:54 14K
[TXT]lhsz.c2022-10-28 13:54 14K
[TXT]make_set.c2022-10-28 13:54 2.9K
[TXT]matmul_sub.c2022-10-28 13:54 1.6K
[TXT]matvec_sub.c2022-10-28 13:54 1.2K
[TXT]rhs_norm.c2022-10-28 13:54 1.8K
[TXT]set_constants.c2022-10-28 13:54 4.0K
[TXT]simple_upcio.c2022-10-28 13:54 3.3K
[TXT]verify.c2022-10-28 13:54 12K
[TXT]x_backsubstitute.c2022-10-28 13:54 2.6K
[TXT]x_solve.c2022-10-28 13:54 5.0K
[TXT]x_solve_cell.c2022-10-28 13:54 5.7K
[TXT]x_unpack_backsub_info.c2022-10-28 13:54 1.1K
[TXT]x_unpack_solve_info.c2022-10-28 13:54 1.9K
[TXT]y_backsubstitute.c2022-10-28 13:54 2.6K
[TXT]y_solve.c2022-10-28 13:54 4.0K
[TXT]y_solve_cell.c2022-10-28 13:54 5.6K
[TXT]y_unpack_backsub_info.c2022-10-28 13:54 1.1K
[TXT]y_unpack_solve_info.c2022-10-28 13:54 1.8K
[TXT]z_backsubstitute.c2022-10-28 13:54 2.6K
[TXT]z_solve.c2022-10-28 13:54 4.0K
[TXT]z_solve_cell.c2022-10-28 13:54 5.8K
[TXT]z_unpack_backsub_info.c2022-10-28 13:54 1.2K
[TXT]z_unpack_solve_info.c2022-10-28 13:54 1.7K

                           An UPC BTIO implementation

                                    Yiyi Yao
                                   [email protected]
                          High Performance Computing Lab
                         The George Washington University

The BTIO benchmark is a part of NAS Parallel Benchmark (NPB) suites. This IO benchmark is developed based on one of the BT computational kernels. The BT benchmark is basically a CFD code that uses an implicit algorithm to solve the 3D compressible Navier-Stokes equations. For more information regarding the algorithm, please refer to the NAS documents.

The BTIO benchmark uses the same computational core as the BT benchmark. But it will write the results to disk file every iteration step. Thus it can be used to extensively benchmark the programming language I/O library and file system. 

The Original NAS NPB suites provide a set of example implementations as following:
>> BT-epio: In this version each node writes its part of the solution to a local file on the local processor. This is the ``embarrassingly parallel'' version, which is for reference and not part of the benchmark proper.
>> BTIO-fortran-direct: The BTIO benchmark requires that the results from all nodes should be written to a single file. This version uses a Fortran direct access file and allows each node to write to its own data areas concurrently.
>> BTIO-simple-mpiio: Uses basic MPI-2 IO to perform the file operations.
>> BTIO-full-mpiio: Again using MPI-2 IO, but with use of collective file operations.

This UPC version of the BTIO is based on BTIO-simple-mpiio scheme. Basic UPC-IO functions are used to perform the file operations.  Each thread writes its local part of results to a global shared disk file every iteration step. To verify if the data has been successfully written to the file, the BTIO uses the data stored in the file instead of using the memory image to calculate the final error norm values. All the threads participate in the verification by reading its part of data from the file. THREAD 0 will collect all the data and perform the error norm calculation. 

A workable UPC-IO library must be installed properly to run this UPC BTIO benchmark. This version has passed the verification running with the UPC-IO reference implementation released by GWU. The UPC-IO reference implementation is available on the UPC site: http://upc.gwu.edu. Some modification may be needed to fit the Makefile into the environment.