Message: Re: Input file name and output the result to the file. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Input file name and output the result to the file. 

Forum: Documentation and Examples
Re: Question Input file name and output the result to the file. (Chase, Park)
Re: None Re: Input file name and output the result to the file. (Charles Wang)
Date: 24 Apr, 2017
From: Umang Kakaiya <Umang Kakaiya>

How to save my results in text file? I am not an expert in coding. Is there any way to save result in mac file or at runtime?? I have heard of using > operator to store the results in output text file but i am getting an error like this: ***** COMMAND NOT FOUND </home/umangk/guru/bin/Linux-g++/exampleB1 vis.mac > out.txt> *****

The data in vis.mac says : /gun/particle proton /gun/energy 2 MeV /run/beamOn 200 /tracking/verbose 2 /control/verbose 2 /home/umangk/guru/bin/Linux-g++/exampleB1 vis.mac > out.txt

Please help Thank You

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Input file name and output the result to the file.   (Ivana Hrivnacova - 26 Apr, 2017)
 Add Message Add Message
to: "Re: Input file name and output the result to the file."

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]