<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openwfm.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bigyan</id>
	<title>openwfm - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openwfm.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bigyan"/>
	<link rel="alternate" type="text/html" href="https://wiki.openwfm.org/wiki/Special:Contributions/Bigyan"/>
	<updated>2026-04-22T15:48:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.5</generator>
	<entry>
		<id>https://wiki.openwfm.org/index.php?title=User:Bigyan/How_To_Use_Crowdlabs&amp;diff=1084</id>
		<title>User:Bigyan/How To Use Crowdlabs</title>
		<link rel="alternate" type="text/html" href="https://wiki.openwfm.org/index.php?title=User:Bigyan/How_To_Use_Crowdlabs&amp;diff=1084"/>
		<updated>2010-06-29T03:38:58Z</updated>

		<summary type="html">&lt;p&gt;Bigyan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://www.crowdlabs.org Crowdlabs] is a social repository for storing, viewing and sharing visualizations. The following instructions are meant to guide a new user through to using some of the features of crowdlabs.&lt;br /&gt;
&lt;br /&gt;
== Logging in to Crowdlabs ==&lt;br /&gt;
&lt;br /&gt;
Though not absolutely necessary for using some of the features, we recommend that you always log in to crowdlabs before using it. &lt;br /&gt;
&lt;br /&gt;
* To log in, click the link on top-right and follow the instructions. &lt;br /&gt;
** First-time users should use the sign-up link to create a login id and password.&lt;br /&gt;
&lt;br /&gt;
== Interacting with Visualization from Web Interface ==&lt;br /&gt;
&lt;br /&gt;
A Vismashup is a customized application that runs on top of Vistrails and is able to generate visualization with only a necessary number of user interface controls. Vismashups can be viewed from the web browser directly and does not require any additional software to be installed. All you need is a [http://get.adobe.com/flashplayer/ Flash]-enabled web-browser.&lt;br /&gt;
&lt;br /&gt;
* Go to the Vismashups tab and open the mashup you want to view.&lt;br /&gt;
** For the purposes of this walkthrough, we are choosing the &amp;quot;Estuary Forecast (f22)&amp;quot; mashup, though the general ideas are true for any mashup.&lt;br /&gt;
* If you open the &amp;quot;Estuary Forecast (f22)&amp;quot; link, you will see a user interface with some widgets on the left side of the screen and a visualization on the right side.&lt;br /&gt;
* Uncheck the &amp;quot;loop&amp;quot; checkbox to stop the movie and view a particular timestep. &lt;br /&gt;
** The widgets in the left side specify the parameters for the particular visualization to view. For example, the slider at the bottom specifies the hour of the day (which in turn is specified by &amp;quot;Month&amp;quot;, &amp;quot;Day&amp;quot; and &amp;quot;Year&amp;quot; boxes) the visualization corresponds to.&lt;br /&gt;
** You can change the values of these parameters (in the usual fashion) and then click the &amp;quot;Update&amp;quot; button at the bottom left to see a visualization with the new values&lt;br /&gt;
&lt;br /&gt;
== Uploading a Vistrail to Crowdlabs ==&lt;br /&gt;
&lt;br /&gt;
If you have a local vistrails file, you can upload it to crowdlabs by going to the Vistrails tab and selecting &amp;quot;Upload a Vistrail&amp;quot;&lt;br /&gt;
* NOTE: you need to log in before you can upload anything.&lt;br /&gt;
* When you upload a vistrail, all user packages/modules used in the vistrail are automatically uploaded&lt;br /&gt;
* You can view the tagged workflows in the vistrail by clicking it on the right panel and then expanding the &amp;quot;Show Workflow&amp;quot; panel&lt;/div&gt;</summary>
		<author><name>Bigyan</name></author>
	</entry>
	<entry>
		<id>https://wiki.openwfm.org/index.php?title=User:Bigyan/How_To_Use_Crowdlabs&amp;diff=1083</id>
		<title>User:Bigyan/How To Use Crowdlabs</title>
		<link rel="alternate" type="text/html" href="https://wiki.openwfm.org/index.php?title=User:Bigyan/How_To_Use_Crowdlabs&amp;diff=1083"/>
		<updated>2010-06-29T03:35:27Z</updated>

		<summary type="html">&lt;p&gt;Bigyan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://www.crowdlabs.org Crowdlabs] is a social repository for storing, viewing and sharing visualizations. The following instructions are meant to guide a new user through to using some of the features of crowdlabs.&lt;br /&gt;
&lt;br /&gt;
== Logging in to Crowdlabs ==&lt;br /&gt;
&lt;br /&gt;
Though not absolutely necessary for using some of the features, we recommend that you always log in to crowdlabs before using it. &lt;br /&gt;
&lt;br /&gt;
* To log in, click the link on top-right and follow the instructions. &lt;br /&gt;
** First-time users should use the sign-up link to create a login id and password.&lt;br /&gt;
&lt;br /&gt;
== Interacting with Visualization from Web Interface ==&lt;br /&gt;
&lt;br /&gt;
A Vismashup is a customized application that runs on top of Vistrails and able to generate visualization with only a necessary number of user interface controls. Vismashups can be viewed from the web browser directly and does not require any additional software to be installed. All you need is a [http://get.adobe.com/flashplayer/ Flash]-enabled web-browser.&lt;br /&gt;
&lt;br /&gt;
* Go to the Vismashups tab and open the mashup you want to view.&lt;br /&gt;
** For the purposes of this walkthrough, we are choosing the &amp;quot;Estuary Forecast (f22)&amp;quot; mashup, though the general ideas are true for any mashup.&lt;br /&gt;
* If you open the &amp;quot;Estuary Forecast (f22)&amp;quot; link, you will see a user interface with some widgets on the left side of the screen and a visualization on the right side.&lt;br /&gt;
* Uncheck the &amp;quot;loop&amp;quot; checkbox to stop the movie and view a particular timestep. &lt;br /&gt;
** The widgets in the left side specify the parameters for the particular visualization to view. For example, the slider at the bottom specifies the hour of the day (which in turn is specified by &amp;quot;Month&amp;quot;, &amp;quot;Day&amp;quot; and &amp;quot;Year&amp;quot; boxes) the visualization corresponds to.&lt;br /&gt;
** You can change the values of these parameters (in the usual fashion) and then click the &amp;quot;Update&amp;quot; button at the bottom left to see a visualization with the new values&lt;br /&gt;
&lt;br /&gt;
== Uploading a Vistrails to Crowdlabs ==&lt;br /&gt;
&lt;br /&gt;
If you have a local vistrails file, you can upload it to crowdlabs by going to the Vistrails tab and selecting &amp;quot;Upload a Vistrail&amp;quot;&lt;br /&gt;
* NOTE: you need to log in before you can upload anything.&lt;br /&gt;
* When you upload a vistrail, all user packages/modules used in the vistrail are automatically uploaded&lt;br /&gt;
* You can view the tagged workflows in the vistrail by clicking it on the right panel and then expanding the &amp;quot;Show Workflow&amp;quot; panel&lt;/div&gt;</summary>
		<author><name>Bigyan</name></author>
	</entry>
	<entry>
		<id>https://wiki.openwfm.org/index.php?title=How_to_visualize_WRF-Fire_output_in_VisTrails&amp;diff=1082</id>
		<title>How to visualize WRF-Fire output in VisTrails</title>
		<link rel="alternate" type="text/html" href="https://wiki.openwfm.org/index.php?title=How_to_visualize_WRF-Fire_output_in_VisTrails&amp;diff=1082"/>
		<updated>2010-06-29T02:44:18Z</updated>

		<summary type="html">&lt;p&gt;Bigyan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Simulation Execution ==&lt;br /&gt;
&lt;br /&gt;
* [[How to run WRF-Fire|Download, install and run WRF-Fire]]. This can be done on a different computer; you will only need to move the output files.&lt;br /&gt;
** To get enough frames, before running WRF-Fire, change in &#039;&#039;&#039;namelist.input&#039;&#039;&#039; the line with &#039;&#039;&#039;history_interval&#039;&#039;&#039; to the desired frame interval in seconds, for example &#039;&#039;&#039;history_interval_s=1&#039;&#039;&#039;. &lt;br /&gt;
* Run WRF-Fire. The pictures below are from the &amp;quot;hill&amp;quot; ideal run in WRF-Fire.&lt;br /&gt;
* If the visualization computer is different from the computer where you run WRF-Fire, transfer the resulting &#039;&#039;&#039;wrfout&#039;&#039;&#039; files to the visualization computer&lt;br /&gt;
&lt;br /&gt;
== Simulation Visualization Setup ==&lt;br /&gt;
* Download and install [http://www.vistrails.org VisTrails], and run it at least once.&lt;br /&gt;
* Get a copy of the &#039;&#039;&#039;wrf_vistrails&#039;&#039;&#039; repository. &lt;br /&gt;
** This is currently restricted to developers who have a shell account at &#039;&#039;&#039;math.ucdenver.edu&#039;&#039;&#039;  &lt;br /&gt;
** NOTE: substitute &#039;&#039;&#039;user&#039;&#039;&#039; for your own username&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone ssh://user@math.ucdenver.edu/home/grads/jbeezley/wrf_vistrails.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Place the VisTrails packages(the respective directories inside the &#039;&#039;userpackages&#039;&#039; directory) into &#039;&#039;&#039;/Users/XXX/.vistrails/userpackages/&#039;&#039;&#039;&lt;br /&gt;
** &#039;&#039;&#039;NumSciPy&#039;&#039;&#039; -- contains the wrapper modules for NumPy and SciPy functions&lt;br /&gt;
** &#039;&#039;&#039;WRFtoVTK&#039;&#039;&#039; -- contains the wrf to vtk file conversion modules&lt;br /&gt;
** &#039;&#039;&#039;extendDialog&#039;&#039;&#039; -- contains masked text dialogs for passwords&lt;br /&gt;
&lt;br /&gt;
* Move the following VisTrails file from the &amp;quot;vt_files&amp;quot; directory to a known location (i.e. &#039;&#039;/Users/XXX/Desktop/visExample/&#039;&#039;)&lt;br /&gt;
** &#039;&#039;&#039;fireDemoSC2009.new.vt&#039;&#039;&#039; -- the VisTrails workflow for conversion and visualization&lt;br /&gt;
&lt;br /&gt;
* Move the simulation inputs to a known location (i.e. &#039;&#039;/Users/XXX/Desktop/visExample/sc2009inputs/&#039;&#039;)&lt;br /&gt;
** &#039;&#039;&#039;sc2009inputs&#039;&#039;&#039; -- contains example simulation input files&lt;br /&gt;
&lt;br /&gt;
* Run the simulation with the example inputs (&#039;&#039;&#039;/Users/XXX/Desktop/visExample/sc2009inputs/&#039;&#039;&#039;)&lt;br /&gt;
** See pre-requisites above for details about the running and obtaining better time steps&lt;br /&gt;
** Wait for the simulation to complete&lt;br /&gt;
&lt;br /&gt;
* Store the WRFOUT within a known directory (i.e. &#039;&#039;/Users/XXX/Desktop/visExample/sc2009outputs/&#039;&#039;)&lt;br /&gt;
** Setup an empty directory to save VTK files that will be generated from WRFOUT (i.e. &#039;&#039;/Users/XXX/Desktop/visExample/sc2009outputs/vtkFiles/&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Converting Simulation Results ===&lt;br /&gt;
&lt;br /&gt;
* Run VisTrails and open the workflow (&#039;&#039;&#039;fireDemoSC2009.new.vt&#039;&#039;&#039;)&lt;br /&gt;
** Ignore the initial error concerning pipeline initialization failure owing to missing package (press &#039;OK&#039;)&lt;br /&gt;
** NOTE: until Jon includes his userpackages within the git repository we will be unable to avoid this error.  However, because these pipelines are unrelated to the simulation execution, conversion and visualization we may ignore them.&lt;br /&gt;
** NOTE: If at this time or later during navigation of the history tree, a dialog pops up saying that vistrails need to enable some package, select yes to continue.&lt;br /&gt;
&lt;br /&gt;
* Begin by navigating the history tree (By clicking &#039;&#039;History&#039;&#039; button on vistrails toolbar)&lt;br /&gt;
* Execute the &#039;&#039;&#039;WRFOUT Conversion&#039;&#039;&#039; node (top of the right-center branch)&lt;br /&gt;
** NOTE: to &#039;execute&#039; a node, you must select the node so that it is highlighted and the corresponding workflow is shown in the smaller view window on the top right, then click on the &#039;execute&#039; button.&lt;br /&gt;
** Prompts for the &#039;&#039;WRF directory&#039;&#039; (&#039;&#039;/Users/XXX/Desktop/visExample/sc2009outputs/&#039;&#039;)&lt;br /&gt;
** Prompts for the &#039;&#039;VTK directory&#039;&#039; (&#039;&#039;/Users/XXX/Desktop/visExample/sc2009outputs/vtkFiles&#039;&#039;)&lt;br /&gt;
** NOTE: the prompts are asking for UNIX-style &#039;&#039;&#039;directory&#039;&#039;&#039; paths. That is, in this case you should type &#039;&#039;/Users/XXX/Desktop/visExample/sc2009outputs/vtkFiles&#039;&#039; and press OK.&lt;br /&gt;
* Wait for the conversion to complete (all modules turn green)&lt;br /&gt;
&lt;br /&gt;
[[File:Sc2009history.png|600px]]&lt;br /&gt;
&lt;br /&gt;
=== Visualizing Simulation Results ===&lt;br /&gt;
&lt;br /&gt;
* Execute the &#039;&#039;&#039;Fire Demo Visualization Mashup&#039;&#039;&#039; node (bottom of the left-most branch)&lt;br /&gt;
** Modify the workflow nodes associated with the vtk file reading&lt;br /&gt;
*** Direct these files to the appropriate vtk paths used earlier&lt;br /&gt;
*** NOTE: you may run the workflow at this point but it will fail without changes these boxes. Running the workflow in this way will highlight the nodes that require changes. They will be colored red to indicate points of failure in the pipeline execution.&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;Fire Demo Visualization&#039;&#039;&#039; node (top of the left-most branch)&lt;br /&gt;
** This node is intended to prompt the user for the files rather than requiring intervention with the workflows.  Currently there is a bug within the workflow.&lt;br /&gt;
** Prompts for the &#039;&#039;VTK directory&#039;&#039; (&#039;&#039;/Users/XXX/Desktop/visExample/sc2009outputs/vtkFiles&#039;&#039;)&lt;br /&gt;
** Prompts for the &#039;&#039;Animation Delay&#039;&#039; (hit enter)&lt;br /&gt;
** View the spread sheet to interact with the visualization&lt;br /&gt;
&lt;br /&gt;
=== Interacting with the Visualization ===&lt;br /&gt;
[[File:Sc2009results.png|600px]]&lt;br /&gt;
* left click will rotate the visualization&lt;br /&gt;
* Shift-left click will pan the visualization&lt;br /&gt;
* Ctrl-left click will zoom the visualization&lt;br /&gt;
* &#039;&#039;&#039;l&#039;&#039;&#039; (lower case L) toggles the streamline widget&lt;br /&gt;
* left click on the sreamline widget moves it around&lt;br /&gt;
* left click on the play widgets (left to right)&lt;br /&gt;
** &#039;&#039;step back&#039;&#039; -- step backwards one frame in the simulation&lt;br /&gt;
** &#039;&#039;play back&#039;&#039; -- play the simulation backwards&lt;br /&gt;
** &#039;&#039;stop&#039;&#039; -- pauses the simulation animation&lt;br /&gt;
** &#039;&#039;play forward&#039;&#039; -- play the simulation forward&lt;br /&gt;
** &#039;&#039;step forward&#039;&#039; -- step forward one frame in the simulation&lt;br /&gt;
&lt;br /&gt;
== Cluster-based Simulation Execution ==&lt;br /&gt;
=== Setting up the Python server on a remote machine or cluster ===&lt;br /&gt;
* Build the simulation binaries on the cluster&lt;br /&gt;
* On the cluster setup a home directory for the server&lt;br /&gt;
* Within this directory create virtual links to:&lt;br /&gt;
** &#039;&#039;&#039;ideal.exe&#039;&#039;&#039; -- the ideal simulation setup executable&lt;br /&gt;
** &#039;&#039;&#039;real.exe&#039;&#039;&#039; -- the real simulation setup executable&lt;br /&gt;
** &#039;&#039;&#039;wrf.exe&#039;&#039;&#039; -- the simulation binary&lt;br /&gt;
* Within this directory copy over the server files from the previous tar ball&lt;br /&gt;
** &#039;&#039;&#039;demoNetwork/execServer.py&#039;&#039;&#039; -- to be used on the cluster to launch the server&lt;br /&gt;
** &#039;&#039;&#039;demoNetwork/fireServer.py&#039;&#039;&#039; -- the server code&lt;br /&gt;
** &#039;&#039;&#039;demoNetwork/fireMessages.py&#039;&#039;&#039; -- the message passing scheme and code&lt;br /&gt;
** &#039;&#039;&#039;demoNetwork/userRegistration.py&#039;&#039;&#039; -- user registration script&lt;br /&gt;
** &#039;&#039;&#039;demoNetwork/README.txt&#039;&#039;&#039; -- a readme file explaining server setup in more detail&lt;br /&gt;
* Execute the python script to start the server (requires python 2.5 or greater)&lt;br /&gt;
** On the command line within the directory: &#039;&#039;python execServer.py&#039;&#039;&lt;br /&gt;
* View and remember the listening port output by the server&lt;br /&gt;
&lt;br /&gt;
=== Registering New Users with the Server ===&lt;br /&gt;
* Log in to the cluster hosting the server&lt;br /&gt;
* Change to the server home directory on the cluster&lt;br /&gt;
* Execute the python script for user registration&lt;br /&gt;
** On the command line: &#039;&#039;python userRegistration.py &amp;lt;username&amp;gt; &amp;lt;password&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Executing Remote Simulations ===&lt;br /&gt;
* Run VisTrails and open the workflow (&#039;&#039;&#039;fireDemoSC2009.vt&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;Execute Simulation (real)&#039;&#039;&#039; node (top of the middle branch): Execution of this workflow sends an execution request to the server.  The VisTrails client communicates with the remote server using the md5 checksum of the simulation input files as a unique identifier.  The server will execute the simulation IFF it is not already stored within the user database.  Consequently, repeated execution requests of the same simulations will be ignored, only the first being executed.&lt;br /&gt;
** Prompts for the &#039;&#039;Server Name&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Username&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Password&#039;&#039; (this is the &#039;&#039;user registered&#039;&#039; password)&lt;br /&gt;
** Prompts for the &#039;&#039;Local Simulation Directory&#039;&#039; (&#039;&#039;/Users/XXX/Desktop/visExample/sc2009inputs/&#039;&#039;)&lt;br /&gt;
** Prompts for the &#039;&#039;Server port&#039;&#039; (this is the number remembered during server setup)&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;Update Simulation (real)&#039;&#039;&#039; node (upper middle of the middle branch): Execution of this workflow will query the server for the latest &#039;&#039;WRFOUT&#039;&#039; files produced by the simulation for the given input files.  If the md5 checksum of the &#039;&#039;WRFOUT&#039;&#039; does not match between the server and the client, then the file is sent from the cluster to your local machine.  No files are sent from the server to the client if the md5 checksums are the same or if the server does not have a simulation recorded for the given input files.&lt;br /&gt;
** Prompts for the &#039;&#039;Server Name&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Username&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Password&#039;&#039; (this is the &#039;&#039;user registered&#039;&#039; password)&lt;br /&gt;
** Prompts for the &#039;&#039;Local Simulation Directory&#039;&#039; (&#039;&#039;/Users/XXX/Desktop/visExample/sc2009inputs/&#039;&#039;)&lt;br /&gt;
** Prompts for the &#039;&#039;Server port&#039;&#039; (this is the number remembered during server setup)&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;Stop Simulation (real)&#039;&#039;&#039; node (lower middle of the middle branch): Execution of this workflow will send a termination request of the simulation to the server.  For simulations that run indefinitely, or are running for a long time, the user can explicitly terminate their continued computation.  The workflow prompts the user for the local directory of the input files, used as a means of identifying the simulation to which the user is referring.&lt;br /&gt;
** Prompts for the &#039;&#039;Server Name&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Username&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Password&#039;&#039; (this is the &#039;&#039;user registered&#039;&#039; password)&lt;br /&gt;
** Prompts for the &#039;&#039;Local Simulation Directory&#039;&#039; (&#039;&#039;/Users/XXX/Desktop/visExample/sc2009inputs/&#039;&#039;)&lt;br /&gt;
** Prompts for the &#039;&#039;Server port&#039;&#039; (this is the number remembered during server setup)&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;Delete Simulation (real)&#039;&#039;&#039; node (lower middle of the middle branch): Execution of this workflow will send a deletion request of the simulation to the server.  After a simulation is run, it will remain on the server until it is explicitly deleted by the user.  Consequently, if a user terminates a simulation, then wishes to re-run the simulation, they must first delete it.  Otherwise, subsequent re-runs of the simulation will not occur because the server views the simulation as already executed.&lt;br /&gt;
** Prompts for the &#039;&#039;Server Name&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Username&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Password&#039;&#039; (this is the &#039;&#039;user registered&#039;&#039; password)&lt;br /&gt;
** Prompts for the &#039;&#039;Local Simulation Directory&#039;&#039; (&#039;&#039;/Users/XXX/Desktop/visExample/sc2009inputs/&#039;&#039;)&lt;br /&gt;
** Prompts for the &#039;&#039;Server port&#039;&#039; (this is the number remembered during server setup)&lt;br /&gt;
&lt;br /&gt;
== Super Computing 2009 Demo ==&lt;br /&gt;
* A full simulation to visualization scenario:&lt;br /&gt;
** Execute the &#039;&#039;&#039;Execute Simulation (real)&#039;&#039;&#039; workflow&lt;br /&gt;
** Wait.&lt;br /&gt;
** Execute the &#039;&#039;&#039;Update Simulation (real)&#039;&#039;&#039; workflow&lt;br /&gt;
** Execute the &#039;&#039;&#039;WRFOUT Conversion&#039;&#039;&#039; workflow&lt;br /&gt;
** Execute the &#039;&#039;&#039;Fire Demo Visualization&#039;&#039;&#039; workflow&lt;br /&gt;
&lt;br /&gt;
== Works with ==&lt;br /&gt;
&lt;br /&gt;
* VisTrails 1.4.1 revision 1693 (2010-01-28 14:00) on Mac OS X 10.6.2&lt;br /&gt;
* WRF-Fire {{WRF-Fire-commit|d08007ddfcd8c59095caf42f7633048b9a541732|d08007ddfcd8c59095caf42f7633048b9a541732}} on Rocks 5.1 Centos 5.3 gfortran-gcc  4.1.2, openmpi_gcc-1.2.8&lt;br /&gt;
&lt;br /&gt;
[[Category:WRF-Fire]]&lt;br /&gt;
[[Category:Howtos|Visualize WRF-Fire output in VisTrails]]&lt;/div&gt;</summary>
		<author><name>Bigyan</name></author>
	</entry>
	<entry>
		<id>https://wiki.openwfm.org/index.php?title=How_to_visualize_WRF-Fire_output_in_VisTrails&amp;diff=1081</id>
		<title>How to visualize WRF-Fire output in VisTrails</title>
		<link rel="alternate" type="text/html" href="https://wiki.openwfm.org/index.php?title=How_to_visualize_WRF-Fire_output_in_VisTrails&amp;diff=1081"/>
		<updated>2010-06-29T02:40:19Z</updated>

		<summary type="html">&lt;p&gt;Bigyan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Simulation Execution ==&lt;br /&gt;
&lt;br /&gt;
* [[How to run WRF-Fire|Download, install and run WRF-Fire]]. This can be done on a different computer; you will only need to move the output files.&lt;br /&gt;
** To get enough frames, before running WRF-Fire, change in &#039;&#039;&#039;namelist.input&#039;&#039;&#039; the line with &#039;&#039;&#039;history_interval&#039;&#039;&#039; to the desired frame interval in seconds, for example &#039;&#039;&#039;history_interval_s=1&#039;&#039;&#039;. &lt;br /&gt;
* Run WRF-Fire. The pictures below are from the &amp;quot;hill&amp;quot; ideal run in WRF-Fire.&lt;br /&gt;
* If the visualization computer is different from the computer where you run WRF-Fire, transfer the resulting &#039;&#039;&#039;wrfout&#039;&#039;&#039; files to the visualization computer&lt;br /&gt;
&lt;br /&gt;
== Simulation Visualization Setup ==&lt;br /&gt;
* Download and install [http://www.vistrails.org VisTrails], and run it at least once.&lt;br /&gt;
* Get a copy of the &#039;&#039;&#039;wrf_vistrails&#039;&#039;&#039; repository. &lt;br /&gt;
** This is currently restricted to developers who have a shell account at &#039;&#039;&#039;math.ucdenver.edu&#039;&#039;&#039;  &lt;br /&gt;
** NOTE: substitute &#039;&#039;&#039;user&#039;&#039;&#039; for your own username&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone ssh://user@math.ucdenver.edu/home/grads/jbeezley/wrf_vistrails.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Place the VisTrails packages(the respective directories inside the &#039;&#039;userpackages&#039;&#039; directory) into &#039;&#039;&#039;/Users/XXX/.vistrails/userpackages/&#039;&#039;&#039;&lt;br /&gt;
** &#039;&#039;&#039;NumSciPy&#039;&#039;&#039; -- contains the wrapper modules for NumPy and SciPy functions&lt;br /&gt;
** &#039;&#039;&#039;WRFtoVTK&#039;&#039;&#039; -- contains the wrf to vtk file conversion modules&lt;br /&gt;
** &#039;&#039;&#039;extendDialog&#039;&#039;&#039; -- contains masked text dialogs for passwords&lt;br /&gt;
&lt;br /&gt;
* Move the following VisTrails file from the &amp;quot;vt_files&amp;quot; directory to a known location (i.e. &#039;&#039;/Users/XXX/Desktop/visExample/&#039;&#039;)&lt;br /&gt;
** &#039;&#039;&#039;fireDemoSC2009.new.vt&#039;&#039;&#039; -- the VisTrails workflow for conversion and visualization&lt;br /&gt;
&lt;br /&gt;
* Move the simulation inputs to a known location (i.e. &#039;&#039;/Users/XXX/Desktop/visExample/sc2009inputs/&#039;&#039;)&lt;br /&gt;
** &#039;&#039;&#039;sc2009inputs&#039;&#039;&#039; -- contains example simulation input files&lt;br /&gt;
&lt;br /&gt;
* Run the simulation with the example inputs (&#039;&#039;&#039;/Users/XXX/Desktop/visExample/sc2009inputs/&#039;&#039;&#039;)&lt;br /&gt;
** See pre-requisites above for details about the running and obtaining better time steps&lt;br /&gt;
** Wait for the simulation to complete&lt;br /&gt;
&lt;br /&gt;
* Store the WRFOUT within a known directory (i.e. &#039;&#039;/Users/XXX/Desktop/visExample/sc2009outputs/&#039;&#039;)&lt;br /&gt;
** Setup an empty directory to save VTK files that will be generated from WRFOUT (i.e. &#039;&#039;/Users/XXX/Desktop/visExample/sc2009outputs/vtkFiles/&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Converting Simulation Results ===&lt;br /&gt;
&lt;br /&gt;
* Run VisTrails and open the workflow (&#039;&#039;&#039;fireDemoSC2009.new.vt&#039;&#039;&#039;)&lt;br /&gt;
** Ignore the initial error concerning pipeline initialization failure owing to missing package (press &#039;OK&#039;)&lt;br /&gt;
** NOTE: until Jon includes his userpackages within the git repository we will be unable to avoid this error.  However, because these pipelines are unrelated to the simulation execution, conversion and visualization we may ignore them.&lt;br /&gt;
** NOTE: If at this time or later during navigation of the history tree, a dialog pops up saying that vistrails need to enable some package, select yes to continue.&lt;br /&gt;
&lt;br /&gt;
* Begin by navigating the history tree (By clicking &#039;&#039;History&#039;&#039; button on vistrails toolbar &lt;br /&gt;
* Execute the &#039;&#039;&#039;WRFOUT Conversion&#039;&#039;&#039; node (top of the right-center branch)&lt;br /&gt;
** NOTE: to &#039;execute&#039; a node, you must select the node so that it is highlighted and the corresponding workflow is shown in the smaller view window on the top right, then click on the &#039;execute&#039; button.&lt;br /&gt;
** Prompts for the &#039;&#039;WRF directory&#039;&#039; (&#039;&#039;/Users/XXX/Desktop/visExample/sc2009outputs/&#039;&#039;)&lt;br /&gt;
** Prompts for the &#039;&#039;VTK directory&#039;&#039; (&#039;&#039;/Users/XXX/Desktop/visExample/sc2009outputs/vtkFiles&#039;&#039;)&lt;br /&gt;
** NOTE: the prompts are asking for &#039;&#039;&#039;directory&#039;&#039;&#039; paths.&lt;br /&gt;
* Wait for the conversion to complete (all modules turn green)&lt;br /&gt;
&lt;br /&gt;
[[File:Sc2009history.png|600px]]&lt;br /&gt;
&lt;br /&gt;
=== Visualizing Simulation Results ===&lt;br /&gt;
&lt;br /&gt;
* Execute the &#039;&#039;&#039;Fire Demo Visualization Mashup&#039;&#039;&#039; node (bottom of the left-most branch)&lt;br /&gt;
** Modify the workflow nodes associated with the vtk file reading&lt;br /&gt;
*** Direct these files to the appropriate vtk paths used earlier&lt;br /&gt;
*** NOTE: you may run the workflow at this point but it will fail without changes these boxes. Running the workflow in this way will highlight the nodes that require changes. They will be colored red to indicate points of failure in the pipeline execution.&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;Fire Demo Visualization&#039;&#039;&#039; node (top of the left-most branch)&lt;br /&gt;
** This node is intended to prompt the user for the files rather than requiring intervention with the workflows.  Currently there is a bug within the workflow.&lt;br /&gt;
** Prompts for the &#039;&#039;VTK directory&#039;&#039; (&#039;&#039;/Users/XXX/Desktop/visExample/sc2009outputs/vtkFiles&#039;&#039;)&lt;br /&gt;
** Prompts for the &#039;&#039;Animation Delay&#039;&#039; (hit enter)&lt;br /&gt;
** View the spread sheet to interact with the visualization&lt;br /&gt;
&lt;br /&gt;
=== Interacting with the Visualization ===&lt;br /&gt;
[[File:Sc2009results.png|600px]]&lt;br /&gt;
* left click will rotate the visualization&lt;br /&gt;
* Shift-left click will pan the visualization&lt;br /&gt;
* Ctrl-left click will zoom the visualization&lt;br /&gt;
* &#039;&#039;&#039;l&#039;&#039;&#039; (lower case L) toggles the streamline widget&lt;br /&gt;
* left click on the sreamline widget moves it around&lt;br /&gt;
* left click on the play widgets (left to right)&lt;br /&gt;
** &#039;&#039;step back&#039;&#039; -- step backwards one frame in the simulation&lt;br /&gt;
** &#039;&#039;play back&#039;&#039; -- play the simulation backwards&lt;br /&gt;
** &#039;&#039;stop&#039;&#039; -- pauses the simulation animation&lt;br /&gt;
** &#039;&#039;play forward&#039;&#039; -- play the simulation forward&lt;br /&gt;
** &#039;&#039;step forward&#039;&#039; -- step forward one frame in the simulation&lt;br /&gt;
&lt;br /&gt;
== Cluster-based Simulation Execution ==&lt;br /&gt;
=== Setting up the Python server on a remote machine or cluster ===&lt;br /&gt;
* Build the simulation binaries on the cluster&lt;br /&gt;
* On the cluster setup a home directory for the server&lt;br /&gt;
* Within this directory create virtual links to:&lt;br /&gt;
** &#039;&#039;&#039;ideal.exe&#039;&#039;&#039; -- the ideal simulation setup executable&lt;br /&gt;
** &#039;&#039;&#039;real.exe&#039;&#039;&#039; -- the real simulation setup executable&lt;br /&gt;
** &#039;&#039;&#039;wrf.exe&#039;&#039;&#039; -- the simulation binary&lt;br /&gt;
* Within this directory copy over the server files from the previous tar ball&lt;br /&gt;
** &#039;&#039;&#039;demoNetwork/execServer.py&#039;&#039;&#039; -- to be used on the cluster to launch the server&lt;br /&gt;
** &#039;&#039;&#039;demoNetwork/fireServer.py&#039;&#039;&#039; -- the server code&lt;br /&gt;
** &#039;&#039;&#039;demoNetwork/fireMessages.py&#039;&#039;&#039; -- the message passing scheme and code&lt;br /&gt;
** &#039;&#039;&#039;demoNetwork/userRegistration.py&#039;&#039;&#039; -- user registration script&lt;br /&gt;
** &#039;&#039;&#039;demoNetwork/README.txt&#039;&#039;&#039; -- a readme file explaining server setup in more detail&lt;br /&gt;
* Execute the python script to start the server (requires python 2.5 or greater)&lt;br /&gt;
** On the command line within the directory: &#039;&#039;python execServer.py&#039;&#039;&lt;br /&gt;
* View and remember the listening port output by the server&lt;br /&gt;
&lt;br /&gt;
=== Registering New Users with the Server ===&lt;br /&gt;
* Log in to the cluster hosting the server&lt;br /&gt;
* Change to the server home directory on the cluster&lt;br /&gt;
* Execute the python script for user registration&lt;br /&gt;
** On the command line: &#039;&#039;python userRegistration.py &amp;lt;username&amp;gt; &amp;lt;password&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Executing Remote Simulations ===&lt;br /&gt;
* Run VisTrails and open the workflow (&#039;&#039;&#039;fireDemoSC2009.vt&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;Execute Simulation (real)&#039;&#039;&#039; node (top of the middle branch): Execution of this workflow sends an execution request to the server.  The VisTrails client communicates with the remote server using the md5 checksum of the simulation input files as a unique identifier.  The server will execute the simulation IFF it is not already stored within the user database.  Consequently, repeated execution requests of the same simulations will be ignored, only the first being executed.&lt;br /&gt;
** Prompts for the &#039;&#039;Server Name&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Username&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Password&#039;&#039; (this is the &#039;&#039;user registered&#039;&#039; password)&lt;br /&gt;
** Prompts for the &#039;&#039;Local Simulation Directory&#039;&#039; (&#039;&#039;/Users/XXX/Desktop/visExample/sc2009inputs/&#039;&#039;)&lt;br /&gt;
** Prompts for the &#039;&#039;Server port&#039;&#039; (this is the number remembered during server setup)&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;Update Simulation (real)&#039;&#039;&#039; node (upper middle of the middle branch): Execution of this workflow will query the server for the latest &#039;&#039;WRFOUT&#039;&#039; files produced by the simulation for the given input files.  If the md5 checksum of the &#039;&#039;WRFOUT&#039;&#039; does not match between the server and the client, then the file is sent from the cluster to your local machine.  No files are sent from the server to the client if the md5 checksums are the same or if the server does not have a simulation recorded for the given input files.&lt;br /&gt;
** Prompts for the &#039;&#039;Server Name&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Username&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Password&#039;&#039; (this is the &#039;&#039;user registered&#039;&#039; password)&lt;br /&gt;
** Prompts for the &#039;&#039;Local Simulation Directory&#039;&#039; (&#039;&#039;/Users/XXX/Desktop/visExample/sc2009inputs/&#039;&#039;)&lt;br /&gt;
** Prompts for the &#039;&#039;Server port&#039;&#039; (this is the number remembered during server setup)&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;Stop Simulation (real)&#039;&#039;&#039; node (lower middle of the middle branch): Execution of this workflow will send a termination request of the simulation to the server.  For simulations that run indefinitely, or are running for a long time, the user can explicitly terminate their continued computation.  The workflow prompts the user for the local directory of the input files, used as a means of identifying the simulation to which the user is referring.&lt;br /&gt;
** Prompts for the &#039;&#039;Server Name&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Username&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Password&#039;&#039; (this is the &#039;&#039;user registered&#039;&#039; password)&lt;br /&gt;
** Prompts for the &#039;&#039;Local Simulation Directory&#039;&#039; (&#039;&#039;/Users/XXX/Desktop/visExample/sc2009inputs/&#039;&#039;)&lt;br /&gt;
** Prompts for the &#039;&#039;Server port&#039;&#039; (this is the number remembered during server setup)&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;Delete Simulation (real)&#039;&#039;&#039; node (lower middle of the middle branch): Execution of this workflow will send a deletion request of the simulation to the server.  After a simulation is run, it will remain on the server until it is explicitly deleted by the user.  Consequently, if a user terminates a simulation, then wishes to re-run the simulation, they must first delete it.  Otherwise, subsequent re-runs of the simulation will not occur because the server views the simulation as already executed.&lt;br /&gt;
** Prompts for the &#039;&#039;Server Name&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Username&#039;&#039;&lt;br /&gt;
** Prompts for the &#039;&#039;Password&#039;&#039; (this is the &#039;&#039;user registered&#039;&#039; password)&lt;br /&gt;
** Prompts for the &#039;&#039;Local Simulation Directory&#039;&#039; (&#039;&#039;/Users/XXX/Desktop/visExample/sc2009inputs/&#039;&#039;)&lt;br /&gt;
** Prompts for the &#039;&#039;Server port&#039;&#039; (this is the number remembered during server setup)&lt;br /&gt;
&lt;br /&gt;
== Super Computing 2009 Demo ==&lt;br /&gt;
* A full simulation to visualization scenario:&lt;br /&gt;
** Execute the &#039;&#039;&#039;Execute Simulation (real)&#039;&#039;&#039; workflow&lt;br /&gt;
** Wait.&lt;br /&gt;
** Execute the &#039;&#039;&#039;Update Simulation (real)&#039;&#039;&#039; workflow&lt;br /&gt;
** Execute the &#039;&#039;&#039;WRFOUT Conversion&#039;&#039;&#039; workflow&lt;br /&gt;
** Execute the &#039;&#039;&#039;Fire Demo Visualization&#039;&#039;&#039; workflow&lt;br /&gt;
&lt;br /&gt;
== Works with ==&lt;br /&gt;
&lt;br /&gt;
* VisTrails 1.4.1 revision 1693 (2010-01-28 14:00) on Mac OS X 10.6.2&lt;br /&gt;
* WRF-Fire {{WRF-Fire-commit|d08007ddfcd8c59095caf42f7633048b9a541732|d08007ddfcd8c59095caf42f7633048b9a541732}} on Rocks 5.1 Centos 5.3 gfortran-gcc  4.1.2, openmpi_gcc-1.2.8&lt;br /&gt;
&lt;br /&gt;
[[Category:WRF-Fire]]&lt;br /&gt;
[[Category:Howtos|Visualize WRF-Fire output in VisTrails]]&lt;/div&gt;</summary>
		<author><name>Bigyan</name></author>
	</entry>
	<entry>
		<id>https://wiki.openwfm.org/index.php?title=User:Bigyan/How_To_Use_Crowdlabs&amp;diff=1069</id>
		<title>User:Bigyan/How To Use Crowdlabs</title>
		<link rel="alternate" type="text/html" href="https://wiki.openwfm.org/index.php?title=User:Bigyan/How_To_Use_Crowdlabs&amp;diff=1069"/>
		<updated>2010-06-28T14:10:33Z</updated>

		<summary type="html">&lt;p&gt;Bigyan: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bigyan</name></author>
	</entry>
	<entry>
		<id>https://wiki.openwfm.org/index.php?title=User:Bigyan/How_To_Use_Crowdlabs&amp;diff=1068</id>
		<title>User:Bigyan/How To Use Crowdlabs</title>
		<link rel="alternate" type="text/html" href="https://wiki.openwfm.org/index.php?title=User:Bigyan/How_To_Use_Crowdlabs&amp;diff=1068"/>
		<updated>2010-06-28T13:38:06Z</updated>

		<summary type="html">&lt;p&gt;Bigyan: Created page with &amp;#039;aewaqeqe&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;aewaqeqe&lt;/div&gt;</summary>
		<author><name>Bigyan</name></author>
	</entry>
</feed>