From spb46 at cam.ac.uk Sun Oct 11 16:32:09 2009 From: spb46 at cam.ac.uk (spb46 at cam.ac.uk) Date: Sun, 11 Oct 2009 15:32:09 +0100 Subject: [mcstas-users] The Difference between PowderN and Isotropic SQW Message-ID: Hello, I have been using the PowderN and Isotropic_SQW for some powder scattering simulations, and they seem to give functionally identical results. Should I be using one rather than the other? Stephen Begley. From farhi at ill.fr Sun Oct 11 22:39:49 2009 From: farhi at ill.fr (Emmanuel FARHI) Date: Sun, 11 Oct 2009 22:39:49 +0200 (CEST) Subject: [mcstas-users] The Difference between PowderN and Isotropic SQW In-Reply-To: References: Message-ID: <39231.193.49.43.111.1255293589.squirrel@195.83.126.3> Hi Stephen the PowderN is slightly faster than Iso Sqw, but this latter can also handle multiple scattering. Also, Sqw was initially designed for liquids, and was adapted for powders. Depending on the initial F2(q) range specified in the powder struture file (Lau, Laz, Fullprof...) Sqw may miss some events if it does not fit the available dynamic range (which depends on incident energy). I would recommend PowderN still for most cases. Emmanuel. > Hello, > I have been using the PowderN and Isotropic_SQW for some powder > scattering simulations, and they seem to give functionally identical > results. Should I be using one rather than the other? > > Stephen Begley. > _______________________________________________ > mcstas-users mailing list > mcstas-users at mcstas.org > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users > -- FARHI Emmanuel Groupe DS/CS, ILL4/156, Tel 04 76 20 71 35 ILL, Grenoble From daniel.hussey at nist.gov Fri Oct 16 22:10:00 2009 From: daniel.hussey at nist.gov (Hussey, Daniel S.) Date: Fri, 16 Oct 2009 16:10:00 -0400 Subject: [mcstas-users] installation... Message-ID: Sorry to send this to the list, but my message to mcstas at risoe.dk was bounced by Riso.... I'm having some problems with installing...I've tried to install on Windows XP, 32-bit and 64-bit systems. I used the McStas-1.12a-i686-Win32.exe, and clicked "Next" all the way through, accepting the defaults. When I execute the "Test McStas Installation" in the Help menu, I get the following output in the Mcgui: Plotters: Scilab PGPLOT/McStas HTML VRML Clustering methods: Single Threads # McStas self-test (mcrun --test='compatible graphics') McStas version 1.12a - Apr. 02, 2009 # Installing 'selftest' directory in C:/DOCUME~1/hussey/LOCALS~1/Temp # Copying instruments from C:\McStas\lib/examples/ # Counts: single=0, scans=0 # Output format: PGPLOT # Start Date: Fri Oct 16 15:43:27 2009 Executing: mcrun.pl --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 [FAILED] ISIS prisma2: in focusing mode: (256): Bad file descriptor Executing: mcplot.pl -psc linup_1_45 [Warning] Plot of Scan of parameters with Risoe TAS1 monochromator rocking curve (no collimator): (512): [FAILED] Plot of Scan of parameters with Risoe TAS1 monochromator rocking curve (no collimator) Executing: mcplot.pl -psc h8_test [Warning] Plot of Single simulation with Brookhaven H8 Termal TAS with vanadium sample: (512): [FAILED] Plot of Single simulation with Brookhaven H8 Termal TAS with vanadium sample # Installation check: FAILED. McStas has not been properly installed. # >> Check that you have a C compiler, perl, and perl-Tk installed. # End Date: Fri Oct 16 15:43:28 2009 And the following messages in the c-console: Use of uninitialized value $dir in pattern match (m//) at C:\McStas\lib/tools/perl/mcrunlib.pl line 241. 'no' is not recognized as an internal or external command, operable program or batch file. ** Error exit ** Could not open file 'linup_1_45.sim' at C:\McStas\lib/tools/perl/mcfrontlib.pl l ine 299, line 387. Could not open file 'h8_test.sim' at C:\McStas\lib/tools/perl/mcfrontlib.pl line 299, line 387. Any ideas on how to make the install work???? Cheers- Dan From pkwi at risoe.dtu.dk Sat Oct 17 09:23:21 2009 From: pkwi at risoe.dtu.dk (Peter Willendrup) Date: Sat, 17 Oct 2009 09:23:21 +0200 Subject: [mcstas-users] installation... In-Reply-To: References: Message-ID: <8D8AD83E-148B-4844-BBCD-B0B0D89A0D84@risoe.dtu.dk> Hello Daniel, On 16/10/2009, at 22.10, Hussey, Daniel S. wrote: > I'm having some problems with installing...I've tried to install on > Windows XP, 32-bit and 64-bit systems. I used the McStas-1.12a-i686- > Win32.exe, and clicked "Next" all the way through, accepting the > defaults. When I execute the "Test McStas Installation" in the Help > menu, I get the following output in the Mcgui: This is actually a known problem - but probably has not been documented properly - sorry about that! Testing the installation from mcgui is broken in Windows. Instead try running mcrun --test from a windows command window (cmd.exe). This however, does not test the production of graphics. If you want to test graphical output, please: 1) Pick Neutron_Site->Brookhaven->h8_test from the menu system in mcgui. 2) Press run for compilation, run again for simulation and assume defaults 3) After the simulation finishes, press plot and you should get something like the attached graphics. Hope this helps, Peter -- ------------------------------------------------------------------- Peter Willendrup - Development engineer RIS? DTU Materials Research Division Frederiksborgvej 399 DK-4000 Roskilde Tlf.: (+45) 4677 5862 Mobil.: (+45) 2125 4612 Fax.: (+45) 4766 5758 Email: pkwi at risoe.dtu.dk ------------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: mcplot_win32.png Type: image/png Size: 30400 bytes Desc: not available URL: From G.Burca at open.ac.uk Wed Nov 4 09:48:37 2009 From: G.Burca at open.ac.uk (Genoveva Burca) Date: Wed, 04 Nov 2009 08:48:37 GMT Subject: [mcstas-users] PSD monitor Message-ID: Dear all, Could you please tell me what is being plotted on the PSD plots? What do the colours represent: flux, intensity or counted neutrons? Thank you very much! Best wishes, Geno The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at risoe.dtu.dk Wed Nov 4 12:31:33 2009 From: pkwi at risoe.dtu.dk (Peter Willendrup) Date: Wed, 04 Nov 2009 12:31:33 +0100 Subject: [mcstas-users] PSD monitor In-Reply-To: References: Message-ID: <43CF8053-08A4-489C-A2A4-69DF5C5C9514@risoe.dtu.dk> Hello Geno, What is plotted is the intensity (i.e. the sum of the monte-carlo weight 'p' of the arriving neutron rays). Intensities in McStas are always 'per time-unit', i.e. a kind of flux. The normalization of course depends on what starting value of the neutron weight is assigned in the source component. For further information, please consult chapter 4 in the McStas users manual. Best regards, Peter Willendrup -- ------------------------------------------------------------------- Peter Willendrup - Development engineer RIS? DTU Materials Research Division Frederiksborgvej 399 DK-4000 Roskilde Tlf.: (+45) 4677 5862 Mobil.: (+45) 2125 4612 Fax.: (+45) 4766 5758 Email: pkwi at risoe.dtu.dk ------------------------------------------------------------------- On 04/11/2009, at 09.48, Genoveva Burca wrote: > > > Dear all, > > Could you please tell me what is being plotted on the PSD plots? > What do the colours represent: flux, intensity or counted neutrons? > > Thank you very much! > > Best wishes, > > Geno > > The Open University is incorporated by Royal Charter (RC 000391), an > exempt charity in England & Wales and a charity registered in > Scotland (SC 038302). > _______________________________________________ > mcstas-users mailing list > mcstas-users at mcstas.org > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at risoe.dtu.dk Tue Dec 8 10:00:39 2009 From: pkwi at risoe.dtu.dk (Peter Willendrup) Date: Tue, 08 Dec 2009 10:00:39 +0100 Subject: [mcstas-users] Ubuntu 9.10 and McStas 1.12a Message-ID: <84823C11-15B9-4D59-BAFF-90DD252597A8@risoe.dtu.dk> Hello everyone, People running Ubuntu versions prior to 9.10 and McStas installed from the mcstas-1.12a.deb debian package are adviced NOT TO UPGRADE Ubuntu, as PGPLOT/Fortran related package dependencies can not easily be resolved. If you upgrade anyway or install from scratch on Ubuntu 9.10, the easiest way of getting McStas 1.12a working is: 1) Install certain Ubuntu packages: apt-get install gcc gfortran pdl pgplot5 libpgplot-perl perl-tk make (optionally also mpich2 libmpich2-dev) 2) Run sudo dpkg-reconfigure dash, say "no" to installing dash as /bin/sh 2) Get the mcstas-1.12a-src.tar.gz package via http://www.mcstas.org/downloads/mcstas-1.12a-src.tar.gz 3) Unpack, build and install by tar xzf mcstas-1.12a-src.tar.gz cd mcstas-1.12a ./configure make sudo make install Alternatively, wait 1-2 months and McStas 2.0 should be ready. Best regards, Peter Willendrup -- ------------------------------------------------------------------- Peter Willendrup - Development engineer RIS? DTU Materials Research Division Frederiksborgvej 399 DK-4000 Roskilde Tlf.: (+45) 4677 5862 Mobil.: (+45) 2125 4612 Fax.: (+45) 4766 5758 Email: pkwi at risoe.dtu.dk -------------------------------------------------------------------