ELogs/OhieMayenin: Difference between revisions

From PBTWiki
Jump to navigation Jump to search
Line 21: Line 21:
* Fixed x11 forwarding issues.
* Fixed x11 forwarding issues.
* Project interview.
* Project interview.
* Setup Python 2.7 environment.
* Fixed plot view issues and reported pybdsim bug.
* Fixed plot view issues and reported pybdsim bug.
* Fixed BDSIM OpenGL visualiser issues.
* Fixed BDSIM OpenGL visualiser issues.
* Ran atf2 example in full.
* Ran atf2 example in full.
== Troubleshooting Log ==
* Initially ran $ source /unix/pbt/software/scripts/bdsim.sh, which partially works but crashes when running pybdsim. To fix this, I instead run
$ source /unix/pbt/software/scripts/bdsim_setup_jc.sh.
* When using SSH to connect to Linux cluster, X11 forwarding was not enabled so any graphical windows like ROOT TBrowser and BDSIM GUI could not be accessed. To get around this I use the Exceed client with X11-enabled client PuTTY.
* BDSIM visualiser was not working correctly, showing a black screen. To fix this, I installed the Exceed extension Exceed 3D, which enables the OpenGL visualiser. Once Exceed 3D is installed, one must open Xconfig from the Exceed terminal and go to the OpenGL tab. Check that 'Enable OpenGL' is enabled, as well as the checkbox 'Direct Rendering'. For my setup, all boxes are checked except for 'Overlay Support'.
* Pybdsim plots do not pop up in a graphical window, even with X11 forwarding enabled. To force these plots to open, one must type the following:
>>> import matplotlib.pyplot as plt
>>> plt.show(block=False)

Revision as of 11:13, 30 January 2019

To Do

High Priority

  • Create log of previous troubleshooting and keep records for the future.
  • Contact Laurie Nevay about moving forward to Clatterbridge simulations.

Low Priority

  • Rerun Geant4 Clatterbridge simulation in full.
  • Update python analysis scripts.
  • Verify dose monitor version in CAD model.

Completed

  • Literature review.
  • CAD model packaging.
  • Progress report.
  • Geant4 pencil beam example simulations.
  • Understand how to setup Geant4, BDSIM and Python environments on HEP Cluster.
  • Fixed x11 forwarding issues.
  • Project interview.
  • Setup Python 2.7 environment.
  • Fixed plot view issues and reported pybdsim bug.
  • Fixed BDSIM OpenGL visualiser issues.
  • Ran atf2 example in full.


Troubleshooting Log

  • Initially ran $ source /unix/pbt/software/scripts/bdsim.sh, which partially works but crashes when running pybdsim. To fix this, I instead run

$ source /unix/pbt/software/scripts/bdsim_setup_jc.sh.

  • When using SSH to connect to Linux cluster, X11 forwarding was not enabled so any graphical windows like ROOT TBrowser and BDSIM GUI could not be accessed. To get around this I use the Exceed client with X11-enabled client PuTTY.
  • BDSIM visualiser was not working correctly, showing a black screen. To fix this, I installed the Exceed extension Exceed 3D, which enables the OpenGL visualiser. Once Exceed 3D is installed, one must open Xconfig from the Exceed terminal and go to the OpenGL tab. Check that 'Enable OpenGL' is enabled, as well as the checkbox 'Direct Rendering'. For my setup, all boxes are checked except for 'Overlay Support'.
  • Pybdsim plots do not pop up in a graphical window, even with X11 forwarding enabled. To force these plots to open, one must type the following:

>>> import matplotlib.pyplot as plt >>> plt.show(block=False)