Please read tips for efficient and successful posting and posting code
ROOT Version: ROOT 6.16/00
Platform: Installed with Geant4v 4.10.04 and Gatev8.1
Hi, every body, i RUN simulation in a cluster with output root. when i get the output file.root . and try to open it in my computer by Tbrowser double click , it doesn’t open, and no error message. i cant understand what is the problem.Please help me here im beginner… the file.root contain 5 histograms of energyspectrum actor in Gate
couet
March 26, 2021, 2:36pm
2
If your root file is out.root
can you try:
% root -l out.root
root [0] TBrowser b
The browser should open and you should see your file in it. It it the case ?
Thank you for your reply, I execute the commandes as you suggest but no thing changed… myfile.root is available and shown in Tbrowser but when i try to open it by 2 click doesn’t open or show any graphs.
couet
March 26, 2021, 3:38pm
4
Are you sure you have something in that root file ? can you try:
% rootls out.root
hi Couet, yes myfile.root has a taille of 527 octets. rootls commande doasent work also, thank you for your efforts
Hi Mr couet, the output when i exucte commande is as follows.
/usr/bin/env: «python»: Aucun fichier ou dossier de ce type
couet
March 29, 2021, 6:21am
8
So rootls is not correctly installed it seems.
Can you post the .root file here, so we can inspect it ?
output.root (523 Bytes)
Yes of course, the attached file is file.root. and Thank you a lot Mr COUET
Your “output” file is completely empty.
If you do not have “rootls
”, you can use the “root-ls
”, described e.g. in:
ok.
so, first a few clarifying things.
root-ls, root2csv, … all the commands from go-hep.org/x/hep are written in Go . Go is a compiled programming language, so one needs a compiler (e.g. one that can be installed from golang.org ) to compile Go source code into an executable for a given operating system + architecture (e.g.: linux + 64bits machine).
go get go-hep.org/x/hep/cmd/root2csv will fetch the Go code for root2csv, compile it and install the resulting binary under some directory (by…
couet
March 29, 2021, 9:51am
11
I confirm. Empty file:
% rootls output.root
%
and also:
% root output.root
------------------------------------------------------------------
| Welcome to ROOT 6.25/01 https://root.cern |
| (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for macosx64 on Mar 09 2021, 09:09:23 |
| From heads/master@v6-25-01-72-gb4566d45f8 |
| With Apple clang version 12.0.0 (clang-1200.0.32.29) |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
root [0]
Attaching file output.root as _file0...
(TFile *) 0x7fb93612a920
root [1] _file0->ls()
TFile** output.root
TFile* output.root
root [2]
Ok, i think it is not running in the cluster…Thank you for your help, I appreciate your reply and interaction. Respect
system
Closed
April 12, 2021, 5:37pm
13
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.