( ! ) Notice: session_start() [function.session-start]: Server 127.0.0.1 (tcp 21201) failed with: Failed reading line from stream (0) in /var/www/html/common-trunk/SWAT/SWAT.php5 on line 108
Call Stack
#TimeMemoryFunctionLocation
10.0010171336{main}( )../viewChallenge.php5:0
20.0017286104include_once( '/var/www/html/hpcu/config/standardIncludes.php5' )../viewChallenge.php5:20
30.090411552536SWAT->startSession( )../standardIncludes.php5:138
40.090411552560session_start ( )../SWAT.php5:108
HPC University: NetCDF Acceleration
 
Monday September 29, 2014
This problem challenges you to modify an existing hybrid parallel program to generate output using NetCDF.
Similar to challenge problem 69, http://hpcuniversity.org/students/weeklyChallenge/69/, your task is to implement NetCDF output in an existing parallel program, namely that solved by challenge problem 83, http://hpcuniversity.org/students/weeklyChallenge/83/. It is recommended you familiarize yourself with these challenge problems first.

The "Hybrid Parallel Acceleration solution" file below contains the code you should modify. A working example of a NetCDF program is also provided in the "netCDF solution zip file" below. You should use this second file as reference when updating the first file.

The MPI process with a rank of 0 should be the one initializing, finalizing, and writing data using NetCDF. The same data that is output using printf should be output to a file using NetCDF.

The resulting program should generate a file called "accel-data.nc" that can be viewed using the ncdump utility provided by NetCDF. The "accel-data sample file" below is an example file generated by a working program running with 2 MPI processes, each with 3 OpenMP threads.
Show solution
Challenge Resources:
©1994-2025   |   Shodor   |   Privacy Policy   |   NSDL   |   XSEDE   |   Blue Waters   |   ACM SIGHPC   |   feedback  |   facebook   |   twitter   |   rss   |   youtube   |   XSEDE Code of Conduct   |   Not Logged In. Login