From simsima_b at yahoo.fr Thu Jul 3 12:12:45 2014 From: simsima_b at yahoo.fr (Simsima Bouali) Date: Thu, 3 Jul 2014 11:12:45 +0100 Subject: [mcstas-users] simulation doesn't work Message-ID: <1404382365.4104.YahooMailBasic@web173204.mail.ir2.yahoo.com> Dear All I have a problem with running my McStas simulation, I have just began with inserting the source and a PSD monitor but unfortunately I didn?t get the window with the questions on the simulation to choose my own parameters. The message that I have received is ?only a single instrument may be given (C document, and)?. Please I would be grateful if someone can help me to find out where is the mistake. Best regards From farhi at ill.eu Thu Jul 3 12:13:23 2014 From: farhi at ill.eu (Emmanuel FARHI) Date: Thu, 03 Jul 2014 12:13:23 +0200 Subject: [mcstas-users] simulation doesn't work In-Reply-To: <1404382365.4104.YahooMailBasic@web173204.mail.ir2.yahoo.com> References: <1404382365.4104.YahooMailBasic@web173204.mail.ir2.yahoo.com> Message-ID: <53B52CC3.9020901@ill.eu> Hello Simsina, You should not store the instrument description in a folder/path that contains 'spaces'. This is unfortunately the case under Windows with the 'Documents and Settings' which contains user accounts. Better use the c:\mcstas directory as work location. Emmanuel. On 07/03/2014 12:12 PM, Simsima Bouali wrote: > Dear All > > I have a problem with running my McStas simulation, I have just began with inserting the source and a PSD monitor but unfortunately I didn?t get the window with the questions on the simulation to choose my own parameters. The message that I have received is ?only a single instrument may be given (C document, and)?. > Please I would be grateful if someone can help me to find out where is the mistake. > > Best regards > > _______________________________________________ > mcstas-users mailing list > mcstas-users at mcstas.org > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users -- Emmanuel FARHI,www.ill.eu/computing/people/emmanuel-farhi \|/ ____ \|/ CS-Group ILL4/221, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~ 6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\ Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 48 39 06 \__U_/ From pkwi at fysik.dtu.dk Thu Jul 3 15:47:52 2014 From: pkwi at fysik.dtu.dk (=?iso-8859-1?Q?Peter_Kj=E6r_Willendrup?=) Date: Thu, 3 Jul 2014 13:47:52 +0000 Subject: [mcstas-users] Job advert - Senior Beamline Scientist/Engineer at ESS References: Message-ID: <0E7E6BB4-9AAF-4051-BE05-C97DDEF70B47@fysik.dtu.dk> Dear all, I apologise in advance - the information below is not relevant for every McStas user, but I thought you are a few out there that could be interested in the ESS job mentioned below. Best regards, Peter Willendrup Begin forwarded message: From: Kristina Bacos > Subject: [Neutron] Senior Beamline Scientist/Engineer at ESS Date: 2 Jul 2014 17:02:28 GMT+2 To: "neutron at neutronsources.org" > The Science Directorate at the European Spallation Source (ESS) in Lund, Sweden, invites applications for a Senior Beamline Scientist/Engineer position. Description of group The neutron optics and shielding group at the ESS is responsible for designing and optimizing the neutron optical systems that transport the neutrons from the moderator to the neutron spectrometer sample position. The optics technology involved will involve neutron guides, polarizing mirrors, helium 3 analyzer cells, collimation devices, diffractive elements such as monochromators, etc. Description of main responsibilities The successful candidate will be an expert in optimizing neutron beams, their shielding, and the instrument backgrounds, and will work with the rest of the neutron optics group and the instrument teams to ensure that the neutron instrument performance achieves the maximum possible performance with the minimum possible background noise. This will require modeling the ESS beam systems right into the instruments, drawing input from the accelerator and target groups, and including all important physics processes between GeV down to eV energy ranges. Qualifications * A track record of cradle-to-grave neutron instrument modeling, from source to sample, with background evaluation and minimization. * Knowledge of nuclear physics processes from eV to GeV energy ranges, and how they contribute to instrument backgrounds at spallation neutron sources. * Multiple years of experience in the use of monte carlo simulations in MCNPX, GEANT4 and similar packages on neutron instrumentation. * Deep knowledge of optimization of these nuclear codes for speed of execution, and the coupling of these packages with metaheuristic search strategies. * Validated results from constructed, running hardware, and a good agreement between the performance of the models and of the as-built system. * The ability to write high quality, reliable code in modern object-oriented languages, especially C++. * Experience of working in an international environment. * Excellent oral and written English skills are a prerequisite; knowledge of other European languages would be an advantage. We truly believe that to enjoy and perform in this position, you consider these following competencies as a significant part of your character: You enjoy working on difficult, technical problems in teams, but nonetheless you are able to take ownership of a complex problem and use your initiative to find novel solutions. Good communication skills with the ability to resolve discussions when a project is under pressure. Strong analytical approach, with a focus on logic, and the ability to think outside the box, to develop new technology and ideas without simply copying existing concepts. The position is permanent with six months initial probationary period or a temporary two-years position depending on applicant. What ESS can offer At ESS we offer people with talent and passion a unique opportunity to be involved in the development and building of a world leading facility for materials research. Besides attractive employment and relocation conditions, the flexibility to balance work life with private life and good opportunities to further enhance your skills; you will also enjoy being part of an organizational culture that promotes and supports internal career growth. We pride ourselves in having successful collaboration across different functions, and as the facility continues to grow we will keep nurturing the international and vibrant environment welcoming people from all across the world. Application & Contact You will find the application on our webpage, http://europeanspallationsource.se Please provide your curriculum vitae and covering letter in English. Please note we only accept applications via the ESS website. The deadline for applications is 17th of August 2014. For further information regarding the position please contact Phillip Bentley, phillip.bentley[at]esss.se and for further information regarding the recruitment process, please contact HR Officer, Kristina Bacos, kristina.bacos[at]esss.se. We look forward to receiving your application. ______________________________________ Kristina Bacos HR Officer/Recruitment Partner European Spallation Source ESS AB P.O Box 176, SE-221 00 Lund, Sweden Visiting address: Tunav?gen 24 Mobile: +46 72 179 22 76 Phone: +46 46 888 32 76 E-mail: kristina.bacos at esss.se [cid:02D2EB2D-9ED3-49C2-B720-38CEE240210A] [unknown.png] www.esss.se The European Spallation Source is a Partnership of 17 European Nations committed to the goal of collectively building and operating the world's leading facility for research using neutrons by the second quarter of the 21st Century _______________________________________________ Neutron mailing list Neutron at neutronsources.org http://neutronsources.org/mailman/listinfo/neutron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 33A15C78-4922-46B6-BD2A-B437F5DBE3F1[10].png Type: image/png Size: 12199 bytes Desc: 33A15C78-4922-46B6-BD2A-B437F5DBE3F1[10].png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: AFF36EB0-6E7F-4422-AE52-0CB85DCFEEE1[10].png Type: image/png Size: 7596 bytes Desc: AFF36EB0-6E7F-4422-AE52-0CB85DCFEEE1[10].png URL: From pkwi at fysik.dtu.dk Thu Jul 17 16:42:53 2014 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Thu, 17 Jul 2014 14:42:53 +0000 Subject: [mcstas-users] Updated ESS source component available Message-ID: Dear McStas users, Unfortunately we are still hunting a few bugs in the development tree, and are (still!!) not ready to release the official McStas 2.1. In the meantime, those of you simulating ESS instruments can try out our new ESS moderator component, available through the download share (http://www.mcstas.org/download/share) for use with both McStas 2.x and 1.12c. The component comes with a library of ESS source brilliances, including: ? 2001, legacy "Mezei moderators" from the original F. Mezei documents, rescaled to ESS TDR frequency, pulselength and power. ? TDR, Mezei moderators, with a wavelength-dependent correction term to the cold flux, derived from 2012 MCNPX calculations by ESS neutronics group. Corrections calculated by K Lieutenant (Vitess) NOTE: uses the 2001 brilliance for the thermal moderator! ? 2013, post-TDR update with non-Maxwellian cold spectrum, Troels Schoenfeldt, BEFORE the ESS pancake geometry was introduced. ? 2014 updated brilliance using formulation by Troels Schoenfeldt, including support for the "pancacke", i.e. flat geometry and geometrical brilliance variation over the moderator surface. An important detail about the 2014-pancake moderator is that the component origin is NOT at the centre of the cylindrical cold source, but instead at the middle of the front face of the cylinder. For technical reasons, neutrons are in this case propagated from a tangential plane through that point. ? We further provide a set of example instruments for producing curves corresponding to each of the brilliance settings. ? ... as well as an updated version of the Brilliance_monitor.comp, allowing multiple instances within an instrument file We hope you will find this useful even though the official McStas 2.1 is still pending? Vacation greetings on behalf of the McStas team Peter Willendrup Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0] Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 58 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1055 bytes Desc: image002.gif URL: From jesuspedrodevicente at gmail.com Mon Sep 8 17:13:22 2014 From: jesuspedrodevicente at gmail.com (=?UTF-8?Q?Jes=C3=BAs_P=2E_de_Vicente?=) Date: Mon, 8 Sep 2014 17:13:22 +0200 Subject: [mcstas-users] About Silicon analyzer Message-ID: Dear McStas team, I am trying to perform simulations with a silicon analyzer. I use the *Single_crystal* component. For graphite material everything works fine: // *PG* ************************* mosaic = 48, reflections = "C_graphite.lau", barns=0, ax=0, ay=2.14, az=-1.24, bx = 0, by = 0, bz = 2.47, cx = 6.71, cy = 0, cz = 0, sigma_abs = 0.014, sigma_inc = 0.004, //************************** But I do not get to work with silicon material. I use the following syntax: // *Si* ************************* reflections = "Si.lau", barns=0, mosaic = 0.1, delta_d_d = 3.10e-4, sigma_abs = 0.171, sigma_inc = 0.004, ax = 2.715, ay = 2.715, az = 0.0, bx = 0.0, by = 2.715, bz = 2.715, cx = 2.715, cy = 0.0, cz = 2.715, //************************** I built a Si.lau file from the a Si.cif file using Crystallographica software. I have tried lot of configurations, but I got always lot of peaks with the backscatteing configuration. I tried also the simulation without the reflection *.lau file but I have no peaks. Do you know what would be the right way to perform a simulation with a silicon analyzer using the Single_crystal component? Thank you very much for your help. Kind regards. *Jes?s P. de Vicente.-* -------------- next part -------------- An HTML attachment was scrubbed... URL: From erkn at fysik.dtu.dk Tue Sep 9 12:51:33 2014 From: erkn at fysik.dtu.dk (=?windows-1252?Q?Erik_Bergb=E4ck_Knudsen?=) Date: Tue, 9 Sep 2014 12:51:33 +0200 Subject: [mcstas-users] About Silicon analyzer In-Reply-To: References: Message-ID: <540EDBB5.10508@fysik.dtu.dk> Dear Jesus, I believe there could be something wrong with your definition of unit cell vectors for Si. For instance, in your case, the angle between a and b is 60 deg. which does not fit with the cubic structure that Si generally exhibits. I'm not sure about the lengths of the unit cell vectors either: |a| = 3.84 ? does not seem right. To simply exclude the .lau file from the crystal definition will have the effect of completely disregarding coherent scattering in the simulation - you will therefore only see the contribution from incoherent scattering, which is probably not what you intended. To tell you exactly what the _right_ way to use Single_crystal as an analyzer is very difficult, as there are many ways. We'd be happy to help you find the right way for you, but to do so, we will need more details on what it is you're actually trying to do. If you attach a copy of the .instr file and whatever extra files that are needed to run your simulation we may be able to help you accomplish your task. kind regards and happy simulating Erik B Knudsen On 09/08/2014 05:13 PM, Jes?s P. de Vicente wrote: > Dear McStas team, > > I am trying to perform simulations with a silicon analyzer. > > I use the *Single_crystal* component. For graphite material everything > works fine: > // *PG* ************************* > mosaic = 48, > reflections = "C_graphite.lau", barns=0, > ax=0, ay=2.14, az=-1.24, > bx = 0, by = 0, bz = 2.47, > cx = 6.71, cy = 0, cz = 0, > sigma_abs = 0.014, sigma_inc = 0.004, > //************************** > > But I do not get to work with silicon material. I use the following syntax: > // *Si* ************************* > reflections = "Si.lau", barns=0, > mosaic = 0.1, delta_d_d = 3.10e-4, > sigma_abs = 0.171, sigma_inc = 0.004, > ax = 2.715, ay = 2.715, az = 0.0, > bx = 0.0, by = 2.715, bz = 2.715, > cx = 2.715, cy = 0.0, cz = 2.715, > //************************** > > I built a Si.lau file from the a Si.cif file using Crystallographica > software. > I have tried lot of configurations, but I got always lot of peaks with > the backscatteing configuration. I tried also the simulation without the > reflection *.lau file but I have no peaks. > > Do you know what would be the right way to perform a simulation with a > silicon analyzer using the Single_crystal component? > > Thank you very much for your help. > Kind regards. > > > > *Jes?s P. de Vicente.-* > > > _______________________________________________ > mcstas-users mailing list > mcstas-users at mcstas.org > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users > -- Erik Bergb?ck Knudsen, Research Engineer | DTU | morituri NEXMAP, DTU Fysik, DK-2800 Kgs. Lyngby, Denmark |<>-<>| te phone: (+45) 2132 3151, mobile: (+45) 3123 6184 |<>-<>| salutant From jesuspedrodevicente at gmail.com Tue Sep 9 13:14:47 2014 From: jesuspedrodevicente at gmail.com (=?UTF-8?Q?Jes=C3=BAs_P=2E_de_Vicente?=) Date: Tue, 9 Sep 2014 13:14:47 +0200 Subject: [mcstas-users] About Silicon analyzer In-Reply-To: <540EDBB5.10508@fysik.dtu.dk> References: <540EDBB5.10508@fysik.dtu.dk> Message-ID: Dear Erik, Thank you very much. I appreciate your help. I would like to attach you the *.instr file and the *.lau file. My objective is to simulate the backscattering reflections from the 111 and 311 peaks from silicon. Thank you. Kind regards. *Jes?s P. de Vicente.-* 2014-09-09 12:51 GMT+02:00 Erik Bergb?ck Knudsen : > Dear Jesus, > > I believe there could be something wrong with your definition of unit > cell vectors for Si. For instance, in your case, the angle between a and > b is 60 deg. which does not fit with the cubic structure that Si > generally exhibits. I'm not sure about the lengths of the unit cell > vectors either: |a| = 3.84 ? does not seem right. > > To simply exclude the .lau file from the crystal definition will have > the effect of completely disregarding coherent scattering in the > simulation - you will therefore only see the contribution from > incoherent scattering, which is probably not what you intended. > > To tell you exactly what the _right_ way to use Single_crystal as an > analyzer is very difficult, as there are many ways. We'd be happy to > help you find the right way for you, but to do so, we will need more > details on what it is you're actually trying to do. If you attach a copy > of the .instr file and whatever extra files that are needed to run your > simulation we may be able to help you accomplish your task. > > kind regards and happy simulating > Erik B Knudsen > > On 09/08/2014 05:13 PM, Jes?s P. de Vicente wrote: > > Dear McStas team, > > > > I am trying to perform simulations with a silicon analyzer. > > > > I use the *Single_crystal* component. For graphite material everything > > works fine: > > // *PG* ************************* > > mosaic = 48, > > reflections = "C_graphite.lau", barns=0, > > ax=0, ay=2.14, az=-1.24, > > bx = 0, by = 0, bz = 2.47, > > cx = 6.71, cy = 0, cz = 0, > > sigma_abs = 0.014, sigma_inc = 0.004, > > //************************** > > > > But I do not get to work with silicon material. I use the following > syntax: > > // *Si* ************************* > > reflections = "Si.lau", barns=0, > > mosaic = 0.1, delta_d_d = 3.10e-4, > > sigma_abs = 0.171, sigma_inc = 0.004, > > ax = 2.715, ay = 2.715, az = 0.0, > > bx = 0.0, by = 2.715, bz = 2.715, > > cx = 2.715, cy = 0.0, cz = 2.715, > > //************************** > > > > I built a Si.lau file from the a Si.cif file using Crystallographica > > software. > > I have tried lot of configurations, but I got always lot of peaks with > > the backscatteing configuration. I tried also the simulation without the > > reflection *.lau file but I have no peaks. > > > > Do you know what would be the right way to perform a simulation with a > > silicon analyzer using the Single_crystal component? > > > > Thank you very much for your help. > > Kind regards. > > > > > > > > *Jes?s P. de Vicente.-* > > > > > > _______________________________________________ > > mcstas-users mailing list > > mcstas-users at mcstas.org > > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users > > > > -- > Erik Bergb?ck Knudsen, Research Engineer | DTU | morituri > NEXMAP, DTU Fysik, DK-2800 Kgs. Lyngby, Denmark |<>-<>| te > phone: (+45) 2132 3151, mobile: (+45) 3123 6184 |<>-<>| salutant > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sample.instr Type: application/octet-stream Size: 7036 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Si.lau Type: application/octet-stream Size: 239150 bytes Desc: not available URL: From pkwi at fysik.dtu.dk Fri Sep 12 21:20:26 2014 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Fri, 12 Sep 2014 19:20:26 +0000 Subject: [mcstas-users] The official McStas 2.1 release is finally out! Message-ID: Hello all, The McStas team is finally ready with McStas 2.1 - packages are released and ready for download via http://downloads.mcstas.org/mcstas-2.1 ! A list of selected, important highligts from the release are listed below the email siganture. For the full list of changes, please consult the CHANGES document at http://www.mcstas.org/CHANGES_McStas. The McStas team wish you all the best and happy simulating! Peter Willendrup Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0] Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk ____________________________________ Selected release highlights: ? McStas 2.1 is the second release in the 2.x series and fixes various issues with McStas 2.0, plus provide important new developments. ? IMPORTANT: Please ensure to use our "migration scripts" for McStas 2.0 and 1.12c if you want these to co-exist with 2.1. Also, please read the platform-specific notes! ? General: ? Via NeXus libraries and a new --format=Mantid setting for the mcdisplay tool, we are now able to generate NeXus/HDF files that can be read and treated by Mantid! Mcdisplay generates a Mantid IDF description for embedding in the NeXus file, including the usual McStas instrument geometry. Please read the specific guide for this method, documented in the McStas manual, Chapter 6. ? Use of STATE_PARAMETERS and POLARIZATION parameters is no longer supported! If you have home-grown components using these, you will get this type of error with McStas 2.1: Translating instrument definition 'BNL_H8.instr' into C ... mcstas -t -o BNL_H8.c BNL_H8.instr Compiling simulation BNL_H8.instr Arm.comp is using STATE PARAMETERS mcstas-2.1 does NOT support this keyword. Please remove line 36 mcstas-2.1: 1 Errors encountered during parse of BNL_H8.instr. ** Error exit ** ? As the error message suggests, this can be fixed by simply removing/commenting out the STATE and POLARISATION parameter lines in the top of the component, i.e.: /* STATE PARAMETERS (x,y,z,vx,vy,vz,t,s1,s2,p) */ /* POLARISATION PARAMETERS (sx,sy,sz) */ ? In case of "negative time" propagation we no longer ABSORB these neutrons but rather restore the incoming neutron state, leaving it untouched for the following components. This avoids various types of shadowing effects, e.g. when placing parallel monitors that are not in a GROUP. This is furhter in preparation for the forthcoming ASSEMBLY keyword which will work roughly like an "iterative group" that loops on the ASSEMBLY of components until no furhter scattering is achieved, but always scatters first on the component which is closest (in time) to the neutron. ? "Scatter logging": With this release we provide this special ensemble of instrument examples ? Test_Scatter_log_losses.instr ? Test_Scatter_log_mvalues.instr ? Test_Scatter_log_ssw_mcnp.instr that together with the (misc cathegory) components ? Scatter_log_iterator.comp ? Scatter_log_iterator_stop.comp ? Scatter_logger.comp ? Scatter_logger_stop.comp ? provide a powerful post-processing mechanism, mainly for guide systems - that for instance can be used to study the non-propagated, i.e. absorbed neutron flux along the guide. For more information, a paper by Esben Klinkby et. al. will be available in one of the next issues of Journal of Physics: Conference Series, proceedings of the NOP&D 2013 meeting in Ismaning. Slides from Esbens talk are available here:http://orbit.dtu.dk/files/57025387/prod11375088187360.NO_P_v8.pdf ? Another important change is an optimization of the Single_crystal component that results in very large speedups, especially for large unit cells with many reflections. A speedup of more than a factor of 500 has been observed with the Perdeuterated pyrophosphatase system, for which a very large reflection list (.lau format) is provided. ? The release also contains the latest revision of the ESS_moderator component, including updated "pancake" source brilliance calculated by the ESS neutronics group and parametrized for McStas by Troels Sch?nfeldt, DTU Nutech. We have also received a nice, long list of contributions and have also developed and improved both components, instruments and core package functionalty. For the full list of changes, please consult the CHANGES document. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 58 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1055 bytes Desc: image002.gif URL: From pkwi at fysik.dtu.dk Mon Sep 15 12:04:31 2014 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Mon, 15 Sep 2014 10:04:31 +0000 Subject: [mcstas-users] The official McStas 2.1 release is finally out! In-Reply-To: References: Message-ID: <4C436692-F243-451F-9C97-18DB02E5DD27@fysik.dtu.dk> Dear all, Aiming at solving a couple of possible installation glitches on Windows 7 and later Windows systems, the installation executable for Windows has been re-uploaded and split in two parts, available for download at http://downloads.mcstas.org/mcstas-2.1/windows/ IMPORTANT: a) Please install the strawberry Perl msi installer completely before attempting to install the McStas bundle b) Please install the McStas bundle using ?install as administrator? (right click the file) Best, and sorry for any inconvenience caused! Peter Willendrup Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0] Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk On 12 Sep 2014, at 21:20 , Peter Kj?r Willendrup > wrote: Hello all, The McStas team is finally ready with McStas 2.1 - packages are released and ready for download via http://downloads.mcstas.org/mcstas-2.1 ! A list of selected, important highligts from the release are listed below the email siganture. For the full list of changes, please consult the CHANGES document at http://www.mcstas.org/CHANGES_McStas. The McStas team wish you all the best and happy simulating! Peter Willendrup -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 58 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1055 bytes Desc: image002.gif URL: From robert.dalgliesh at stfc.ac.uk Tue Sep 23 12:00:13 2014 From: robert.dalgliesh at stfc.ac.uk (robert.dalgliesh at stfc.ac.uk) Date: Tue, 23 Sep 2014 10:00:13 +0000 Subject: [mcstas-users] broken rpms Message-ID: <9FD256ED3764AA40BD335311A4123FA03F85CCB4@EXCHMBX03.fed.cclrc.ac.uk> Install of mcstas from rpm is broken. After install by hand and looking in /usr/local/bin the soft links all point to the wrong place lrwxrwxrwx. 1 root root 31 Sep 23 10:56 mccode-select -> /etc/alternatives/mccode-select lrwxrwxrwx. 1 root root 38 Sep 23 10:56 mccode-select-bundle -> /etc/alternatives/mccode-select-bundle lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcconfig -> /etc/alternatives/mcconfig lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcconvert -> /etc/alternatives/mcconvert lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcdaemon -> /etc/alternatives/mcdaemon lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcdisplay -> /etc/alternatives/mcdisplay lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcdoc -> /etc/alternatives/mcdoc lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcformat -> /etc/alternatives/mcformat lrwxrwxrwx. 1 root root 29 Sep 23 10:56 mcformatgui -> /etc/alternatives/mcformatgui lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcgui -> /etc/alternatives/mcgui lrwxrwxrwx. 1 root root 24 Sep 23 10:56 mcplot -> /etc/alternatives/mcplot lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcresplot -> /etc/alternatives/mcresplot lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcrun -> /etc/alternatives/mcrun lrwxrwxrwx. 1 root root 24 Sep 23 10:56 mcstas -> /etc/alternatives/mcstas lrwxrwxrwx. 1 root root 31 Sep 23 10:56 mcstas2vitess -> /etc/alternatives/mcstas2vitess Going back to 2.0 for now. Thanks Rob =================================== Dr. Robert Dalgliesh ISIS STFC Rutherford Appleton Laboratory R3 1.29 Harwell Oxford Didcot OX11 0QX Office Tel: +44 (0) 1235 445687 or OffSpec Instrument: +44 (0) 1235 567045 Internal Mobile Extension: 1176 e-mail: robert.dalgliesh at stfc.ac.uk -- Scanned by iCritical. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Tue Sep 23 13:13:48 2014 From: pkwi at fysik.dtu.dk (=?iso-8859-1?Q?Peter_Kj=E6r_Willendrup?=) Date: Tue, 23 Sep 2014 11:13:48 +0000 Subject: [mcstas-users] broken rpms In-Reply-To: <9FD256ED3764AA40BD335311A4123FA03F85CCB4@EXCHMBX03.fed.cclrc.ac.uk> References: <9FD256ED3764AA40BD335311A4123FA03F85CCB4@EXCHMBX03.fed.cclrc.ac.uk> Message-ID: <4924716A-4FB2-4F8B-9929-4494696F8871@fysik.dtu.dk> Hi again Rob, These files belong to McStas 2.0 and I suggest you do one of the following: 1) Remove McStas 2.0 completely and install McStas 2.1 2) If you want to hold on to your McStas 2.0 also, then a) get http://trac.mccode.org/export/5111/trunk/tools/migration-tool/migrate-mcstas-2.0.sh and install it (this will move your McStas 2.0 to the side, installing a mcstas-2.0-environment script that will let you run 2.0 in the future) b) Accept the offer from the script to remove files from 2.0 from their original location c) Install McStas 2.1 Hope this helps, Peter On 23 Sep 2014, at 19:00 , > > wrote: Install of mcstas from rpm is broken. After install by hand and looking in /usr/local/bin the soft links all point to the wrong place lrwxrwxrwx. 1 root root 31 Sep 23 10:56 mccode-select -> /etc/alternatives/mccode-select lrwxrwxrwx. 1 root root 38 Sep 23 10:56 mccode-select-bundle -> /etc/alternatives/mccode-select-bundle lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcconfig -> /etc/alternatives/mcconfig lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcconvert -> /etc/alternatives/mcconvert lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcdaemon -> /etc/alternatives/mcdaemon lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcdisplay -> /etc/alternatives/mcdisplay lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcdoc -> /etc/alternatives/mcdoc lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcformat -> /etc/alternatives/mcformat lrwxrwxrwx. 1 root root 29 Sep 23 10:56 mcformatgui -> /etc/alternatives/mcformatgui lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcgui -> /etc/alternatives/mcgui lrwxrwxrwx. 1 root root 24 Sep 23 10:56 mcplot -> /etc/alternatives/mcplot lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcresplot -> /etc/alternatives/mcresplot lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcrun -> /etc/alternatives/mcrun lrwxrwxrwx. 1 root root 24 Sep 23 10:56 mcstas -> /etc/alternatives/mcstas lrwxrwxrwx. 1 root root 31 Sep 23 10:56 mcstas2vitess -> /etc/alternatives/mcstas2vitess Going back to 2.0 for now. Thanks Rob =================================== Dr. Robert Dalgliesh ISIS STFC Rutherford Appleton Laboratory R3 1.29 Harwell Oxford Didcot OX11 0QX Office Tel: +44 (0) 1235 445687 or OffSpec Instrument: +44 (0) 1235 567045 Internal Mobile Extension: 1176 e-mail: robert.dalgliesh at stfc.ac.uk -- Scanned by iCritical. _______________________________________________ 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 robert.dalgliesh at stfc.ac.uk Tue Sep 23 14:55:27 2014 From: robert.dalgliesh at stfc.ac.uk (robert.dalgliesh at stfc.ac.uk) Date: Tue, 23 Sep 2014 12:55:27 +0000 Subject: [mcstas-users] broken rpms In-Reply-To: <4924716A-4FB2-4F8B-9929-4494696F8871@fysik.dtu.dk> References: <9FD256ED3764AA40BD335311A4123FA03F85CCB4@EXCHMBX03.fed.cclrc.ac.uk> <4924716A-4FB2-4F8B-9929-4494696F8871@fysik.dtu.dk> Message-ID: <9FD256ED3764AA40BD335311A4123FA03F85CE9E@EXCHMBX03.fed.cclrc.ac.uk> Hi Peter, That is essentially what I did except I removed the mcstas 2.0 rpms instead of migrating them as I don't tend to change anything in the main package. I would still expect to see the links in /usr/local/bin just pointing to the new locations in mcstas/2.1 Rob From: Peter Kj?r Willendrup [mailto:pkwi at fysik.dtu.dk] Sent: 23 September 2014 12:14 To: Dalgliesh, Robert (STFC,RAL,ISIS) Cc: mcstas-users at mcstas.org Subject: Re: [mcstas-users] broken rpms Hi again Rob, These files belong to McStas 2.0 and I suggest you do one of the following: 1) Remove McStas 2.0 completely and install McStas 2.1 2) If you want to hold on to your McStas 2.0 also, then a) get http://trac.mccode.org/export/5111/trunk/tools/migration-tool/migrate-mcstas-2.0.sh and install it (this will move your McStas 2.0 to the side, installing a mcstas-2.0-environment script that will let you run 2.0 in the future) b) Accept the offer from the script to remove files from 2.0 from their original location c) Install McStas 2.1 Hope this helps, Peter On 23 Sep 2014, at 19:00 , > > wrote: Install of mcstas from rpm is broken. After install by hand and looking in /usr/local/bin the soft links all point to the wrong place lrwxrwxrwx. 1 root root 31 Sep 23 10:56 mccode-select -> /etc/alternatives/mccode-select lrwxrwxrwx. 1 root root 38 Sep 23 10:56 mccode-select-bundle -> /etc/alternatives/mccode-select-bundle lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcconfig -> /etc/alternatives/mcconfig lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcconvert -> /etc/alternatives/mcconvert lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcdaemon -> /etc/alternatives/mcdaemon lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcdisplay -> /etc/alternatives/mcdisplay lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcdoc -> /etc/alternatives/mcdoc lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcformat -> /etc/alternatives/mcformat lrwxrwxrwx. 1 root root 29 Sep 23 10:56 mcformatgui -> /etc/alternatives/mcformatgui lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcgui -> /etc/alternatives/mcgui lrwxrwxrwx. 1 root root 24 Sep 23 10:56 mcplot -> /etc/alternatives/mcplot lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcresplot -> /etc/alternatives/mcresplot lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcrun -> /etc/alternatives/mcrun lrwxrwxrwx. 1 root root 24 Sep 23 10:56 mcstas -> /etc/alternatives/mcstas lrwxrwxrwx. 1 root root 31 Sep 23 10:56 mcstas2vitess -> /etc/alternatives/mcstas2vitess Going back to 2.0 for now. Thanks Rob =================================== Dr. Robert Dalgliesh ISIS STFC Rutherford Appleton Laboratory R3 1.29 Harwell Oxford Didcot OX11 0QX Office Tel: +44 (0) 1235 445687 or OffSpec Instrument: +44 (0) 1235 567045 Internal Mobile Extension: 1176 e-mail: robert.dalgliesh at stfc.ac.uk -- Scanned by iCritical. _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users -- Scanned by iCritical. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Wed Sep 24 02:24:54 2014 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Wed, 24 Sep 2014 00:24:54 +0000 Subject: [mcstas-users] broken rpms In-Reply-To: <9FD256ED3764AA40BD335311A4123FA03F85CE9E@EXCHMBX03.fed.cclrc.ac.uk> References: <9FD256ED3764AA40BD335311A4123FA03F85CCB4@EXCHMBX03.fed.cclrc.ac.uk> <4924716A-4FB2-4F8B-9929-4494696F8871@fysik.dtu.dk> <9FD256ED3764AA40BD335311A4123FA03F85CE9E@EXCHMBX03.fed.cclrc.ac.uk> Message-ID: Hi again Rob, Agreed, this is how it ought to have worked. It might be that my post-install script for 2.1 is missing a -f in the final link setup. (In any case, we have moved away from using /etc/alternatives/ for McStas 2.1, using that and the mccode-select script turned out to be an unneeded complexity?) I suggest you install the 2.1 rpm?s again and simply do sudo ln -sf /usr/local/mcstas/2.1/bin/* /usr/local/bin Again, thanks for reporting these issues, will fix them in the trunk - and for the metapackage-chaco issue simply upload a version that does not require python-chaco. Best, Peter On 23 Sep 2014, at 21:55 , > > wrote: Hi Peter, That is essentially what I did except I removed the mcstas 2.0 rpms instead of migrating them as I don?t tend to change anything in the main package. I would still expect to see the links in /usr/local/bin just pointing to the new locations in mcstas/2.1 Rob From: Peter Kj?r Willendrup [mailto:pkwi at fysik.dtu.dk] Sent: 23 September 2014 12:14 To: Dalgliesh, Robert (STFC,RAL,ISIS) Cc: mcstas-users at mcstas.org Subject: Re: [mcstas-users] broken rpms Hi again Rob, These files belong to McStas 2.0 and I suggest you do one of the following: 1) Remove McStas 2.0 completely and install McStas 2.1 2) If you want to hold on to your McStas 2.0 also, then a) get http://trac.mccode.org/export/5111/trunk/tools/migration-tool/migrate-mcstas-2.0.sh and install it (this will move your McStas 2.0 to the side, installing a mcstas-2.0-environment script that will let you run 2.0 in the future) b) Accept the offer from the script to remove files from 2.0 from their original location c) Install McStas 2.1 Hope this helps, Peter On 23 Sep 2014, at 19:00 , > > wrote: Install of mcstas from rpm is broken. After install by hand and looking in /usr/local/bin the soft links all point to the wrong place lrwxrwxrwx. 1 root root 31 Sep 23 10:56 mccode-select -> /etc/alternatives/mccode-select lrwxrwxrwx. 1 root root 38 Sep 23 10:56 mccode-select-bundle -> /etc/alternatives/mccode-select-bundle lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcconfig -> /etc/alternatives/mcconfig lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcconvert -> /etc/alternatives/mcconvert lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcdaemon -> /etc/alternatives/mcdaemon lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcdisplay -> /etc/alternatives/mcdisplay lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcdoc -> /etc/alternatives/mcdoc lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcformat -> /etc/alternatives/mcformat lrwxrwxrwx. 1 root root 29 Sep 23 10:56 mcformatgui -> /etc/alternatives/mcformatgui lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcgui -> /etc/alternatives/mcgui lrwxrwxrwx. 1 root root 24 Sep 23 10:56 mcplot -> /etc/alternatives/mcplot lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcresplot -> /etc/alternatives/mcresplot lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcrun -> /etc/alternatives/mcrun lrwxrwxrwx. 1 root root 24 Sep 23 10:56 mcstas -> /etc/alternatives/mcstas lrwxrwxrwx. 1 root root 31 Sep 23 10:56 mcstas2vitess -> /etc/alternatives/mcstas2vitess Going back to 2.0 for now. Thanks Rob =================================== Dr. Robert Dalgliesh ISIS STFC Rutherford Appleton Laboratory R3 1.29 Harwell Oxford Didcot OX11 0QX Office Tel: +44 (0) 1235 445687 or OffSpec Instrument: +44 (0) 1235 567045 Internal Mobile Extension: 1176 e-mail: robert.dalgliesh at stfc.ac.uk -- Scanned by iCritical. _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users -- Scanned by iCritical. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesuspedrodevicente at gmail.com Wed Sep 24 18:35:12 2014 From: jesuspedrodevicente at gmail.com (=?UTF-8?Q?Jes=C3=BAs_P=2E_de_Vicente?=) Date: Wed, 24 Sep 2014 18:35:12 +0200 Subject: [mcstas-users] About Laz files in Single_crystal component Message-ID: Dear McStas team, I am trying to use Laz files with Single_crystal component. I use the barns=1 parameter. But it produces a continuous spectra (no peaks) Do I need to taken into account other parameters? Lau files work perfectly for me. Thank you very much. Kind regards. *Jes?s P. de Vicente.-* -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Thu Sep 25 02:49:38 2014 From: pkwi at fysik.dtu.dk (=?iso-8859-1?Q?Peter_Kj=E6r_Willendrup?=) Date: Thu, 25 Sep 2014 00:49:38 +0000 Subject: [mcstas-users] About Laz files in Single_crystal component In-Reply-To: References: Message-ID: <30E46626-D27C-4099-83F1-23C4269B92F9@fysik.dtu.dk> Dear Jesus, In principle, the only difference between .lau and .laz files are the order of the columns, as indicated in the headers, plus and the unit of the |F| or |F2| column which is barn^0.5 or barn in the .laz case and fm^0.5 or fm in the .lau case - cf. Ge.lau vs Ge.laz. - I suspect something else is wrong. Could you send along exactly what you fail to get running? Best, Peter Willendrup On 25 Sep 2014, at 01:35 , Jes?s P. de Vicente > wrote: Dear McStas team, I am trying to use Laz files with Single_crystal component. I use the barns=1 parameter. But it produces a continuous spectra (no peaks) Do I need to taken into account other parameters? Lau files work perfectly for me. Thank you very much. Kind regards. Jes?s P. de Vicente.- _______________________________________________ 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 anna.fedrigo at fi.isc.cnr.it Thu Sep 25 11:25:17 2014 From: anna.fedrigo at fi.isc.cnr.it (Anna Fedrigo) Date: Thu, 25 Sep 2014 11:25:17 +0200 Subject: [mcstas-users] problems with the c compiler Message-ID: Dear all, I installed the new version of McStas on a windows machine and it seems like the c compiler is not recognised. The error message I get is "gcc" is not an internal or external recognised command. I changed the folder strawberry\perl\bin to full control but the problem still remains. Do you have any suggestion? Thanks for the support, Best regards, Anna *_________________________* *Anna Fedrigo* PhD Student Consiglio Nazionale delle Ricerche Istituto dei Sistemi Complessi Via Madonna del Piano, 10 50019 Sesto Fiorentino (Italy) Phone: +39 055 522 6631 E_mail: anna.fedrigo at fi.isc.cnr.it -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesuspedrodevicente at gmail.com Thu Sep 25 12:23:25 2014 From: jesuspedrodevicente at gmail.com (=?UTF-8?Q?Jes=C3=BAs_P=2E_de_Vicente?=) Date: Thu, 25 Sep 2014 12:23:25 +0200 Subject: [mcstas-users] About Laz files in Single_crystal component In-Reply-To: <30E46626-D27C-4099-83F1-23C4269B92F9@fysik.dtu.dk> References: <30E46626-D27C-4099-83F1-23C4269B92F9@fysik.dtu.dk> Message-ID: Hello Peter, Thank you very much for your help. I would like to attach you the *.instr file in order to I am doing something wrong. Also I would like to attach you two VRML files about the reflections for the C_graphite.lau and C_graphite.laz comparison. Thank you. Kind regards. *Jes?s P. de Vicente.-* 2014-09-25 2:49 GMT+02:00 Peter Kj?r Willendrup : > Dear Jesus, > > In principle, the only difference between .lau and .laz files are the > order of the columns, as indicated in the headers, plus and the unit of > the |F| or |F2| column which is barn^0.5 or barn in the .laz case and > fm^0.5 or fm in the .lau case - cf. Ge.lau vs Ge.laz. > > - I suspect something else is wrong. Could you send along exactly what > you fail to get running? > > Best, > > Peter Willendrup > > > On 25 Sep 2014, at 01:35 , Jes?s P. de Vicente < > jesuspedrodevicente at gmail.com> wrote: > > Dear McStas team, > > I am trying to use Laz files with Single_crystal component. > I use the barns=1 parameter. But it produces a continuous spectra (no > peaks) > Do I need to taken into account other parameters? > > Lau files work perfectly for me. > > Thank you very much. > Kind regards. > > *Jes?s P. de Vicente.-* > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: reflections_C_graphite_LAU.png Type: image/png Size: 39733 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: reflections_C_graphite_LAZ.png Type: image/png Size: 44349 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.instr Type: application/octet-stream Size: 4155 bytes Desc: not available URL: From pkwi at fysik.dtu.dk Fri Sep 26 02:57:53 2014 From: pkwi at fysik.dtu.dk (=?iso-8859-1?Q?Peter_Kj=E6r_Willendrup?=) Date: Fri, 26 Sep 2014 00:57:53 +0000 Subject: [mcstas-users] problems with the c compiler In-Reply-To: References: Message-ID: Dear Anna, I guess that you are using the Desktop links to mcgui and / or the mcstas environment scripts? 1) Using the McStas environment link, what do you get when issuing echo %PATH% in the terminal? Does this include c:\strawberry\perl\bin ? 2) Is there in fact a perl.exe located in c:\strawberry\perl\bin ? Best, Peter On 25 Sep 2014, at 18:25 , Anna Fedrigo > wrote: Dear all, I installed the new version of McStas on a windows machine and it seems like the c compiler is not recognised. The error message I get is "gcc" is not an internal or external recognised command. I changed the folder strawberry\perl\bin to full control but the problem still remains. Do you have any suggestion? Thanks for the support, Best regards, Anna _________________________ Anna Fedrigo PhD Student Consiglio Nazionale delle Ricerche Istituto dei Sistemi Complessi Via Madonna del Piano, 10 50019 Sesto Fiorentino (Italy) Phone: +39 055 522 6631 E_mail: anna.fedrigo at fi.isc.cnr.it _______________________________________________ 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 boin at helmholtz-berlin.de Fri Sep 26 09:32:43 2014 From: boin at helmholtz-berlin.de (Boin, Mirko) Date: Fri, 26 Sep 2014 07:32:43 +0000 Subject: [mcstas-users] problems with the c compiler In-Reply-To: References: Message-ID: Hi Anna, I had the same (or similar) problem once and if I remember correctly I needed to adjust my registry. On the "known problems"McStas webpage at the very bottom they say: http://www.mcstas.org/download/install_windows/ * If you are not able to start any simulation from mcgui - only getting back the mcrun --help or the text "press any key to continue", your Perl is likely not registered access all commandline parameters. This can be remedied by * Starting the regedit.exe program * Searching for keys with content C:\strawberry\perl\bin\perl.exe * Ensure that any entry like that includes a final %* like this: HKEY_CLASSES_ROOT\Applications\perl.exe\shell\open\command = "C:\strawberry\perl\bin\perl.exe" "%1" %* Could you try to check if your registry entries are correct as shown above. Best wishes, Mirko. From: mcstas-users-bounces at mcstas.org [mailto:mcstas-users-bounces at mcstas.org] On Behalf Of Peter Kj?r Willendrup Sent: Friday, September 26, 2014 2:58 AM To: Anna Fedrigo Cc: mcstas-users at mcstas.org Subject: Re: [mcstas-users] problems with the c compiler Dear Anna, I guess that you are using the Desktop links to mcgui and / or the mcstas environment scripts? 1) Using the McStas environment link, what do you get when issuing echo %PATH% in the terminal? Does this include c:\strawberry\perl\bin ? 2) Is there in fact a perl.exe located in c:\strawberry\perl\bin ? Best, Peter On 25 Sep 2014, at 18:25 , Anna Fedrigo > wrote: Dear all, I installed the new version of McStas on a windows machine and it seems like the c compiler is not recognised. The error message I get is "gcc" is not an internal or external recognised command. I changed the folder strawberry\perl\bin to full control but the problem still remains. Do you have any suggestion? Thanks for the support, Best regards, Anna _________________________ Anna Fedrigo PhD Student Consiglio Nazionale delle Ricerche Istituto dei Sistemi Complessi Via Madonna del Piano, 10 50019 Sesto Fiorentino (Italy) Phone: +39 055 522 6631 E_mail: anna.fedrigo at fi.isc.cnr.it _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users ________________________________ Helmholtz-Zentrum Berlin f?r Materialien und Energie GmbH Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V. Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph Gesch?ftsf?hrung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking Sitz Berlin, AG Charlottenburg, 89 HRB 5583 Postadresse: Hahn-Meitner-Platz 1 D-14109 Berlin http://www.helmholtz-berlin.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From anna.fedrigo at fi.isc.cnr.it Fri Sep 26 16:32:52 2014 From: anna.fedrigo at fi.isc.cnr.it (Anna Fedrigo) Date: Fri, 26 Sep 2014 16:32:52 +0200 Subject: [mcstas-users] problems with the c compiler In-Reply-To: References: Message-ID: <20140926163252.Horde.ccUHfYP1dBEq9ekvcuCdDQ4@webmail.sic.rm.cnr.it> Dear Peter and Mirko, thanks for the help. The path included c:\strawberry\perl\bin, but was probably written after an older one that wasn't working. I removed it and now everything's fine. Best, Anna Peter Kj?r Willendrup ha scritto: > Dear Anna, > > I guess that you are using the Desktop links to mcgui and / or the > mcstas environment scripts? > > 1) Using the McStas environment link, what do you get when issuing > echo %PATH% > in the terminal? Does this include c:\strawberry\perl\bin ? > > 2) Is there in fact a perl.exe located in c:\strawberry\perl\bin ? > > Best, > > Peter > > On 25 Sep 2014, at 18:25 , Anna Fedrigo > > wrote: > > Dear all, > > I installed the new version of McStas on a windows machine and it > seems like the c compiler is not recognised. The error message I get > is "gcc" is not an internal or external recognised command. > I changed the folder strawberry\perl\bin to full control but the > problem still remains. Do you have any suggestion? > > Thanks for the support, > > Best regards, > > Anna > > _________________________ > > Anna Fedrigo > PhD Student > > Consiglio Nazionale delle Ricerche > Istituto dei Sistemi Complessi > Via Madonna del Piano, 10 > 50019 Sesto Fiorentino (Italy) > > Phone: +39 055 522 6631 > E_mail: anna.fedrigo at fi.isc.cnr.it > > _______________________________________________ > mcstas-users mailing list > mcstas-users at mcstas.org > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users Anna Fedrigo PhD Student Consiglio Nazionale delle Ricerche Istituto dei Sistemi Complessi Via Madonna del Piano, 10 50019 Sesto Fiorentino (Italy) Phone: +39 055 522 6631 E_mail: anna.fedrigo at fi.isc.cnr.it