( ! ) 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.0041171336{main}( )../viewChallenge.php5:0
20.0050286104include_once( '/var/www/html/hpcu/config/standardIncludes.php5' )../viewChallenge.php5:20
30.097111552536SWAT->startSession( )../standardIncludes.php5:138
40.097111552560session_start ( )../SWAT.php5:108
HPC University: Rabbits and Wolves NetCDF
 
Monday March 28, 2016
Your challenge is to add the NetCDF library to an existing predator-prey model to generate data that can be visualized using ParaView.
Your task is to use the NetCDF C library to modify the starter code contained in the "Rabbits and Wolves NetCDF starter zip file" below. Your task is to modify the code such that the program generates a "rabbits-and-wolves.nc" file when it runs. This file should contain the necessary data such that when it is opened in ParaView, a visualization of rabbits, wolves, and grass will be generated.

This is a similar task to the "Langton's Ant NetCDF" challenge problem linked below. You can reference the ParaView instructions and solution code for that problem.

http://hpcuniversity.org/students/weeklyChallenge/116/

Two other similar challenge problems are linked below, in case they are helpful to reference.

http://hpcuniversity.org/students/weeklyChallenge/117/
http://hpcuniversity.org/students/weeklyChallenge/118/
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