Currently I am successfully manage to compile the Garfield++/garfieldpp/Examples/RPC/ example, on my local computer and as a result, when executing the ./Weight file I get two plots in a root canvas which I can save, from File → Save as → save the plot as .pdf.
Now I wanted to try running it on lxplus but when I run the ./Weight file on lxplus it just stays on hold on:
Script: Electrons have drifted. It took 0.07s to run.
Sensor::ExportSignal: File 'SignalNaN.csv.csv' exported.
Sensor::ExportSignal: File 'ChargeNaN.csv.csv' exported.
|
I guess waiting for the user input to save the plots, but is there a way to run it like in batch mode, like a root file root -b Weight.C ?
Based on your description, it seems that the application might be trying to show a GUI (X11?). Can you enable X11 forwarding (i.e., $ ssh -X ...)and try again?
Regarding the question about a batch mode, perhaps @hschindl can provide some information here.
I have tried with GUI(x11), but the graphics and stability connection are very bad in my case. I have try it but with no success, that is why I post about the batch mode, because with that I can easily run the file and then copy the results to my local computer, much faster.
ohh, god I feel so bad. But, it now complies and finishes the job, but how can I save the plots? it finishes with :
AvalancheGrid::StartGridAvalanche::Avalanche maximum size of 1.6e+07 electrons reached at 0.901481 ns.
AvalancheGrid::StartGridAvalanche::Final avalanche size = 16000000 at t = 0.92892 ns.
Script: Electrons have drifted. It took 0.07s to run.
Sensor::ExportSignal: File 'SignalNaN.csv.csv' exported.
Sensor::ExportSignal: File 'ChargeNaN.csv.csv' exported.
Well still no luck on the images and cDrift has a boolean flag set to false which I change to true and adding #include "TPad.h" and also gPad->Modified(); gPad->Update(); right before the three saves as, still no image of cDrift is created.