<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Hector,<div><br></div><div><br></div><div>Thanks for pointing this out - it is indeed a bug. A ticket has been created on our Trac to fix this: <a href="http://trac.mccode.org/ticket/32">http://trac.mccode.org/ticket/32</a></div><div><br></div><div>I just had a quick look:</div><div><br></div><div>The problem seems to be there across platforms. - And is likely related to the test running inside the mcgui perl shell, with improper initialization of variables as a result, as you point out with zero ncount's.</div><div><br></div><div>As you point out, mcrun --test works, and hence you can safely trust your simulations.</div><div><br></div><div>Sorry for the inconvenience and thanks again for pointing out the problem.</div><div><br></div><div><br></div><div>Best regards,</div><div><br></div><div>Peter Willendrup</div><div><br></div><div><div><span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--<br>-------------------------------------------------------------------<br>Peter Willendrup - Development engineer<br><br>RISØ DTU<br>Materials Research Division<br>Frederiksborgvej 399<br>DK-4000 Roskilde<br><br>Tlf.: (+45) 4677 5862<br>Mobil.: (+45) 2125 4612</div><div>Fax.: (+45) 4766 5758</div><div>Email: <a href="mailto:pkwi@risoe.dtu.dk">pkwi@risoe.dtu.dk</a></div><div>-------------------------------------------------------------------<br></div><div><br></div></div></span></div></span></div></span></div></div><div><br><div><div>On 11/10/2010, at 13.29, Santos-Villalobos, Hector J. wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Dear all,<br>
<br>
Thanks for all your effort on McStas. Forgive me, if my problem was already posted/solved in a previous thread. I searched the mailing list for an answer, but could not find a solution. <br>
<br>
THE PROBLEM: When I run the self-test from McGui the test fails. However, when I run the test from “mcrun --test” the test succeeds. I noticed that McGui self-test has the “single” and “scan” parameters set to zero; while mcrun sets the parameters to 10,000 and 1000, respectively. Below is the output from the self-test ran from McGui. I’m running McGui on 64-bit MacOS Snow Leopard. I believe this is an installation issue, or a configuration file issue. I would like to solve this problem, so I can be sure that the simulations are correct.<br>
<br>
Thanks,<br>
Hector Santos<br>
<br>
# McStas self-test (mcrun --test='compatible graphics')<br>
McStas version 1.12b - Jul. 15, 2010<br>
<br>
# Installing 'selftest' directory in /Users/hv5<br>
# Copying instruments from /usr/local/lib/mcstas/examples/<br>
# Counts: single=0, scans=0<br>
# Output format: McStas<br>
# Start Date: Mon Oct 11 10:40:36 2010<br>
Executing: mcrun --dir=prisma2a prisma2.instr --ncount=0 TT=-30 PHA=22 PHA1=-3 PHA2=-2 PHA3=-1 PHA4=0 PHA5=1 PHA6=2 PHA7=3 TTA=44<br>
[FAILED] ISIS prisma2: in focusing mode: (256): <br>
Executing: mcplot -psc linup_1_45<br>
[Warning] Plot of Scan of parameters with Risoe TAS1 monochromator rocking curve (no collimator): (512): <br>
[FAILED] Plot of Scan of parameters with Risoe TAS1 monochromator rocking curve (no collimator)<br>
Executing: mcplot -psc h8_test<br>
[Warning] Plot of Single simulation with Brookhaven H8 Termal TAS with vanadium sample: (512): <br>
[FAILED] Plot of Single simulation with Brookhaven H8 Termal TAS with vanadium sample<br>
# Installation check: FAILED. McStas has not been properly installed.<br>
# >> Check that you have a C compiler, perl, and perl-Tk installed.<br>
# End Date: Mon Oct 11 10:40:38 2010<br>
<br>
</span></font>
</div>
_______________________________________________<br>mcstas-users mailing list<br><a href="mailto:mcstas-users@mcstas.org">mcstas-users@mcstas.org</a><br>http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users<br></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-size: medium;"><br></span></div></div></span></div></span></div></span></span></div></div></body></html>