Simulator for Large-Scale testing of CheckSoft
The software has been tested on an Ubuntu System.
- Anaconda
- OpenJDK
- MPJExpress (The required files are packaged with this software.)
- Python 2.7
- Matplotlib
A conda environment needs to be created to install the prequesities and then the environment needs to be activated as follows:
conda create -n cs_env -c anaconda python=2.7 matplotlib openjdk
conda activate cs_env
Please run the following commands :
git clone https://github.com/sarkar-rohan/CheckSoft/
cd CheckSoft/CS_GUI/
chmod a+x runInitialize.sh
./runInitialize.sh
Please run the following commands:
java -jar CheckSoftSim.jar
- First select the Test Application
- Based on the selected application, the default simulation parameters are already provided.
- If the user wants to modify the simulation parameters, please follow the guidelines provided on selecting the Test Application. Error messages will pop-up if the values entered are not acceptable.
- First select the Test Application
- To run CheckSoft with the user provided simulation parameters please press the Run CheckSoft button.
- On successful completion the accuracy of CheckSoft and the latencies associated with the different events will be displayed in the bottom-left part of the GUI.
- First select the Test Application
- On clicking the Verify Inference Logic Button, the GUI will check if acceptable parameters have been entered and then display the inferences made and the anomalies detected in a separate window.
To run the scalability test please open a new terminal and run the commands provided below :
conda activate cs_env
cd CheckSoft/CS_GUI/
./runScalability.sh 5
To run the Noise Tolerance test please open a new terminal and run the commands provided below :
conda activate cs_env
cd CheckSoft/CS_GUI/
./runTolerance.sh 5
Please note that the parameter (5 in this case) passed is the number of iterations over which the experimental results will be averaged. The user can provide any other integer value, as desired.
Once the test completes the user can view the new results in the GUI by clicking the Scalability Test or the Noise Tolerance button again. Please don't run any other tests using the GUI, when running these tests.
- MPJExpress - open source Java message passing library
- WindowBuilder - GUI Development in Eclipse
- Rohan Sarkar - sarkar-rohan
This project is only meant for testing purposes and is not meant for any resuse.