From farhi at ill.eu Tue Apr 5 14:58:24 2011 From: farhi at ill.eu (Emmanuel FARHI) Date: Tue, 05 Apr 2011 14:58:24 +0200 Subject: [mcstas-users] ILL CS LiveDVD update: March 2011 version Message-ID: <4D9B11F0.4030200@ill.eu> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 62359 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 10779 bytes Desc: not available URL: From farhi at ill.fr Wed Apr 20 23:31:13 2011 From: farhi at ill.fr (Emmanuel FARHI) Date: Wed, 20 Apr 2011 23:31:13 +0200 (CEST) Subject: [mcstas-users] (no subject) Message-ID: <7d0ec710b52764ef790976735b42f553.squirrel@195.83.126.17> Dear fellow McStas users and Monte-Carlo simulators ILL is looking for someone with experience using McStas to perform guide simulations. There is an immediate short-term need for which a short term contract or a secondment could be organised and a longer-term need (say 6-9 months ILL funding). I would be grateful if you could let me know, as soon as possible, if you or any of your colleagues are interested in these opportunities. The selected applicant will work with me (E. Farhi) in collaboration with the ILL Technical Division in the design of an advanced and large neutron delivery guide system, feeding 7 ILL instrument positions. Any applicant, including without long term McStas experience, will be considered. E. Farhi. -- FARHI Emmanuel Groupe DS/CS, ILL4/156, Tel 04 76 20 71 35 ILL, Grenoble From pkwi at risoe.dtu.dk Tue Apr 26 10:22:16 2011 From: pkwi at risoe.dtu.dk (Peter Willendrup) Date: Tue, 26 Apr 2011 10:22:16 +0200 Subject: [mcstas-users] Postdoc in Radiation Physics Message-ID: <966869F8-5329-4063-83EC-0009B677A8B6@risoe.dtu.dk> (Copied from http://www.dtu.dk/Om_DTU/ledige_stillinger.aspx?guid=0e64f539-3d86-495e-b71b-68b28f8d5f07) Postdoc in Radiation Physics The Radiation Physics Programme at Ris? National Laboratory for Sustainable Energy, Technical University of Denmark, is seeking candidates for a Postdoc position to work on neutron transport simulations for the design update of the European Spallation Source (ESS). The Radiation Physics Programme is carrying out fundamental and applied research within the areas of retrospective radiation dosimetry, medical and industrial dosimetry, and reactor physics. The programme presently consists of 25 people including Researchers, Technicians and PhD students, engaged in research, innovation and education. Job description The successful candidate will join a research project funded by the Danish Agency for Science Technology and Innovation in support of the design update phase of ESS. The design update includes simulation of essential ESS components including the target-moderator and beam extraction system. The project aims at interfacing Monte Carlo neutron transport codes for hot/thermal and for cold neutrons and applying these in the optimization of the target/moderator and beam extraction system of the neutron spallation source. The project will be undertaken in close collaboration with the ESS organization in Lund, Sweden, and with other European project participants. Qualifications The candidate should have a PhD in theoretical or experimental physics with a strong background in computational physics or equivalent. Assessment In the assessment of the candidates consideration will be given to: ? scientific production and research potential at international level ? innovative skills and the ability to generate new ideas ? an all-round experience basis, preferably including international experience ? the ability to contribute to development of the department?s internal and external cooperation We offer We offer an exciting and challenging job in an international academic environment with excellent possibilities for professional and personal development. The successful candidate will work in an environment with activities and expertise in radiation physics, dosimetry, radioecology and medical applications of radionuclides. Salary and terms of employment The candidate will be employed for a two-year period as a Postdoc. The appointment will be based on the collective agreement with the Confederation of Professional Associations. The allowance will be agreed with the relevant union. The place of work is Ris? DTU in Roskilde. Further information Further information may be obtained from Head of Programme Bent Lauritzen, +45 46774906. Application We must receive your online application by 15 May 2011. Follow the link "apply online" and fill in the application form and attach your application, CV, a list of publications indicating scientific highlights and other relevant documents. Applications and enclosures received after the deadline will not be considered. All interested candidates irrespective of age, gender, race, disability or ethnic background are encouraged to apply. -- ------------------------------------------------------------------- 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 ------------------------------------------------------------------- From pkwi at risoe.dtu.dk Tue May 24 15:28:20 2011 From: pkwi at risoe.dtu.dk (Peter Willendrup) Date: Tue, 24 May 2011 15:28:20 +0200 Subject: [mcstas-users] New McStas release: 1.12c Message-ID: Hello everyone, A reasonably serious bug in our rectangular focusing routine was identified by several McStas users and has now been corrected. We felt that this warranted an update of the stable McStas release, meaning a new 1.12c release. The 1.12c release is available now from http://www.mcstas.org/download. A complete liste of changes is available at http://www.mcstas.org/download/src/CHANGES For those of you looking forward to the 2.0 release, all required new functionality has been implemented, but documentation is still lacking. The 2.0 release will become officially available once the documentation has been updated, hopefully fall 2011. Regards on behalf of the McStas team, 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 ------------------------------------------------------------------- From PKWI at risoe.dtu.dk Fri Jun 3 21:06:40 2011 From: PKWI at risoe.dtu.dk (=?iso-8859-1?Q?Willendrup=2C_Peter_Kj=E6r?=) Date: Fri, 3 Jun 2011 21:06:40 +0200 Subject: [mcstas-users] New McStas release: 1.12c In-Reply-To: References: Message-ID: Hello again everyone, Unfortunately, the McStas 1.12c release from May 24th contained a series of bugs, primarily in source components, related to a type-change of the neutron counter. We have decided that since only a limited number of people have downloaded the release, we will simply re-release McStas 1.12c with the above bugs fixed. If you already downloaded and installed the packages released on May 24th, please re-download and reinstall. Sorry for the inconvenience and 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 24/05/2011, at 15.28, Peter Willendrup wrote: > Hello everyone, > > > A reasonably serious bug in our rectangular focusing routine was identified by several McStas users and has now been corrected. We felt that this warranted an update of the stable McStas release, meaning a new 1.12c release. > > The 1.12c release is available now from http://www.mcstas.org/download. > > A complete liste of changes is available at http://www.mcstas.org/download/src/CHANGES > > > For those of you looking forward to the 2.0 release, all required new functionality has been implemented, but documentation is still lacking. The 2.0 release will become officially available once the documentation has been updated, hopefully fall 2011. > > > > Regards on behalf of the McStas team, > > 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 > ------------------------------------------------------------------- > > _______________________________________________ > mcstas-users mailing list > mcstas-users at mcstas.org > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users From farhi at ill.fr Mon Jun 20 16:39:08 2011 From: farhi at ill.fr (Emmanuel FARHI) Date: Mon, 20 Jun 2011 16:39:08 +0200 (CEST) Subject: [mcstas-users] collimator_radial McStas component In-Reply-To: References: Message-ID: <0d2febb4bedea60c744b80e97b4fd654.squirrel@195.83.126.17> Hi Danielle, Yes there are two models that you may use. The Collimator_radial may be used both in approximated and exact models. They should be equivalent in results. The transmission parameter is the maximum value of the triangular transmission within the Soller blades. Emmanuel. On Mon, June 20, 2011 12:20, daniele.cortinovis at stfc.ac.uk wrote: > Dear Emmanuel, > > I'm Daniele, a beginner user of McStas. I need to run some simulations > about radial collimators for a new beam line at ISIS. > > I used "collimator_radial" component, as I can see from the description > there are actually two different components: radial soller collimator and > continuous collimator, is it true? > > Finally, what's the meaning of the "transmission" parameter? > > Many thanks! > > Best Regards > Daniele Cortinovis > > > -- > Scanned by iCritical. > > -- FARHI Emmanuel Groupe DS/CS, ILL4/156, Tel 04 76 20 71 35 ILL, Grenoble From Jean-Francois.Moulin at hzg.de Wed Jun 22 20:51:07 2011 From: Jean-Francois.Moulin at hzg.de (Jean-Francois.Moulin at hzg.de) Date: Wed, 22 Jun 2011 20:51:07 +0200 Subject: [mcstas-users] MPI problem Message-ID: Hi to all, From time to time I get an error when trying to use MPI on my laptop (dual core). It runs fine most of the times but every now and then I get this: No MPI/grid machine list. Running locally. Define /home/jfmoulin/.mcstas/hosts or /usr/local/lib/mcstas/tools/perl/hosts or use option --machines= Running simulation './refsans_chopper_all_noks_switchable.out' ... mpirun -np 2 ./refsans_chopper_all_noks_switchable.out --format=PGPLOT --ncount=1000000 f=10 Theta0=10 Theta1=120 Master_open_angle=0 Disk3_pos=2.33 Disk4_pos=2.37 SC_phase=30 SC_open_angle=30 phase_SC2=30 SC2_open_angle=120 Use_gravity=0 rm_2344: p4_error: rm_start: net_conn_to_listener failed: 52358 p0_2248: p4_error: Child process exited while making connection to remote process on localhost: 0 p0_2248: (12.347656) net_send: could not write to fd=4, errno = 32 Job exited abnormally. Any clue? Thanks in advance! JF - Helmoltz Zentrum Geesthacht Institut f?r Werkstoffforschung Abteilung WPN, Instrument REFSANS Lichtenbergstr. 1 85747 Garching FRM II Tel.: +49 (0)89 289 10762 Internet: http://www.frm2.tum.de Helmholtz-Zentrum Geesthacht Zentrum f?r Material- und K?stenforschung GmbH Max-Planck-Stra?e 1 21502 Geesthacht Deutschland/Germany Gesch?ftsf?hrer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Gan? Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Ministerialrat Wilfried Kraus Amtsgericht L?beck HRB 285 GE (Register Court) Internet: http://www.hzg.de ACHTUNG - ATTENTION Die Helmholtz-Zentrum Geesthacht Zentrum f?r Material- und K?stenforschung GmbH hie? bis zum 1. November 2010 GKSS-Forschungszentrum Geesthacht GmbH. Until 1st November 2010 the Helmholtz-Zentrum Geesthacht Zentrum f?r Material- und K?stenforschung GmbH was officially called GKSS-Forschungszentrum Geesthacht GmbH. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jean-Francois.Moulin at hzg.de Wed Jun 22 20:43:33 2011 From: Jean-Francois.Moulin at hzg.de (Jean-Francois.Moulin at hzg.de) Date: Wed, 22 Jun 2011 20:43:33 +0200 Subject: [mcstas-users] switchable components (WHEN) problem Message-ID: Hi dear McStas Team! first of all I wanted to send you a big thanks for the NIDS school in Lund ! You got me started! Now... I of course come with some questions... First one is related to the use of facultative components built using a WHEN. I 'd like to be able to activate them via an INSTRUMENT parameter (which I understand is out of scope in the WHEN). This is what I did: DEFINE INSTRUMENT REFSANS(... foo, bar..... int NOK9_Type = 0 ) /* My switch*/ DECLARE %{ int NOK9_type = NOK9_Type; */ copied here to put it in WHEN scope */ ... %} .... long list of components... /* In order to keep a reference to a switchable device I use an arm */ COMPONENT NOK9 = Arm() AT (0, 0, l_NOK8 + space_NOK89) RELATIVE NOK8 /* first switchable */ COMPONENT NOK9_guide = Guide_gravity(w1 = .112, ...., ) WHEN (NOK9_type == 0) AT (0, 0, 0) RELATIVE NOK9 .... This code fails miserably with: /home/jfmoulin/McStas/refsans_chopper_all_noks_switchable.instr:50: error: initializer element is not constant (line 50 is the declare where I copy the instrument par...) I understand that the compiler expects the declare to be constants but I thought this followed the tip given in the manual .... As an additional remark, the manual references Neutron site/ILL/ILL_TOF_Env as an example... but this file does not exist on my install. Thanks a lot for any input Cheers Jean-Francois - Helmoltz Zentrum Geesthacht Institut f?r Werkstoffforschung Abteilung WPN, Instrument REFSANS Lichtenbergstr. 1 85747 Garching FRM II Tel.: +49 (0)89 289 10762 Internet: http://www.frm2.tum.de Helmholtz-Zentrum Geesthacht Zentrum f?r Material- und K?stenforschung GmbH Max-Planck-Stra?e 1 21502 Geesthacht Deutschland/Germany Gesch?ftsf?hrer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Gan? Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Ministerialrat Wilfried Kraus Amtsgericht L?beck HRB 285 GE (Register Court) Internet: http://www.hzg.de ACHTUNG - ATTENTION Die Helmholtz-Zentrum Geesthacht Zentrum f?r Material- und K?stenforschung GmbH hie? bis zum 1. November 2010 GKSS-Forschungszentrum Geesthacht GmbH. Until 1st November 2010 the Helmholtz-Zentrum Geesthacht Zentrum f?r Material- und K?stenforschung GmbH was officially called GKSS-Forschungszentrum Geesthacht GmbH. -------------- next part -------------- An HTML attachment was scrubbed... URL: From farhi at ill.fr Wed Jun 22 22:25:12 2011 From: farhi at ill.fr (Emmanuel FARHI) Date: Wed, 22 Jun 2011 22:25:12 +0200 (CEST) Subject: [mcstas-users] switchable components (WHEN) problem In-Reply-To: References: Message-ID: Hello Jean-Francois, Thanks for the special Barbapapa instrument file, which I should think about including in the McStas package ;-) . The declaration of variables can only be initialized to constants in DECLARE. For other assignements, use the INITIALIZE: DECLARE int NOK9_type=0; INITIALIZE NOK9_type = NOK9_Type; Cheers, Emmanuel. On Wed, June 22, 2011 20:43, Jean-Francois.Moulin at hzg.de wrote: > Hi dear McStas Team! > > first of all I wanted to send you a big thanks for the NIDS school in Lund > ! > You got me started! > > Now... I of course come with some questions... > First one is related to the use of facultative components built using a > WHEN. > > I 'd like to be able to activate them via an INSTRUMENT parameter (which I > understand is out of scope in the WHEN). > > This is what I did: > > DEFINE INSTRUMENT REFSANS(... foo, bar..... > int NOK9_Type = 0 ) > /* My switch*/ > > DECLARE > %{ > > int NOK9_type = NOK9_Type; */ copied here to put it in WHEN scope > */ > ... > %} > > .... long list of components... > > /* In order to keep a reference to a switchable device I use an arm */ > COMPONENT NOK9 = Arm() > AT (0, 0, l_NOK8 + space_NOK89) RELATIVE NOK8 > > /* first switchable */ > COMPONENT NOK9_guide = Guide_gravity(w1 = .112, ...., ) WHEN (NOK9_type == > 0) > > AT (0, 0, 0) RELATIVE NOK9 > .... > > This code fails miserably with: > /home/jfmoulin/McStas/refsans_chopper_all_noks_switchable.instr:50: error: > initializer element is not constant > (line 50 is the declare where I copy the instrument par...) > I understand that the compiler expects the declare to be constants but I > thought this followed the tip given in the manual .... > > As an additional remark, the manual references Neutron > site/ILL/ILL_TOF_Env as an example... but this file does not exist on my > install. > > Thanks a lot for any input > Cheers Jean-Francois > - > Helmoltz Zentrum Geesthacht > Institut f?r Werkstoffforschung > Abteilung WPN, Instrument REFSANS > Lichtenbergstr. 1 > 85747 Garching FRM II > Tel.: +49 (0)89 289 10762 > Internet: http://www.frm2.tum.de > > > > Helmholtz-Zentrum Geesthacht > Zentrum f?r Material- und K?stenforschung GmbH > Max-Planck-Stra?e 1 > 21502 Geesthacht > Deutschland/Germany > > Gesch?ftsf?hrer/Board of Management: Prof. Dr. Wolfgang Kaysser, > Dipl.-Ing. Michael Gan? > Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: > Ministerialrat Wilfried Kraus > > Amtsgericht L?beck HRB 285 GE (Register Court) > Internet: http://www.hzg.de > > > ACHTUNG - ATTENTION > > Die Helmholtz-Zentrum Geesthacht Zentrum f?r Material- und K?stenforschung > GmbH > hie? bis zum 1. November 2010 GKSS-Forschungszentrum Geesthacht GmbH. > > Until 1st November 2010 the Helmholtz-Zentrum Geesthacht Zentrum f?r > Material- und K?stenforschung GmbH was officially called > GKSS-Forschungszentrum Geesthacht > GmbH._______________________________________________ > 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 farhi at ill.fr Wed Jun 22 22:28:48 2011 From: farhi at ill.fr (Emmanuel FARHI) Date: Wed, 22 Jun 2011 22:28:48 +0200 (CEST) Subject: [mcstas-users] MPI problem In-Reply-To: References: Message-ID: <4d80521001e2f0a8610907fd3792b29c.squirrel@195.83.126.17> No idea why this fails, as you only use few neutron events. And it sems to occur immediately when starting (please confirm). Emmanuel. On Wed, June 22, 2011 20:51, Jean-Francois.Moulin at hzg.de wrote: > Hi to all, > > From time to time I get an error when trying to use MPI on my laptop (dual > core). > It runs fine most of the times but every now and then I get this: > > No MPI/grid machine list. Running locally. > Define /home/jfmoulin/.mcstas/hosts > or /usr/local/lib/mcstas/tools/perl/hosts > or use option --machines= > Running simulation './refsans_chopper_all_noks_switchable.out' ... > mpirun -np 2 ./refsans_chopper_all_noks_switchable.out --format=PGPLOT > --ncount=1000000 f=10 Theta0=10 Theta1=120 Master_open_angle=0 > Disk3_pos=2.33 Disk4_pos=2.37 SC_phase=30 SC_open_angle=30 phase_SC2=30 > SC2_open_angle=120 Use_gravity=0 > rm_2344: p4_error: rm_start: net_conn_to_listener failed: 52358 > p0_2248: p4_error: Child process exited while making connection to remote > process on localhost: 0 > p0_2248: (12.347656) net_send: could not write to fd=4, errno = 32 > Job exited abnormally. > > Any clue? > > Thanks in advance! > > JF > - > Helmoltz Zentrum Geesthacht > Institut f?r Werkstoffforschung > Abteilung WPN, Instrument REFSANS > Lichtenbergstr. 1 > 85747 Garching FRM II > Tel.: +49 (0)89 289 10762 > Internet: http://www.frm2.tum.de > > > > Helmholtz-Zentrum Geesthacht > Zentrum f?r Material- und K?stenforschung GmbH > Max-Planck-Stra?e 1 > 21502 Geesthacht > Deutschland/Germany > > Gesch?ftsf?hrer/Board of Management: Prof. Dr. Wolfgang Kaysser, > Dipl.-Ing. Michael Gan? > Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: > Ministerialrat Wilfried Kraus > > Amtsgericht L?beck HRB 285 GE (Register Court) > Internet: http://www.hzg.de > > > ACHTUNG - ATTENTION > > Die Helmholtz-Zentrum Geesthacht Zentrum f?r Material- und K?stenforschung > GmbH > hie? bis zum 1. November 2010 GKSS-Forschungszentrum Geesthacht GmbH. > > Until 1st November 2010 the Helmholtz-Zentrum Geesthacht Zentrum f?r > Material- und K?stenforschung GmbH was officially called > GKSS-Forschungszentrum Geesthacht > GmbH._______________________________________________ > 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