LLNL-CODE- 826840
OptVis takes as input the source file, dot file, and the JSON analysis file generated by optparser.
OptVis uses JS for the frontend and flask (python) for the backend.
flask
The sample input files for the application can be found in the static
directory. The files are generated using the lulesh benchmark code. The sample files are lulesh.cc
, lulesh.o.dot
, and lulesh.o.json
.
Sample Set up:
docker build -t optvis_aa .
Every time you run the following command, you will need to increment c1: c2, c3, etc.
docker run -p 5000:5000/tcp optvis_aa
Once you get this running, you enter this in the browser address bar: http://localhost:5000/
By default, the dockerfile will build an executable sample file for basic testing: /home/ccnavuser/a3.out
, so this can be used for testing inside the docker run.
Look at the top left panel of your browser window.
For the executable input dir, enter the following: /home/ccnavuser/a3.out
Then click the "Get" button.
For development, we need to name the docker run to access it later. We can do this by:
docker run --name optvis_run -p 5000:5000/tcp optvis_aa
docker exec -it optvis_run /bin/bash
You may need to delete the docker container before running it again. Or you can use different name each time you run in development mode.
See CONTRIBUTING file.
The MIT License (MIT)