Skip to content

In this project, I am utilizing synchronization mechanisms to ensure that this simulation adheres to specified synchronization constraints and maintains safety and liveness.

Notifications You must be signed in to change notification settings

KentEchardt/Multithreaded-Concurrency-Club-Simulation

Repository files navigation

How to run the program:

  1. Change your current directory to the one where all the folders and files are present (src/bin/Makefile)
  2. There are two programs to run, the serial (MonteCarloMinimizarion) and Parallel (MonteCarloMinimizationParallel), please type this as the parameter when you run the program
  3. type in the terminal "java -cp bin MonteCarloMini/ Example: java -cp bin MonteCarloMini.MonteCarloMinimizationParallel 1000 1000 -3500 3500 -3500 3500 0.5 java -cp bin MonteCarloMini.MonteCarloMinimization 1000 1000 -3500 3500 -3500 3500 0.5

If the java program ran out of Heap Space, type the following: java -Xmx<heap space: say for instance "10G"> -cp bin MonteCarloMini.

If you want to compile and run serial or parallel programs, do the following: type in: make run ARGS= "

About

In this project, I am utilizing synchronization mechanisms to ensure that this simulation adheres to specified synchronization constraints and maintains safety and liveness.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published