From peter.willendrup at risoe.dk Wed Apr 20 21:23:30 2005 From: peter.willendrup at risoe.dk (Peter Willendrup) Date: Wed, 20 Apr 2005 21:23:30 +0200 (CEST) Subject: [neutron-mc] McZilla (Bugzilla for McStas) Message-ID: Hello everyone, To ease the process of bug reporting and to follow status on reported bugs in McStas, a Bugzilla system has been set up at http://fys-lin-1.risoe.dk/cgi-bin/bugzilla/index.cgi (Available also from http://www.mcstas.org/McZilla) The system can be used for bug reporting, feature requests and later also for committing components for the McStas contrib/ library. Enjoy, Peter Willendrup Ps.: You may also like to play with the web frontend for McStas, available at http://www.mcstas.org/webfront. Work carried out by ILL student S. Jean ILL/DS/CS. -- ------------------------------------- Peter Kjaer Willendrup, cand. scient Phone: (+45) 46 77 58 62 email: peter.willendrup at risoe.dk ------------------------------------- From L.C.Chapon at rl.ac.uk Fri Jun 17 19:04:01 2005 From: L.C.Chapon at rl.ac.uk (Chapon, LC (Laurent)) Date: Fri, 17 Jun 2005 18:04:01 +0100 Subject: [neutron-mc] Problem with Virtual input Message-ID: <57BFD82EEF0CDE41A72C4EDADF8A01B20A86CE@exchange27.fed.cclrc.ac.uk> Dear McStas team, I have been trying to use the Virtual Output and Input. It works fine with the "text" format but the "float" and "double" binary do not work. The file is created OK but when trying to read it back with a virtual input, I have 0 counts. Thanks for your help. ______________________________________ Dr Laurent Chapon Instrument Scientist ISIS department Bldg R3 Rutherford Appleton Laboratory Chilton, Didcot OX11 0QX UK +44(0)1235-446090 -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter.willendrup at risoe.dk Tue Jun 21 12:02:35 2005 From: peter.willendrup at risoe.dk (Peter Willendrup) Date: Tue, 21 Jun 2005 12:02:35 +0200 Subject: [neutron-mc] Problem with Virtual input In-Reply-To: <57BFD82EEF0CDE41A72C4EDADF8A01B20A86CE@exchange27.fed.cclrc.ac.uk> References: <57BFD82EEF0CDE41A72C4EDADF8A01B20A86CE@exchange27.fed.cclrc.ac.uk> Message-ID: <1119348155.22744.19.camel@localhost.localdomain> Hi Laurent, On Fri, 2005-06-17 at 18:04 +0100, Chapon, LC (Laurent) wrote: > Dear McStas team, > > I have been trying to use the Virtual Output and Input. It works fine > with the ?text? format but the ?float? and ?double? binary do not > work. The file is created OK but when trying to read it back with a > virtual input, I have 0 counts. Unfortunately I seem not to reproduce your problem with neither mcstas-1.8 or the current CVS build. Tests done on Ubuntu GNU/Linux (Debian). Could you perhaps include some more specifics about your machine environment and your instrument? I have written two extremly simple instrument files that work fine here, see attached. Regards, Peter -- Peter Willendrup Ris? National Laboratory -------------- next part -------------- DEFINE INSTRUMENT input() TRACE COMPONENT Origin = Arm() AT (0,0,0) ABSOLUTE COMPONENT source = Virtual_input( file = "vout.dat", type = "double", repeat_count = 10, bufsize = 0) AT (0, 0, 10) RELATIVE Origin COMPONENT PSD = PSD_monitor( nx = 128, ny = 128, filename = "PSD", xmin = -0.1, xmax = 0.1, ymin = -0.1, ymax = 0.1) AT (0, 0, 0.1) RELATIVE source END -------------- next part -------------- DEFINE INSTRUMENT out() TRACE COMPONENT Origin = Arm() AT (0,0,0) ABSOLUTE COMPONENT source = Source_flat( radius = 0.1, dist = 10, xw = 0.1, yh = 0.1, E0 = 5, dE = 0.5) AT (0, 0, 0) RELATIVE Origin COMPONENT Vout = Virtual_output( file = "vout.dat", bufsize = 0, type="double") AT (0, 0, 10) RELATIVE source END From L.C.Chapon at rl.ac.uk Tue Jun 21 13:19:24 2005 From: L.C.Chapon at rl.ac.uk (Chapon, LC (Laurent)) Date: Tue, 21 Jun 2005 12:19:24 +0100 Subject: [neutron-mc] Problem with Virtual input Message-ID: <57BFD82EEF0CDE41A72C4EDADF8A01B20A86EA@exchange27.fed.cclrc.ac.uk> Dear Peter, I am running under XP. I have tried your example and I have the same problem to some extend. The output.instr file create the vout.dat, and it has the right size (860kb for 10000 neutrons). However, the input.instr file does not produce the correct result. I would expect N=10000 in the PSD detector if repeat_count=1, but I get only N=10? Do you have the same problem under LINUX? ______________________________________ Dr Laurent Chapon Instrument Scientist ISIS department Bldg R3 Rutherford Appleton Laboratory Chilton, Didcot OX11 0QX UK +44(0)1235-446090 -----Original Message----- From: neutron-mc-bounces at risoe.dk [mailto:neutron-mc-bounces at risoe.dk] On Behalf Of Peter Willendrup Sent: 21 June 2005 11:03 To: McStas users list at neutron.risoe.dk Subject: Re: [neutron-mc] Problem with Virtual input Hi Laurent, On Fri, 2005-06-17 at 18:04 +0100, Chapon, LC (Laurent) wrote: > Dear McStas team, > > I have been trying to use the Virtual Output and Input. It works fine > with the "text" format but the "float" and "double" binary do not > work. The file is created OK but when trying to read it back with a > virtual input, I have 0 counts. Unfortunately I seem not to reproduce your problem with neither mcstas-1.8 or the current CVS build. Tests done on Ubuntu GNU/Linux (Debian). Could you perhaps include some more specifics about your machine environment and your instrument? I have written two extremly simple instrument files that work fine here, see attached. Regards, Peter -- Peter Willendrup Ris? National Laboratory From peter.willendrup at risoe.dk Tue Jun 21 13:40:02 2005 From: peter.willendrup at risoe.dk (Peter Willendrup) Date: Tue, 21 Jun 2005 13:40:02 +0200 Subject: [neutron-mc] Problem with Virtual input In-Reply-To: <57BFD82EEF0CDE41A72C4EDADF8A01B20A86EA@exchange27.fed.cclrc.ac.uk> References: <57BFD82EEF0CDE41A72C4EDADF8A01B20A86EA@exchange27.fed.cclrc.ac.uk> Message-ID: <1119354003.28303.4.camel@localhost.localdomain> Hi Laurent, On Tue, 2005-06-21 at 12:19 +0100, Chapon, LC (Laurent) wrote: > Dear Peter, > I am running under XP. > I have tried your example and I have the same problem to some extend. > > The output.instr file create the vout.dat, and it has the right size > (860kb for 10000 neutrons). However, the input.instr file does not > produce the correct result. I would expect N=10000 in the PSD detector > if repeat_count=1, but I get only N=10? Do you have the same problem under LINUX? I agree, you should be able to get 10000 neutrons... I tried a run on Windows XP and it does seem that there is a specific problem with virtual input / output on this platform. We will fix this with the new release due this summer. Sorry for the inconvenience... Regards, Peter -- Peter Willendrup Ris? National Laboratory From peter.willendrup at risoe.dk Tue Jun 21 15:23:53 2005 From: peter.willendrup at risoe.dk (Peter Kjaer Willendrup) Date: Tue, 21 Jun 2005 15:23:53 +0200 (CEST) Subject: [neutron-mc] Other problems with Powder modules In-Reply-To: <57BFD82EEF0CDE41A72C4EDADF8A01B2946BED@exchange27.fed.cclrc.ac.uk> References: <57BFD82EEF0CDE41A72C4EDADF8A01B2946BED@exchange27.fed.cclrc.ac.uk> Message-ID: Hello Laurent, On Thu, 31 Mar 2005, Chapon, LC (Laurent) wrote: > my_s_v2 = PI*PI*PI*pack*DW/(Vc*Vc*V2K*V2K)*(j_1*F2_1/q_1) is not quite > right. I think a factor 4 is missing, it should be 4PI^3. You are absolutely right! The error is beeing fixed in CVS as we speak, to appear in the next release. Thanks for reporting this! Peter -- ------------------------------------- Peter Kjaer Willendrup, Cand. Scient Phone: (+45) 46 77 58 62 email: peter.willendrup at risoe.dk -------------------------------------