<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body dir="auto">
<div>Hi Krunoslav,</div>
<div><br>
</div>
<div>Yes, you need a Perl, we recommend strawberry Perl and provide a set of extensions for that - so you should re-run the tools-installer after installing Perl.</div>
<div><br>
</div>
<div>As I remember, all needed dependencies for running the various tools are described in the README inside the .zip you downloaded. (Perhaps not completely clearly written, but it's there.)</div>
<div><br>
</div>
<div>Best and hope this helps,</div>
<div><br>
</div>
<div>Peter</div>
<div><br>
<div>
<div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; background-color: rgba(255, 255, 255, 0);"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: collapse; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; ">
<div style="height: 36.986668px !important; ">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="400" style="width: 300px !important; border-collapse: collapse; position: static; z-index: auto; height: 38px !important; -webkit-transform-origin: 0px 0px !important; -webkit-transform: scale(0.973333) !important; margin: 0px -7px -1px 0px !important; ">
<tbody>
<tr>
<td width="357" valign="top" style="width: 267.5pt; padding: 0cm; ">
<div style="margin: 0cm 0cm 0.0001pt; "><b>Technical University of Denmark<o:p></o:p></b></div>
</td>
<td width="43" rowspan="8" valign="top" style="width: 32.5pt; padding: 0cm; "><br>
</td>
</tr>
</tbody>
</table>
</div>
</span></span></span></span><span class="Apple-style-span" style="border-spacing: 0px; border-collapse: separate; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: collapse; "><br>
</span></span></span></span></span></span></span><span class="Apple-style-span" style="border-collapse: collapse; ">
<div style="height: 114.610001px !important; ">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="400" style="width: 400px !important; border-collapse: collapse; position: static; z-index: auto; height: 157px !important; -webkit-transform-origin: 0px 0px !important; -webkit-transform: scale(0.73) !important; margin: 0px -107px -42px 0px !important; ">
<tbody>
<tr>
<td width="400" colspan="2" valign="top" style="width: 300pt; padding: 0cm 0cm 3.75pt; ">
<div style="margin: 0cm 0cm 0.0001pt; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; ">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="400" style="width: 300pt; border-collapse: collapse; position: static; z-index: auto; ">
<tbody>
<tr>
<td style="padding: 0cm; ">
<div style="margin: 0cm 0cm 0.0001pt; "><b>Department of</b><b> Physics</b><o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; "><i>Neutrons and X-rays for Materials Physics</i></div>
<div style="margin: 0cm 0cm 0.0001pt; ">Fysikvej</div>
</td>
</tr>
<tr>
<td style="padding: 0cm; ">
<div style="margin: 0cm 0cm 0.0001pt; "><a href="x-apple-data-detectors://1/0" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="1/0">Building 307</a><o:p></o:p></div>
</td>
</tr>
<tr>
<td style="padding: 0cm; ">
<div style="margin: 0cm 0cm 0.0001pt; "><a href="x-apple-data-detectors://1/0" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="1/0">DK-2800 Kongens Lyngby</a><o:p></o:p></div>
</td>
</tr>
<tr>
<td style="padding: 0cm; ">
<div style="margin: 0cm 0cm 0.0001pt; ">Direct <a href="tel:+45%202125%204612" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="1/1">+45 2125 4612</a><o:p></o:p></div>
</td>
</tr>
<tr>
<td style="padding: 0cm; ">
<div style="margin: 0cm 0cm 0.0001pt; ">Mobil <a href="tel:+45%202125%204612" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="1/2">+45 2125 4612</a><o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; ">Fax <a href="tel:+45%204593%202399" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="1/3">+45 4593 2399</a><o:p></o:p></div>
</td>
</tr>
</tbody>
</table>
</span></div>
</td>
</tr>
</tbody>
</table>
</div>
</span><span class="Apple-style-span" style="border-spacing: 0px; border-collapse: separate; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: collapse; "><a href="mailto:pkwi@fysik.dtu.dk">pkwi@fysik.dtu.dk</a></span></span></span></span></span></span></span></div>
</div>
<p x-apple-mail="wrapper"><br>
</p>
<div><br>
</div>
<span style="font-family: Helvetica; font-size: medium; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: auto; "></span></div>
<div><br>
Den 20/03/2013 kl. 14.46 skrev "Krunoslav Prsa" <<a href="mailto:krunoslav.prsa@epfl.ch">krunoslav.prsa@epfl.ch</a>>:<br>
<br>
</div>
<blockquote type="cite">
<div><span>Dear Eric,</span><br>
<span>Thanks for your quick reply.</span><br>
<span></span><br>
<span>However, that doesn't work for me. I installed the first three and I indeed get the mcgui and mcshell shortcuts on the desktop. However I receive the following error (see screenshot)</span><br>
<span>"Windows can't open this file File: mcgui.pl"</span><br>
<span>I guess I should either install Perl (if it is not contained in the installation?) or add something to the "path" system variable?</span><br>
<span></span><br>
<span>Best wishes and once again thanks!</span><br>
<span>Kruno</span><br>
<span></span><br>
<span></span><br>
<span>-----Original Message-----</span><br>
<span>From: Erik Bergbäck Knudsen [<a href="mailto:erkn@fysik.dtu.dk">mailto:erkn@fysik.dtu.dk</a>]
</span><br>
<span>Sent: 20 March 2013 13:56</span><br>
<span>To: Krunoslav Prsa</span><br>
<span>Cc: <a href="mailto:mcstas-users@mcstas.org">mcstas-users@mcstas.org</a></span><br>
<span>Subject: Re: [mcstas-users] Clear instructions for 64-bit windows installation needed</span><br>
<span></span><br>
<span>Dear Krunoslav,</span><br>
<span></span><br>
<span>I am very sorry to hear that you're having problems installing McStas.</span><br>
<span>We shall do our very best to help you.</span><br>
<span></span><br>
<span>Perhaps a little bit of background is warranted. It was decide to move to a modular installation with several packages for McStas 2.0 for various reasons. Firstly, it would allow the more frequent updates to the component library to be made available
to the users without waiting for a new kernel release. Secondly, it allows users to install kernel and components without installing GUI and plotting tools, should they wish to do so. (Frequently the case on cluster installations). Thirdly, it allows users
to replace the old perl based tools with the newly developed python tools with additional features. Sadly this has also caused confusion among users as we've perhaps not documented the procedure sufficiently.</span><br>
<span></span><br>
<span>Indeed, the now obsolescent McStas 1.12 series never explicitly supported 64 bit windows - but has been reported to work (albeit slowly) in many cases anyway.</span><br>
<span></span><br>
<span>McStas 2.0 introduced native 64bit support for windows also. The zip-bundle indeed contains several installer packages, namely:</span><br>
<span>- mcstas-NSIS-2.0-mingw64.exe</span><br>
<span> this is the kernel self-extracting installer</span><br>
<span>- mcstas-comps-NSIS-2.0-mingw64.exe</span><br>
<span> this is the component library self extracting installer</span><br>
<span>- mcstas-2.0-win64/mcstas-tools-perl-NSIS-2.0-mingw64.exe</span><br>
<span> self extracting installer containing the McStas GUI and perl based tools as you know them from McStas 1.x</span><br>
<span>- mcstas-tools-python-mcrun-NSIS-2.0-mingw64.exe</span><br>
<span> installer containing the python based mcrun.</span><br>
<span>- mcstas-tools-python-mcplot-matplotlib-NSIS-2.0-mingw64.exe</span><br>
<span> installer containing the python based mcplot with matplotlib-backend</span><br>
<span>- mcstas-tools-python-mcplot-chaco-NSIS-2.0-mingw64.exe</span><br>
<span> installer containing the python based mcplot with chaco-backend</span><br>
<span></span><br>
<span>Each of these should be double-clicked which then starts a standard windows installation procedure, with checks for dependencies etc.</span><br>
<span>If you just want a McStas-installation as you knew it from 1.12 then you should simply install kernel, components and perl tools.</span><br>
<span>As a result you should now have two icons on your desktop: mcgui-2.0 and mcstas-shell-2.0. Double-clicking mcgui starts the GUI and mcstas-shell starts a command prompt with environment variables set for running mcstas smoothly. This includes adding the
mcstas directory to the PATH environment variable.</span><br>
<span></span><br>
<span>Instructions such as above for installing McStas on windows should definitely be put on the webpage _and_ in the README. We will see to it asap. Thanks for suggesting.</span><br>
<span></span><br>
<span>I hope what I've just written goes some way to allay your frustrations.</span><br>
<span>If not, please just ask. We're always happy to receive suggestions for improving McStas.
</span><br>
<span></span><br>
<span>cheers</span><br>
<span>Erik</span><br>
<span></span><br>
<span>On Wed, 2013-03-20 at 12:03 +0000, Krunoslav Prsa wrote:</span><br>
<blockquote type="cite"><span>Hello all,</span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span>I am a very fresh user of McStas. I am having troubles getting McStas to work on my computer (Windows 64 bit).</span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span>1) There is a simple installation file for windows for McStas version <= 1.12, however, there seems to be a problem (I get an error popup) with compatibility of c compiler cc.exe and 64 bit windows which I would expect everybody
has nowadays.</span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span>2) Newer incarnations have 64 bit versions, however, at least the newest one (2.0) is a zip file consisting of several .exe files which don't actually give you a program once you install all of them. I have no idea whatsoever
how this is supposed to be installed.</span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span>3) There are no contemporary installation instructions for Windows on the McStas webpage. Would it be possible to have them, at least in the README file within the installation zip file?</span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span>4) There seem to be some instructions on one of the mailing list's previous threads, but, since it is spread over several emails, I cannot really understand in which order to do what.</span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span>I understand that McStas is a complex program that took quite a few of man-years of volunteers' work to develop. It would still be extremely useful if the windows developer(s) or at least one of the more experienced users would
invest 5 minutes to write 10 sentences about the order of installation of exe files and how to run the (gui) program afterwards. It would really save newbies like me a bit of initial frustration.</span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span>Best wishes from Lausanne,</span><br>
</blockquote>
<blockquote type="cite"><span>Kruno</span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span>------</span><br>
</blockquote>
<blockquote type="cite"><span>Dr. Krunoslav Prsa, Postdoc</span><br>
</blockquote>
<blockquote type="cite"><span>Laboratory for Quantum Magnetism,</span><br>
</blockquote>
<blockquote type="cite"><span>École Polytechnique Fédérale de Lausanne</span><br>
</blockquote>
<blockquote type="cite"><span>-----</span><br>
</blockquote>
<blockquote type="cite"><span><a href="mailto:krunoslav.prsa@epfl.ch">krunoslav.prsa@epfl.ch</a><<a href="mailto:krunoslav.prsa@epfl.ch">mailto:krunoslav.prsa@epfl.ch</a>></span><br>
</blockquote>
<blockquote type="cite"><span><a href="http://lqm.epfl.ch<http://lqm.epfl.ch/>">http://lqm.epfl.ch<http://lqm.epfl.ch/></a></span><br>
</blockquote>
<blockquote type="cite"><span>-----</span><br>
</blockquote>
<blockquote type="cite"><span>Office: +41 21 69 35407</span><br>
</blockquote>
<blockquote type="cite"><span>Mobile: +41 76 38 61799</span><br>
</blockquote>
<blockquote type="cite"><span>-----</span><br>
</blockquote>
<blockquote type="cite"><span>EPFL SB ICMP LQM</span><br>
</blockquote>
<blockquote type="cite"><span>PH D2 375 (Bâtiment PH)</span><br>
</blockquote>
<blockquote type="cite"><span>Station 3</span><br>
</blockquote>
<blockquote type="cite"><span>CH-1015 Lausanne</span><br>
</blockquote>
<blockquote type="cite"><span>-----</span><br>
</blockquote>
<blockquote type="cite"><span><a href="http://plan.epfl.ch/?room=PHD2375">http://plan.epfl.ch/?room=PHD2375</a></span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span>_______________________________________________</span><br>
</blockquote>
<blockquote type="cite"><span>mcstas-users mailing list</span><br>
</blockquote>
<blockquote type="cite"><span><a href="mailto:mcstas-users@mcstas.org">mcstas-users@mcstas.org</a></span><br>
</blockquote>
<blockquote type="cite"><span><a href="http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users">http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users</a></span><br>
</blockquote>
<span></span><br>
<span>-- </span><br>
<span>Erik Bergbäck Knudsen, Scientist | DTU | morituri</span><br>
<span>NEXMAP, DTU Fysik, DK-2800 Kgs. Lyngby, Denmark |<>-<>| te</span><br>
<span>phone: (+45) 2132 6655, mobile: (+45) 3123 6184 |<>-<>| salutant</span><br>
<span></span><br>
</div>
</blockquote>
<blockquote type="cite">
<div><error_mcgui.jpg></div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>mcstas-users mailing list</span><br>
<span><a href="mailto:mcstas-users@mcstas.org">mcstas-users@mcstas.org</a></span><br>
<span><a href="http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users">http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users</a></span><br>
</div>
</blockquote>
</body>
</html>