written by
Wolfgang Christian and Francisco Esquembre
The Random Walk with Parallel Programming item shows how to use Parallel Region and Parallel Loop Model Elements to simultaneously compute N random walks on a lattice. The simulations show how computational performance depends on the number of threads and how the computational load is distributed among the processor cores. Random walk trajectories are displayed in a plot window and additional windows display the computational performance of each thread and the time evolution of the average displacement of the random walks.
The parallel Random Walk simulations were developed using the Easy Java Simulations (EJS) modeling tool and are distributed as a ready-to-run (compiled) jar files. Users can modify these simulations if they have EJS installed by right-clicking within the plot and selecting "Open Ejs Model" from the pop-up menu item.
Please note that this resource requires
at least version 1.7 of Java (JRE).
Random Walk: Synchronized Parallel Region Implementation A random walk on a lattice simulations that uses a Parallel Region that has been synchronized …
A random walk on a lattice simulations that uses a Parallel Region that has been synchronized with the Model using the Final code page.
Random Walk: Unsynchronized Parallel Region Implementation A random walk simulation implemented with a Parallel Region. Because the threads are not …
A random walk simulation implemented with a Parallel Region. Because the threads are not synchronized, each walk may have a different length.
Parallel Programming Tutorial
A step-by-step introduction to parallel programming in Java using EJS. download 2083kb .pdf
Last Modified: December 22, 2017
Random Walk Parallel Loop Source Code
The source code zip archive contains an EJS-XML representation of the Parallel Loop implementation of the Parallel Walk Model. Unzip this archive in your EJS workspace to compile and run this model using EJS. download 163kb .zip
Last Modified: October 7, 2017
previous versions
Random Walk Parallel Region Source Code
The source code zip archive contains an EJS-XML representation of the Parallel Region implementation of the Random Walk Model. Unzip this archive in your EJS workspace to compile and run this model using EJS. download 163kb .zip
Last Modified: October 7, 2017
Random Walk Synchronized Parallel Region Source Code
The source code zip archive contains an EJS-XML representation of the Parallel Region with Final Region Synchronization of the Random Walk Model. Unzip this archive in your EJS workspace to compile and run this model using EJS. download 163kb .zip
Last Modified: October 7, 2017
<a href="https://www.compadre.org/OSP/items/detail.cfm?ID=14533">Christian, Wolfgang, and Francisco Esquembre. "Random Walk Models with Parallel Programming." Version 1.0.</a>
W. Christian and F. Esquembre, Computer Program RANDOM WALK MODELS WITH PARALLEL PROGRAMMING, Version 1.0 (2017), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14533&DocID=4713).
W. Christian and F. Esquembre, Computer Program RANDOM WALK MODELS WITH PARALLEL PROGRAMMING, Version 1.0 (2017), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14533&DocID=4713>.
Christian, W., & Esquembre, F. (2017). Random Walk Models with Parallel Programming (Version 1.0) [Computer software]. Retrieved December 6, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14533&DocID=4713
Christian, Wolfgang, and Francisco Esquembre. "Random Walk Models with Parallel Programming." Version 1.0. https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14533&DocID=4713 (accessed 6 December 2024).
Christian, Wolfgang, and Francisco Esquembre. Random Walk Models with Parallel Programming. Vers. 1.0. Computer software. 2017. Java (JRE) 1.7. 6 Dec. 2024 <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14533&DocID=4713>.
@misc{
Author = "Wolfgang Christian and Francisco Esquembre",
Title = {Random Walk Models with Parallel Programming},
Month = {October},
Year = {2017}
}
%A Wolfgang Christian %A Francisco Esquembre %T Random Walk Models with Parallel Programming %D October 2, 2017 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14533&DocID=4713 %O 1.0 %O application/java
%0 Computer Program %A Christian, Wolfgang %A Esquembre, Francisco %D October 2, 2017 %T Random Walk Models with Parallel Programming %7 1.0 %8 October 2, 2017 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14533&DocID=4713
Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.
The Easy Java Simulations Modeling and Authoring Tool is needed to explore the computational model used in the Random Walk Models with Parallel Programming.