Once I activate sl7 container, do the following.
export UPS_OVERRIDE="-H Linux64bit+3.10-2.17"
source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
setup dunesw v10_03_01d02 -q e26:profThe V5 ProtoDUNE-VD geometry GDML file was constructed using GeGeDe (General Geometry Description), a Python-based software.
In gen.fcl file, we add:
services.AuxDetGeometry.GDML: "protodunevd_v5_refactored.gdml"
services.AuxDetGeometry.Name: "protodunevd_v5"
services.Geometry.GDML: "protodunevd_v5_refactored.gdml"
services.Geometry.Name: "protodunevd_v5"
services.Geometry.ROOT: "protodunevd_v5_refactored.gdml"
Then in g4.fcl, the next step after generator, we add:
services.AuxDetGeometry.GDML: "protodunevd_v5_refactored.gdml"
services.AuxDetGeometry.Name: "protodunevd_v5"
services.Geometry.GDML: "protodunevd_v5_refactored.gdml"
services.Geometry.Name: "protodunevd_v5"
services.Geometry.ROOT: "protodunevd_v5_refactored.gdml"
services.LArG4Detector.gdmlFileName_: "protodunevd_v5_refactored.gdml"In the first time we login, it may ask us to set a password for connection.
kinit -f -7d [email protected]
ssh -AKXY [email protected]
source ~/setup2025VNC.sh
exitOnce exit this login, open a new terminal window and in the $HOME/.ssh/config or $HOME/.ssh/ssh_config, and paste the following:
Host dunegpvm??
HostName %h.fnal.gov
User username
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials yes
LocalForward 5901 localhost:XXXXXThen exit the window.
In a new window, do
ssh -Y dunegpvm09
source ~/setup2025VNC.sh
dunesl7
export UPS_OVERRIDE="-H Linux64bit+3.10-2.17"
source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
source ~/setup2025VNC.sh
exitNow we should in dunegpvm09 and out of sl7 container. Use vncserver -list to check if we setup the VNC session as we want.
In a local terminal, do
open vnc://localhost:5901Do not logout the AL9 from the upper right corner, but close connection in the upper left APP Quit Screen Sharing.
And in dunegpvm09, use kill -9 to end the VNC session.