From Jean-Francois.Moulin at hzg.de Tue Oct 9 13:54:35 2012 From: Jean-Francois.Moulin at hzg.de (Jean-Francois.Moulin at hzg.de) Date: Tue, 9 Oct 2012 13:54:35 +0200 Subject: [mcstas-users] MPI questions/bugs Message-ID: Hi dear McStas users/devel, Here are some questions/bug reports which I put together as they might be related to each other 1) I am running into some trouble with longish (1e8 and above) simulations: the trace gives an ETA which is coherent (i.e it scales with the number of trajectories). I see that the progress bar follows the expected timing and then stays stuck forever at 90 % or so. I am using MPI with 4 cores, and they are forever kept fully busy. This is a nasty problem it seems: does not always appear for the exact same setup.... 1.5e8 traj. seems to be a diffuse boundary for triggering the effect on my machine. 2) Moreover -small bug- it seems the progress bar has a conversion min <-> hours problem (tested here with 1 core, but behaviour is similar with 4) 1e7 ETA 31 [s] 1e8 ETA 5.41667 [min] = ca 310 sec, OK 1e9 ETA 54.581 [min] OK 1e10 ETA 32457 [h] is exact if time would be in min... I am surely not the first one to notice though... 3) While trying to understand (1) I looked at the performance of the multiprocessor use: Using MPI I got the following timings for 1E8 trajectories ncores time (min) 1 5.333 2 2.95 3 2.9166 4 2.3333 a system monitor shows that the requested number of cores are running at 100% for the total time. I do not have a large disk I/O activity. From what I read in the manual I was expecting a very good scalability... 4) More a question then a bug: when using MPI wavelength vs tof plots show a wrong pattern (when running single processor the pattern is ok). I noticed the warning concerning the use of the auto scale parameter together with MPI but I remember a discussion with Emmanuel Fahri where he mentioned that the errors in the outputs should be negligible... I put two images in attach to illustrate the difference I get. Both simulations are the same first with single machine, second on 4 procs. Is this kind of behaviour really expected? I have not yet tried to use fixed parameters as this is rather un-practical... 5) last and least: minor but annoying for automatic analysis of the simulation files... mcstas.sim (sometimes) has a wrong date field based on EPOCH : Date: Simulation started (0) Thu Jan 1 01:00:00 1970 I am running McStas 1.12c under Mint13 using opne MPI. Thanks a lot for reading down to this point and possibly answering ;0) Best Jean-Francois - Helmholtz 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.deHelmholtz-Zentrum Geesthacht Zentrum f?r Material- und K?stenforschung GmbH Max-Planck-Stra?e 1 I 21502 Geesthacht I Deutschland/Germany Gesch?ftsf?hrer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Gan? Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig Wilfried Kraus Amtsgericht L?beck HRB 285 GE (Register Court) Internet: http://www.hzg.de -------------- next part -------------- A non-text attachment was scrubbed... Name: wl_tof_1core.png Type: image/png Size: 41513 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: wl_tof_4cores.png Type: image/png Size: 45265 bytes Desc: not available URL: From pkwi at fysik.dtu.dk Wed Oct 10 11:06:50 2012 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Wed, 10 Oct 2012 11:06:50 +0200 Subject: [mcstas-users] MPI questions/bugs In-Reply-To: References: Message-ID: <723F8288-D0DE-4163-8BAB-FE8146AFB3AB@fysik.dtu.dk> Hi Jean-Francois, On Oct 9, 2012, at 13:54 , Jean-Francois.Moulin at hzg.de wrote: Here are some questions/bug reports which I put together as they might be related to each other 1) I am running into some trouble with longish (1e8 and above) simulations: the trace gives an ETA which is coherent (i.e it scales with the number of trajectories). I see that the progress bar follows the expected timing and then stays stuck forever at 90 % or so. I am using MPI with 4 cores, and they are forever kept fully busy. This is a nasty problem it seems: does not always appear for the exact same setup.... 1.5e8 traj. seems to be a diffuse boundary for triggering the effect on my machine. I am afraid we have indeed seen this kind of behaviour before, thought I had ironed that one (in McStas 1.12c) out by making our ncount neutron counter a long long int instead of a double? Could you try to send me the instrumentfile and the needed parms to try to reproduce this? 2) Moreover -small bug- it seems the progress bar has a conversion min <-> hours problem (tested here with 1 core, but behaviour is similar with 4) 1e7 ETA 31 [s] 1e8 ETA 5.41667 [min] = ca 310 sec, OK 1e9 ETA 54.581 [min] OK 1e10 ETA 32457 [h] is exact if time would be in min... I am surely not the first one to notice though? Yes, correct - simply a wrong printf statement. And "known" already, fixed in the development tree... 3) While trying to understand (1) I looked at the performance of the multiprocessor use: Using MPI I got the following timings for 1E8 trajectories ncores time (min) 1 5.333 2 2.95 3 2.9166 4 2.3333 a system monitor shows that the requested number of cores are running at 100% for the total time. I do not have a large disk I/O activity. >From what I read in the manual I was expecting a very good scalability? My impression still is that it normally scales very good? No other intensive tasks running at that time I guess - and your processor cores are all proper cores? I.e. no hyperthreading etc? 4) More a question then a bug: when using MPI wavelength vs tof plots show a wrong pattern (when running single processor the pattern is ok). I noticed the warning concerning the use of the auto scale parameter together with MPI but I remember a discussion with Emmanuel Fahri where he mentioned that the errors in the outputs should be negligible... I put two images in attach to illustrate the difference I get. Both simulations are the same first with single machine, second on 4 procs. Is this kind of behaviour really expected? I have not yet tried to use fixed parameters as this is rather un-practical? Hmm. This looks very strange indeed! Please send me the instrument file and relevant parameters? You are right that "auto limits" are problematic when using MPI - this is very likely the reason! We are considering to do this differently by keeping an event list and only doing binning at the end of the simulation at the master node... 5) last and least: minor but annoying for automatic analysis of the simulation files... mcstas.sim (sometimes) has a wrong date field based on EPOCH : Date: Simulation started (0) Thu Jan 1 01:00:00 1970 Only sometimes? Strange? I would have guessed that problem to be system-dependent and "either or"? Please let me know if you find any further indications about when this happens? :-) I am running McStas 1.12c under Mint13 using opne MPI. Thanks a lot for reading down to this point and possibly answering ;0) No problem, it's what we're here for? :-) Best, Peter Peter Kj?r Willendrup Development engineer 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 Fri Oct 26 11:57:24 2012 From: jesuspedrodevicente at gmail.com (=?ISO-8859-1?Q?Jes=FAs_P=2E_de_Vicente?=) Date: Fri, 26 Oct 2012 10:57:24 +0100 Subject: [mcstas-users] Problem with Matlab on Linux Message-ID: Hello, I am trying to use Matlab on McStas por Linux. It works good with the results of the monitors, but It doesn't work if I try to visualize the instrument definition, i.e. the trace option. I used this commands: # 'mcstas -t file.instr' 'gcc -lm file.c -o file.out' 'mcdisplay -pMatlab file.out' # But this is the log error # Opened up pipe to matlab - pid is 28544 Building Matlab INSTRUMENT struct, please have patience... Starting simulation 'prueba --trace --no-output-files ' ... sh: no: command not found # My linux distro is Gentoo. I have tried to recompile perl and glibc but it didn't work. Thank you very much for your help. Best regards, *Jes?s P. de Vicente.-* -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Fri Oct 26 12:21:46 2012 From: pkwi at fysik.dtu.dk (=?iso-8859-1?Q?Peter_Kj=E6r_Willendrup?=) Date: Fri, 26 Oct 2012 12:21:46 +0200 Subject: [mcstas-users] Problem with Matlab on Linux In-Reply-To: References: Message-ID: Dear Jesus, The output ' sh: no: command not found ' simply means that your McStas installation is not aware of the Matlab to execute. Edit your /usr/local/lib/mcstas/perl/mcstas_config.perl and exchange the 'no' for the location of your matlab executable in the line that says: MATLAB => 'no', Hope this helps, Peter On Oct 26, 2012, at 11:57 , Jes?s P. de Vicente > wrote: Hello, I am trying to use Matlab on McStas por Linux. It works good with the results of the monitors, but It doesn't work if I try to visualize the instrument definition, i.e. the trace option. I used this commands: # 'mcstas -t file.instr' 'gcc -lm file.c -o file.out' 'mcdisplay -pMatlab file.out' # But this is the log error # Opened up pipe to matlab - pid is 28544 Building Matlab INSTRUMENT struct, please have patience... Starting simulation 'prueba --trace --no-output-files ' ... sh: no: command not found # My linux distro is Gentoo. I have tried to recompile perl and glibc but it didn't work. Thank you very much for your help. Best regards, Jes?s P. de Vicente.- Peter Kj?r Willendrup Development engineer 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 Fri Oct 26 12:42:14 2012 From: jesuspedrodevicente at gmail.com (=?ISO-8859-1?Q?Jes=FAs_P=2E_de_Vicente?=) Date: Fri, 26 Oct 2012 11:42:14 +0100 Subject: [mcstas-users] Problem with Matlab on Linux In-Reply-To: References: Message-ID: Thank you very much Peter. It works. Kind regards, *Jes?s P. de Vicente.-* 2012/10/26 Peter Kj?r Willendrup > Dear Jesus, > > The output ' sh: no: command not found ' simply means that your McStas > installation is not aware of the Matlab to execute. > > Edit your /usr/local/lib/mcstas/perl/mcstas_config.perl and exchange the > 'no' for the location of your matlab executable in the line that says: > > MATLAB => 'no', > > Hope this helps, > > Peter > > On Oct 26, 2012, at 11:57 , Jes?s P. de Vicente < > jesuspedrodevicente at gmail.com> wrote: > > Hello, > > I am trying to use Matlab on McStas por Linux. > It works good with the results of the monitors, but It doesn't work if I > try to visualize the instrument definition, i.e. the trace option. > > I used this commands: > # > 'mcstas -t file.instr' > 'gcc -lm file.c -o file.out' > 'mcdisplay -pMatlab file.out' > # > > But this is the log error > # > Opened up pipe to matlab - pid is 28544 > Building Matlab INSTRUMENT struct, please have patience... > Starting simulation 'prueba --trace --no-output-files ' ... > sh: no: command not found > # > > My linux distro is Gentoo. I have tried to recompile perl and glibc but it > didn't work. > > Thank you very much for your help. > Best regards, > > *Jes?s P. de Vicente.-* > > > > Peter Kj?r WillendrupDevelopment engineer DTU Physics > > > > > * > Technical University of Denmark* > > > > > 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: image002.gif Type: image/gif Size: 1055 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 58 bytes Desc: not available URL: From jesuspedrodevicente at gmail.com Mon Nov 19 15:36:34 2012 From: jesuspedrodevicente at gmail.com (=?ISO-8859-1?Q?Jes=FAs_P=2E_de_Vicente?=) Date: Mon, 19 Nov 2012 14:36:34 +0000 Subject: [mcstas-users] McStas with Octave Message-ID: Good afternoon, I trying to do that but I don't get that it works. I would like to ask if it could be possible to trace the simulations and plot the McStas results with Octave in the same way as with Matlab. Thank you very much. Kind regards. *Jes?s P. de Vicente.-* -------------- next part -------------- An HTML attachment was scrubbed... URL: From farhi at ill.eu Mon Nov 19 16:05:34 2012 From: farhi at ill.eu (Emmanuel FARHI) Date: Mon, 19 Nov 2012 16:05:34 +0100 Subject: [mcstas-users] McStas with Octave In-Reply-To: References: Message-ID: <50AA4ABE.5050407@ill.eu> An HTML attachment was scrubbed... URL: From jesuspedrodevicente at gmail.com Mon Nov 19 18:23:01 2012 From: jesuspedrodevicente at gmail.com (=?ISO-8859-1?Q?Jes=FAs_P=2E_de_Vicente?=) Date: Mon, 19 Nov 2012 17:23:01 +0000 Subject: [mcstas-users] McStas with Octave In-Reply-To: <50AA4ABE.5050407@ill.eu> References: <50AA4ABE.5050407@ill.eu> Message-ID: Hello Emmanuel, It works perfectly. Thank you very much. Kind regards, *Jes?s P. de Vicente.-* 2012/11/19 Emmanuel FARHI > Hello Jesus, > > The Matlab data set format should also be appropriate with octave: > > # mcrun instr --format=Matlab --dir=outdir ... > # octave > octave:1> cd outdir > octave:2> s=mcstas; > > this will import the full simulation data as a structure in 's'. If you > want the plots to be generated, use one of the two commands below: > > octave:3> s=mcstas('plot') > octave:3> mcstas; > > Good luck, Emmanuel. > > > On 11/19/2012 03:36 PM, Jes?s P. de Vicente wrote: > > Good afternoon, > > I trying to do that but I don't get that it works. > I would like to ask if it could be possible to trace the simulations and > plot the McStas results with Octave in the same way as with Matlab. > > Thank you very much. > Kind regards. > > *Jes?s P. de Vicente.-* > > > _______________________________________________ > mcstas-users mailing listmcstas-users at mcstas.orghttp://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_/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Mon Nov 19 18:41:51 2012 From: pkwi at fysik.dtu.dk (=?iso-8859-1?Q?Peter_Kj=E6r_Willendrup?=) Date: Mon, 19 Nov 2012 18:41:51 +0100 Subject: [mcstas-users] McStas with Octave In-Reply-To: References: <50AA4ABE.5050407@ill.eu> Message-ID: <0F7373D7-628F-4607-8FED-9BF2B5526AAF@fysik.dtu.dk> Dear Jesus, Good to hear that at least the plotting works! Just to supplement what Emmanuel wrote: For the 'TRACE' option there is currently no support for Octave. If you want to visualise in 3D you can alternatively try using the 'VRML' output option - which has the caveat that maximum ~1000 rays in practice can be visualised. If you have FreeWRL or another VRML/x3d browser installed this can then be used to open the resulting mcdisplay_commands.wrl (example attached) and get the type of graphics you find attached. In principle there is also a Scilab option - which unfortunatlely only works with the specific 4.0 version of Scilab and also not nice to use... Best, Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: FreeWRLScreenSnapz003.png Type: image/png Size: 110695 bytes Desc: FreeWRLScreenSnapz003.png URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: mcdisplay_commands.wrl Type: application/octet-stream Size: 72149 bytes Desc: mcdisplay_commands.wrl URL: -------------- 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 -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1055 bytes Desc: image002.gif URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesuspedrodevicente at gmail.com Mon Nov 19 20:43:35 2012 From: jesuspedrodevicente at gmail.com (=?ISO-8859-1?Q?Jes=FAs_P=2E_de_Vicente?=) Date: Mon, 19 Nov 2012 19:43:35 +0000 Subject: [mcstas-users] McStas with Octave In-Reply-To: <0F7373D7-628F-4607-8FED-9BF2B5526AAF@fysik.dtu.dk> References: <50AA4ABE.5050407@ill.eu> <0F7373D7-628F-4607-8FED-9BF2B5526AAF@fysik.dtu.dk> Message-ID: Hello Peter, Thank you. I am trying to use FreeWRL because I didn't find any other open wrml software. But it works very well. I guess that It can also record gif animations. Is the trace option an intrinsic limitation of Octave? Thank you very much. kind regards, *Jes?s P. de Vicente.-* 2012/11/19 Peter Kj?r Willendrup > Dear Jesus, > > > Good to hear that at least the plotting works! > > Just to supplement what Emmanuel wrote: > > For the 'TRACE' option there is currently no support for Octave. > > If you want to visualise in 3D you can alternatively try using the 'VRML' > output option - which has the caveat that maximum ~1000 rays in practice > can be visualised. If you have FreeWRL or another VRML/x3d browser > installed this can then be used to open the resulting > mcdisplay_commands.wrl (example attached) and get the type of graphics you > find attached. > > In principle there is also a Scilab option - which unfortunatlely only > works with the specific 4.0 version of Scilab and also not nice to use... > > Best, > > Peter > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Mon Nov 19 20:50:41 2012 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Mon, 19 Nov 2012 20:50:41 +0100 Subject: [mcstas-users] McStas with Octave In-Reply-To: References: <50AA4ABE.5050407@ill.eu> <0F7373D7-628F-4607-8FED-9BF2B5526AAF@fysik.dtu.dk> Message-ID: <63952690-FA5A-4E7C-BA66-EB543101AD9E@fysik.dtu.dk> Hi again Jesus, Nothing as such prevents to use Octave for that type of visualization - we just never coded that up? :-) Best, Peter On Nov 19, 2012, at 20:43 , Jes?s P. de Vicente > wrote: Hello Peter, Thank you. I am trying to use FreeWRL because I didn't find any other open wrml software. But it works very well. I guess that It can also record gif animations. Is the trace option an intrinsic limitation of Octave? Thank you very much. kind regards, Jes?s P. de Vicente.- 2012/11/19 Peter Kj?r Willendrup > Dear Jesus, Good to hear that at least the plotting works! Just to supplement what Emmanuel wrote: For the 'TRACE' option there is currently no support for Octave. If you want to visualise in 3D you can alternatively try using the 'VRML' output option - which has the caveat that maximum ~1000 rays in practice can be visualised. If you have FreeWRL or another VRML/x3d browser installed this can then be used to open the resulting mcdisplay_commands.wrl (example attached) and get the type of graphics you find attached. In principle there is also a Scilab option - which unfortunatlely only works with the specific 4.0 version of Scilab and also not nice to use... Best, Peter Peter Kj?r Willendrup Development engineer 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 robert.dalgliesh at stfc.ac.uk Thu Nov 22 12:05:46 2012 From: robert.dalgliesh at stfc.ac.uk (robert.dalgliesh at stfc.ac.uk) Date: Thu, 22 Nov 2012 11:05:46 +0000 Subject: [mcstas-users] make tk download Message-ID: <9FD256ED3764AA40BD335311A4123FA01B4B57E0@EXCHMBX02.fed.cclrc.ac.uk> The file that is searched for when doing a source build of pgplot using make tk http://www.mcstas.org/download/Tk-804.027_gtk2_patch.tar.gz seems to be missing from the server. 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 farhi at ill.eu Thu Nov 29 16:08:25 2012 From: farhi at ill.eu (Emmanuel FARHI) Date: Thu, 29 Nov 2012 16:08:25 +0100 Subject: [mcstas-users] [ifit-users] New iFit release 1.3 Message-ID: <50B77A69.9030906@ill.eu> An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Fri Nov 30 21:15:54 2012 From: pkwi at fysik.dtu.dk (=?iso-8859-1?Q?Peter_Kj=E6r_Willendrup?=) Date: Fri, 30 Nov 2012 21:15:54 +0100 Subject: [mcstas-users] McStas 2.0RC1 public beta released Message-ID: <47A09B8E-933F-49C2-912A-BE2B6B0B0112@fysik.dtu.dk> Hello everyone, A public beta release of McStas 2.0 called 2.0RC1 has finally been released! McStas 2.0RC1 is a public beta leading up to the long awaited official McStas 2.0. It is a beta release, but we expect that differences to 2.0 will be minimal. The full and long list of changes since last official release is available here: http://mcstas-20rc1.mcstas.org/CHANGES_McStas * If you do not find yourself credited in the long list of contributions - please remind me * * There is still time if you have contributions you would like us to include in the official 2.0 * McStas 2.0RC1 is available through this link: http://mcstas-20rc1.mcstas.org for the following platforms * Linux deb based distros 32 and 64 bit - tested on Debian testing and Ubuntu 64bit * Linux rpm based distros 32 and 64 bit - tested on Scientific Linux and CentOS 64bit * Mac OS X 64 bit, packages for 10.8 Mountain Lion, 10.7 Lion and 10.6 Snow Leopard * Windows 32 and 64 bit - tested on Windows XP, Windows 7 and Windows 8 !! Please read the README file provided with each platform type before installing !! For Unix systems we provide a migration script that will allow you to let an existing 1.x release (i.e. 1.12c) co-exist with the new release. Enjoy! :-) On behalf of the McStas team, Peter Willendrup Peter Kj?r Willendrup Development engineer 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 pkwi at fysik.dtu.dk Sun Dec 2 15:00:44 2012 From: pkwi at fysik.dtu.dk (=?iso-8859-1?Q?Peter_Kj=E6r_Willendrup?=) Date: Sun, 2 Dec 2012 15:00:44 +0100 Subject: [mcstas-users] McStas 2.0RC1 public beta released In-Reply-To: <47A09B8E-933F-49C2-912A-BE2B6B0B0112@fysik.dtu.dk> References: <47A09B8E-933F-49C2-912A-BE2B6B0B0112@fysik.dtu.dk> Message-ID: <8259C8E4-2606-4B83-AD87-B6276CC65094@fysik.dtu.dk> Hi all, A bug in the internal path definitions of the RC1 packages prevented the tools from working properly on Unix systems. For this reason, I have pushed the update 2.0RC2 to http://mcstas-20rc2.mcstas.org Sorry for any inconvenience. Peter Willendrup Peter Kj?r Willendrup Development engineer 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 Nov 30, 2012, at 9:15 PM, Peter Kj?r Willendrup > wrote: Hello everyone, A public beta release of McStas 2.0 called 2.0RC1 has finally been released! McStas 2.0RC1 is a public beta leading up to the long awaited official McStas 2.0. It is a beta release, but we expect that differences to 2.0 will be minimal. The full and long list of changes since last official release is available here: http://mcstas-20rc1.mcstas.org/CHANGES_McStas * If you do not find yourself credited in the long list of contributions - please remind me * * There is still time if you have contributions you would like us to include in the official 2.0 * McStas 2.0RC1 is available through this link: http://mcstas-20rc1.mcstas.org for the following platforms * Linux deb based distros 32 and 64 bit - tested on Debian testing and Ubuntu 64bit * Linux rpm based distros 32 and 64 bit - tested on Scientific Linux and CentOS 64bit * Mac OS X 64 bit, packages for 10.8 Mountain Lion, 10.7 Lion and 10.6 Snow Leopard * Windows 32 and 64 bit - tested on Windows XP, Windows 7 and Windows 8 !! Please read the README file provided with each platform type before installing !! For Unix systems we provide a migration script that will allow you to let an existing 1.x release (i.e. 1.12c) co-exist with the new release. Enjoy! :-) On behalf of the McStas team, Peter Willendrup Peter Kj?r Willendrup Development engineer DTU Physics Technical University of Denmark 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 Dec 3 11:13:44 2012 From: jesuspedrodevicente at gmail.com (=?ISO-8859-1?Q?Jes=FAs_P=2E_de_Vicente?=) Date: Mon, 3 Dec 2012 10:13:44 +0000 Subject: [mcstas-users] mcstas-users Digest, Vol 12, Issue 2 In-Reply-To: References: Message-ID: Thank you very much Peter. I am going to try the new release. It could be possible to compile this version directly from the source files? Thank you. Kind regards, *Jes?s P. de Vicente.-* 2012/12/2 > Send mcstas-users mailing list submissions to > mcstas-users at mcstas.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users > or, via email, send a message with subject or body 'help' to > mcstas-users-request at mcstas.org > > You can reach the person managing the list at > mcstas-users-owner at mcstas.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of mcstas-users digest..." > > > Today's Topics: > > 1. Re: McStas 2.0RC1 public beta released (Peter Kj?r Willendrup) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 2 Dec 2012 15:00:44 +0100 > From: Peter Kj?r Willendrup > To: "mcstas-users at mcstas.org mcstas.org" , > "NOBUGS mailinglist" , > "simulation at lists.esss.dk" > Subject: Re: [mcstas-users] McStas 2.0RC1 public beta released > Message-ID: <8259C8E4-2606-4B83-AD87-B6276CC65094 at fysik.dtu.dk> > Content-Type: text/plain; charset="iso-8859-1" > > Hi all, > > A bug in the internal path definitions of the RC1 packages prevented the > tools from working properly on Unix systems. For this reason, I have pushed > the update 2.0RC2 to http://mcstas-20rc2.mcstas.org > > Sorry for any inconvenience. > > Peter Willendrup > > Peter Kj?r Willendrup > Development engineer > > 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 Nov 30, 2012, at 9:15 PM, Peter Kj?r Willendrup > wrote: > > Hello everyone, > > > A public beta release of McStas 2.0 called 2.0RC1 has finally been > released! > > McStas 2.0RC1 is a public beta leading up to the long awaited official > McStas 2.0. It is a beta release, but we expect that differences to 2.0 > will be minimal. > > The full and long list of changes since last official release is available > here: http://mcstas-20rc1.mcstas.org/CHANGES_McStas > > * If you do not find yourself credited in the long list of contributions - > please remind me * > > * There is still time if you have contributions you would like us to > include in the official 2.0 * > > McStas 2.0RC1 is available through this link: > http://mcstas-20rc1.mcstas.org for the > following platforms > > * Linux deb based distros 32 and 64 bit - tested on Debian testing and > Ubuntu 64bit > * Linux rpm based distros 32 and 64 bit - tested on Scientific Linux and > CentOS 64bit > * Mac OS X 64 bit, packages for 10.8 Mountain Lion, 10.7 Lion and 10.6 > Snow Leopard > * Windows 32 and 64 bit - tested on Windows XP, Windows 7 and Windows 8 > > !! Please read the README file provided with each platform type before > installing !! > > For Unix systems we provide a migration script that will allow you to let > an existing 1.x release (i.e. 1.12c) co-exist with the new release. > > Enjoy! :-) > > > On behalf of the McStas team, > > Peter Willendrup > > > Peter Kj?r Willendrup > Development engineer > > DTU Physics > > > > > > Technical University of Denmark > > > > > > 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: < > http://mailman.mcstas.org/pipermail/mcstas-users/attachments/20121202/5817604b/attachment.html > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: image001.gif > Type: image/gif > Size: 58 bytes > Desc: image001.gif > URL: < > http://mailman.mcstas.org/pipermail/mcstas-users/attachments/20121202/5817604b/attachment.gif > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: image002.gif > Type: image/gif > Size: 1055 bytes > Desc: image002.gif > URL: < > http://mailman.mcstas.org/pipermail/mcstas-users/attachments/20121202/5817604b/attachment-0001.gif > > > > ------------------------------ > > _______________________________________________ > mcstas-users mailing list > mcstas-users at mcstas.org > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users > > > End of mcstas-users Digest, Vol 12, Issue 2 > ******************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jean-Francois.Moulin at hzg.de Mon Dec 3 14:33:20 2012 From: Jean-Francois.Moulin at hzg.de (Jean-Francois.Moulin at hzg.de) Date: Mon, 3 Dec 2012 14:33:20 +0100 Subject: [mcstas-users] install problem 2.0RC2 Message-ID: Hi! I tried installing the RC2 from the deb packages, but got stuck... I am on Mint13 64 bit. I guess I should install the packages in a given sequence and started with mcstas itself. This is what I get when I install mcstas first, it complains that the comps are not there, if I try to install them first, it also does not work. Any help very much welcome! JF sudo dpkg -i mcstas-2.0RC2-linux64.deb (Reading database ... 242596 files and directories currently installed.) Preparing to replace mcstas-2.0rc2 1.0 (using mcstas-2.0RC2-linux64.deb) ... Unpacking replacement mcstas-2.0rc2 ... Setting up mcstas-2.0rc2 (1.0) ... mccode-select -> /usr/local/bin/mccode-select-mcstas-2.0RC2 INSTALL: mccode-select: /usr/local/bin/mccode-select-mcstas-2.0RC2 mccode-select-bundle -> /usr/local/bin/mccode-select-bundle-mcstas-2.0RC2 INSTALL: mccode-select-bundle: /usr/local/bin/mccode-select-bundle-mcstas-2.0RC2 Core: mcstas -> /usr/local/bin/mcstas-2.0RC2 INSTALL: mcstas: /usr/local/bin/mcstas-2.0RC2 update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcstas-2.0RC2 because link group mcstas is broken. update-alternatives: warning: not replacing /usr/local/man/man1/mcstas.1 with a link. update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcstas-2.0RC2 because link group mcstas is broken. update-alternatives: warning: not replacing /usr/local/man/man1/mcstas.1 with a link. mcformat -> /usr/local/bin/mcformat-2.0RC2 INSTALL: mcformat: /usr/local/bin/mcformat-2.0RC2 update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcformat-2.0RC2 because link group mcformat is broken. update-alternatives: warning: not replacing /usr/local/man/man1/mcformat.1 with a link. update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcformat-2.0RC2 because link group mcformat is broken. update-alternatives: warning: not replacing /usr/local/man/man1/mcformat.1 with a link. Tools: mcconfig: cannot locate binary: /usr/local/bin/mcconfig-2.0RC2 > skipping: mcstas-tools-2.0RC2 isn't installed? mcconvert: cannot locate binary: /usr/local/bin/mcconvert-2.0RC2 > skipping: mcstas-tools-2.0RC2 isn't installed? mcdaemon: cannot locate binary: /usr/local/bin/mcdaemon-2.0RC2 > skipping: mcstas-tools-2.0RC2 isn't installed? mcdisplay: cannot locate binary: /usr/local/bin/mcdisplay-2.0RC2 > skipping: mcstas-tools-2.0RC2 isn't installed? mcdoc: cannot locate binary: /usr/local/bin/mcdoc-2.0RC2 > skipping: mcstas-tools-2.0RC2 isn't installed? mcformatgui: cannot locate binary: /usr/local/bin/mcformatgui-2.0RC2 > skipping: mcstas-tools-2.0RC2 isn't installed? mcgui: cannot locate binary: /usr/local/bin/mcgui-2.0RC2 > skipping: mcstas-tools-2.0RC2 isn't installed? mcplot: cannot locate binary: /usr/local/bin/mcplot-2.0RC2 > skipping: mcstas-tools-2.0RC2 isn't installed? mcresplot: cannot locate binary: /usr/local/bin/mcresplot-2.0RC2 > skipping: mcstas-tools-2.0RC2 isn't installed? mcrun: cannot locate binary: /usr/local/bin/mcrun-2.0RC2 > skipping: mcstas-tools-2.0RC2 isn't installed? mcstas2vitess: cannot locate binary: /usr/local/bin/mcstas2vitess-2.0RC2 > skipping: mcstas-tools-2.0RC2 isn't installed? Processing triggers for man-db ... - Helmholtz 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 I 21502 Geesthacht I Deutschland/Germany Gesch?ftsf?hrer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Gan? Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig Wilfried Kraus Amtsgericht L?beck HRB 285 GE (Register Court) Internet: http://www.hzg.de From brinchj at gmail.com Mon Dec 3 14:42:19 2012 From: brinchj at gmail.com (Johan Brinch) Date: Mon, 3 Dec 2012 14:42:19 +0100 Subject: [mcstas-users] install problem 2.0RC2 In-Reply-To: References: Message-ID: Hi! It's great that you're trying out the RC! :) Let me see if I can clear up what's going on. On Mon, Dec 3, 2012 at 2:33 PM, wrote: > mcstas -> /usr/local/bin/mcstas-2.0RC2 > INSTALL: mcstas: /usr/local/bin/mcstas-2.0RC2 > update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcstas-2.0RC2 because link group mcstas is broken. > update-alternatives: warning: not replacing /usr/local/man/man1/mcstas.1 with a link. > update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcstas-2.0RC2 because link group mcstas is broken. > update-alternatives: warning: not replacing /usr/local/man/man1/mcstas.1 with a link. > mcformat -> /usr/local/bin/mcformat-2.0RC2 > INSTALL: mcformat: /usr/local/bin/mcformat-2.0RC2 > update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcformat-2.0RC2 because link group mcformat is broken. > update-alternatives: warning: not replacing /usr/local/man/man1/mcformat.1 with a link. > update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcformat-2.0RC2 because link group mcformat is broken. > update-alternatives: warning: not replacing /usr/local/man/man1/mcformat.1 with a link. > It seems you already have files in /usr/local/man/man1/mcformat.1 and /usr/local/man/man1/mcstas.1 ... the new version is trying to replace these with links but cannot do this (as they already exist as regular files). These files could be left-overs from an older version that wasn't completely uninstalled. > Tools: > mcconfig: cannot locate binary: /usr/local/bin/mcconfig-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcconvert: cannot locate binary: /usr/local/bin/mcconvert-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcdaemon: cannot locate binary: /usr/local/bin/mcdaemon-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcdisplay: cannot locate binary: /usr/local/bin/mcdisplay-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcdoc: cannot locate binary: /usr/local/bin/mcdoc-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcformatgui: cannot locate binary: /usr/local/bin/mcformatgui-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcgui: cannot locate binary: /usr/local/bin/mcgui-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcplot: cannot locate binary: /usr/local/bin/mcplot-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcresplot: cannot locate binary: /usr/local/bin/mcresplot-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcrun: cannot locate binary: /usr/local/bin/mcrun-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcstas2vitess: cannot locate binary: /usr/local/bin/mcstas2vitess-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > Processing triggers for man-db ... These are merely "warnings" and can be ignored. The install process is noting, that the listed tools are not installed and will not be configured (this will happen when they are installed). We are considering silencing the process as it is more confusing than informative. But you can safely ignore the "skipping: ...." warnings. -- Johan Brinch From Jean-Francois.Moulin at hzg.de Mon Dec 3 15:16:30 2012 From: Jean-Francois.Moulin at hzg.de (Jean-Francois.Moulin at hzg.de) Date: Mon, 3 Dec 2012 15:16:30 +0100 Subject: [mcstas-users] install problem 2.0RC2 In-Reply-To: References: , Message-ID: Thanks for the input. I tried and now get the following problems: 0) How do I get mcgui??? 1) directly doing mcstas-2.0RC2 foo_bar.instr resulted in an awful lot of errors, I guess these are compatibility issues I'll look at later. At least this means mcstas seems to be running. So far so good. 3) further install problems: I have matplotlib latest version installed from source, but: sudo dpkg -i mcstas-tools-Python-mcplot-matplotlib-2.0RC2-linux64.deb Selecting previously unselected package mcstas-tools-python-mcplot-matplotlib-2.0rc2. (Reading database ... 242596 files and directories currently installed.) Unpacking mcstas-tools-python-mcplot-matplotlib-2.0rc2 (from mcstas-tools-Python-mcplot-matplotlib-2.0RC2-linux64.deb) ... dpkg: dependency problems prevent configuration of mcstas-tools-python-mcplot-matplotlib-2.0rc2: mcstas-tools-python-mcplot-matplotlib-2.0rc2 depends on python-matplotlib; however: Package python-matplotlib is not installed. dpkg: error processing mcstas-tools-python-mcplot-matplotlib-2.0rc2 (--install): dependency problems - leaving unconfigured Errors were encountered while processing: mcstas-tools-python-mcplot-matplotlib-2.0rc2 idem for yaml: sudo dpkg -i mcstas-tools-Python-mcrun-2.0RC2-linux64.deb Selecting previously unselected package mcstas-tools-python-mcrun-2.0rc2. (Reading database ... 242599 files and directories currently installed.) Unpacking mcstas-tools-python-mcrun-2.0rc2 (from mcstas-tools-Python-mcrun-2.0RC2-linux64.deb) ... dpkg: dependency problems prevent configuration of mcstas-tools-python-mcrun-2.0rc2: mcstas-tools-python-mcrun-2.0rc2 depends on python-yaml; however: Package python-yaml is not installed. dpkg: error processing mcstas-tools-python-mcrun-2.0rc2 (--install): dependency problems - leaving unconfigured Errors were encountered while processing: mcstas-tools-python-mcrun-2.0rc2 I guess it might be possible to tell dpkg where the dependencies are... Last question for the road: if I ever succed to have 2.0 running, how should I reinstall a 1.X version as concurent? (I was a bit bold and removed my previous install when I got the error messages) Thanks for your help! JF - Helmholtz 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 -----zerrez at gmail.com schrieb: ----- An: Jean-Francois.Moulin at hzg.de Von: Johan Brinch Gesendet von: zerrez at gmail.com Datum: 12/03/2012 02:42PM Kopie: mcstas-users at mcstas.org Betreff: Re: [mcstas-users] install problem 2.0RC2 Hi! It's great that you're trying out the RC! :) Let me see if I can clear up what's going on. On Mon, Dec 3, 2012 at 2:33 PM, ? wrote: > mcstas -> /usr/local/bin/mcstas-2.0RC2 > INSTALL: mcstas: /usr/local/bin/mcstas-2.0RC2 > update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcstas-2.0RC2 because link group mcstas is broken. > update-alternatives: warning: not replacing /usr/local/man/man1/mcstas.1 with a link. > update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcstas-2.0RC2 because link group mcstas is broken. > update-alternatives: warning: not replacing /usr/local/man/man1/mcstas.1 with a link. > mcformat -> /usr/local/bin/mcformat-2.0RC2 > INSTALL: mcformat: /usr/local/bin/mcformat-2.0RC2 > update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcformat-2.0RC2 because link group mcformat is broken. > update-alternatives: warning: not replacing /usr/local/man/man1/mcformat.1 with a link. > update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcformat-2.0RC2 because link group mcformat is broken. > update-alternatives: warning: not replacing /usr/local/man/man1/mcformat.1 with a link. > It seems you already have files in /usr/local/man/man1/mcformat.1 and /usr/local/man/man1/mcstas.1 ?... the new version is trying to replace these with links but cannot do this (as they already exist as regular files). These files could be left-overs from an older version that wasn't completely uninstalled. > Tools: > mcconfig: cannot locate binary: /usr/local/bin/mcconfig-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcconvert: cannot locate binary: /usr/local/bin/mcconvert-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcdaemon: cannot locate binary: /usr/local/bin/mcdaemon-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcdisplay: cannot locate binary: /usr/local/bin/mcdisplay-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcdoc: cannot locate binary: /usr/local/bin/mcdoc-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcformatgui: cannot locate binary: /usr/local/bin/mcformatgui-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcgui: cannot locate binary: /usr/local/bin/mcgui-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcplot: cannot locate binary: /usr/local/bin/mcplot-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcresplot: cannot locate binary: /usr/local/bin/mcresplot-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcrun: cannot locate binary: /usr/local/bin/mcrun-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > mcstas2vitess: cannot locate binary: /usr/local/bin/mcstas2vitess-2.0RC2 >> skipping: mcstas-tools-2.0RC2 isn't installed? > Processing triggers for man-db ... These are merely "warnings" and can be ignored. The install process is noting, that the listed tools are not installed and will not be configured (this will happen when they are installed). We are considering silencing the process as it is more confusing than informative. But you can safely ignore the "skipping: ...." warnings. -- Johan Brinch Helmholtz-Zentrum Geesthacht Zentrum f?r Material- und K?stenforschung GmbH Max-Planck-Stra?e 1 I 21502 Geesthacht I Deutschland/Germany Gesch?ftsf?hrer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Gan? Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig Wilfried Kraus Amtsgericht L?beck HRB 285 GE (Register Court) Internet: http://www.hzg.de From p at willendrup.org Mon Dec 3 15:30:45 2012 From: p at willendrup.org (Peter Willendrup) Date: Mon, 3 Dec 2012 15:30:45 +0100 Subject: [mcstas-users] install problem 2.0RC2 In-Reply-To: References: , Message-ID: <9DC6718E-8918-4498-85ED-7ECF4D88E350@willendrup.org> Hi J-F, On Dec 3, 2012, at 3:16 PM, Jean-Francois.Moulin at hzg.de wrote: > Thanks for the input. > I tried and now get the following problems: > > 0) How do I get mcgui??? So far we don't have a Python-based mcgui, so you need the mcstas-tools-perl package for that. :-) Once you have it, it should install itself as 'mcgui' via a link to mcgui-2.0RC2 > 1) directly doing mcstas-2.0RC2 foo_bar.instr resulted in an awful lot of errors, I guess these are compatibility issues I'll look at later. Probably, yes. > At least this means mcstas seems to be running. So far so good. Good to hear that. :-) If you end up in a dead alley under point 1) feel free to send me the instrument file... > 3) further install problems: > I have matplotlib latest version installed from source, but: > > sudo dpkg -i mcstas-tools-Python-mcplot-matplotlib-2.0RC2-linux64.deb > Selecting previously unselected package mcstas-tools-python-mcplot-matplotlib-2.0rc2. > (Reading database ... 242596 files and directories currently installed.) > Unpacking mcstas-tools-python-mcplot-matplotlib-2.0rc2 (from mcstas-tools-Python-mcplot-matplotlib-2.0RC2-linux64.deb) ... > dpkg: dependency problems prevent configuration of mcstas-tools-python-mcplot-matplotlib-2.0rc2: > mcstas-tools-python-mcplot-matplotlib-2.0rc2 depends on python-matplotlib; however: > Package python-matplotlib is not installed. > dpkg: error processing mcstas-tools-python-mcplot-matplotlib-2.0rc2 (--install): > dependency problems - leaving unconfigured > Errors were encountered while processing: > mcstas-tools-python-mcplot-matplotlib-2.0rc2 > > > idem for yaml: > > sudo dpkg -i mcstas-tools-Python-mcrun-2.0RC2-linux64.deb > Selecting previously unselected package mcstas-tools-python-mcrun-2.0rc2. > (Reading database ... 242599 files and directories currently installed.) > Unpacking mcstas-tools-python-mcrun-2.0rc2 (from mcstas-tools-Python-mcrun-2.0RC2-linux64.deb) ... > dpkg: dependency problems prevent configuration of mcstas-tools-python-mcrun-2.0rc2: > mcstas-tools-python-mcrun-2.0rc2 depends on python-yaml; however: > Package python-yaml is not installed. > dpkg: error processing mcstas-tools-python-mcrun-2.0rc2 (--install): > dependency problems - leaving unconfigured > Errors were encountered while processing: > mcstas-tools-python-mcrun-2.0rc2 > > > I guess it might be possible to tell dpkg where the dependencies are? apt-get -f install should in principle fix that I think? Otherwise, on a raw Debian you need to allow the non-free and contrib repos, you may need to switch on something in mint? > Last question for the road: if I ever succed to have 2.0 running, how should I reinstall a 1.X version as concurent? (I was a bit bold and removed my previous install when I got the error messages) The easiest way would have been to use our migration tool (i.e. http://mcstas-20rc2.mcstas.org/Linux/deb_64bit/migrate-mcstas.sh) BEFORE uninstalling mcstas-1.12c as mentioned in the README.. ;-) Alternatively I would install mcstas-1.12c from the source tgz package (all dependencies should be resolved using the 2.0RC2 deb package now) and set a prefix using ./configure --prefix=/where/ever/you/want/mcstas-1.12c Best, Peter > - > Helmholtz 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 > > -----zerrez at gmail.com schrieb: ----- > An: Jean-Francois.Moulin at hzg.de > Von: Johan Brinch > Gesendet von: zerrez at gmail.com > Datum: 12/03/2012 02:42PM > Kopie: mcstas-users at mcstas.org > Betreff: Re: [mcstas-users] install problem 2.0RC2 > > Hi! > > It's great that you're trying out the RC! :) > Let me see if I can clear up what's going on. > > > On Mon, Dec 3, 2012 at 2:33 PM, wrote: >> mcstas -> /usr/local/bin/mcstas-2.0RC2 >> INSTALL: mcstas: /usr/local/bin/mcstas-2.0RC2 >> update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcstas-2.0RC2 because link group mcstas is broken. >> update-alternatives: warning: not replacing /usr/local/man/man1/mcstas.1 with a link. >> update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcstas-2.0RC2 because link group mcstas is broken. >> update-alternatives: warning: not replacing /usr/local/man/man1/mcstas.1 with a link. >> mcformat -> /usr/local/bin/mcformat-2.0RC2 >> INSTALL: mcformat: /usr/local/bin/mcformat-2.0RC2 >> update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcformat-2.0RC2 because link group mcformat is broken. >> update-alternatives: warning: not replacing /usr/local/man/man1/mcformat.1 with a link. >> update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcformat-2.0RC2 because link group mcformat is broken. >> update-alternatives: warning: not replacing /usr/local/man/man1/mcformat.1 with a link. >> > > > It seems you already have files in /usr/local/man/man1/mcformat.1 and > /usr/local/man/man1/mcstas.1 ... the new version is trying to replace > these with links but cannot do this (as they already exist as regular > files). > > These files could be left-overs from an older version that wasn't > completely uninstalled. > > >> Tools: >> mcconfig: cannot locate binary: /usr/local/bin/mcconfig-2.0RC2 >>> skipping: mcstas-tools-2.0RC2 isn't installed? >> mcconvert: cannot locate binary: /usr/local/bin/mcconvert-2.0RC2 >>> skipping: mcstas-tools-2.0RC2 isn't installed? >> mcdaemon: cannot locate binary: /usr/local/bin/mcdaemon-2.0RC2 >>> skipping: mcstas-tools-2.0RC2 isn't installed? >> mcdisplay: cannot locate binary: /usr/local/bin/mcdisplay-2.0RC2 >>> skipping: mcstas-tools-2.0RC2 isn't installed? >> mcdoc: cannot locate binary: /usr/local/bin/mcdoc-2.0RC2 >>> skipping: mcstas-tools-2.0RC2 isn't installed? >> mcformatgui: cannot locate binary: /usr/local/bin/mcformatgui-2.0RC2 >>> skipping: mcstas-tools-2.0RC2 isn't installed? >> mcgui: cannot locate binary: /usr/local/bin/mcgui-2.0RC2 >>> skipping: mcstas-tools-2.0RC2 isn't installed? >> mcplot: cannot locate binary: /usr/local/bin/mcplot-2.0RC2 >>> skipping: mcstas-tools-2.0RC2 isn't installed? >> mcresplot: cannot locate binary: /usr/local/bin/mcresplot-2.0RC2 >>> skipping: mcstas-tools-2.0RC2 isn't installed? >> mcrun: cannot locate binary: /usr/local/bin/mcrun-2.0RC2 >>> skipping: mcstas-tools-2.0RC2 isn't installed? >> mcstas2vitess: cannot locate binary: /usr/local/bin/mcstas2vitess-2.0RC2 >>> skipping: mcstas-tools-2.0RC2 isn't installed? >> Processing triggers for man-db ... > > > These are merely "warnings" and can be ignored. The install process is > noting, that the listed tools are not installed and will not be > configured (this will happen when they are installed). We are > considering silencing the process as it is more confusing than > informative. > > But you can safely ignore the "skipping: ...." warnings. > > -- > Johan Brinch > Helmholtz-Zentrum Geesthacht > Zentrum f?r Material- und K?stenforschung GmbH > Max-Planck-Stra?e 1 I 21502 Geesthacht I Deutschland/Germany > > Gesch?ftsf?hrer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Gan? > Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig Wilfried Kraus > Amtsgericht L?beck HRB 285 GE (Register Court) > Internet: http://www.hzg.de > _______________________________________________ > mcstas-users mailing list > mcstas-users at mcstas.org > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users From mosqueen at alga.pnpi.spb.ru Wed Dec 12 16:04:13 2012 From: mosqueen at alga.pnpi.spb.ru (Evgeny Moskvin) Date: Wed, 12 Dec 2012 18:04:13 +0300 Subject: [mcstas-users] two problems with 2.0RC2 Message-ID: <1C78A75C-20C0-4BD6-ADB5-3034F91F1142@alga.pnpi.spb.ru> Dear gentlemen, I've installed 2.0 version on my mac 10.6.8. Everything seems to be ok except few things: - the code highlighter doesn't work, it says: "Starting Tk::CodeText based editor failed. Using simpler McStas 1.7 style editor" I've reinstalled Tk library from the package you provided, but nothing changes. What would be the problem? - some of my old files don't run on the new version (not surprise). I used "migrate" scripts provided with new version, but when I start the old version via command /usr/local/bin/McStas-1.12c/mcgui it starts the old gui version (with code highlighter), but in the log window it writes the following: "mcstas-2.0RC2 version 2.0RC2 (Dec. 02, 2012) Copyright (C) Risoe National Laboratory, 1997-2010 Additions (C) Institut Laue Langevin, 2003-2010 All rights reserved Plotters: PGPLOT/McStas HTML VRML Warning: No MPI/grid machine list. Running locally. Define /Users/emoskvin/.mcstas/hosts or /usr/local/lib/mcstas/tools/perl/hosts or use option --machines= Clustering methods: Single MPI Grid" which belong (I believe) to the new engine, and it doesn't compile my old files either. What would be the workaround for this? Best regards, Evgeny. From pkwi at fysik.dtu.dk Sun Dec 16 08:12:30 2012 From: pkwi at fysik.dtu.dk (=?iso-8859-1?Q?Peter_Kj=E6r_Willendrup?=) Date: Sun, 16 Dec 2012 07:12:30 +0000 Subject: [mcstas-users] two problems with 2.0RC2 In-Reply-To: <1C78A75C-20C0-4BD6-ADB5-3034F91F1142@alga.pnpi.spb.ru> References: <1C78A75C-20C0-4BD6-ADB5-3034F91F1142@alga.pnpi.spb.ru> Message-ID: <0060DE3AEB7B2D43842E30470567BD9702A872@ait-pex02mbx04.win.dtu.dk> Dear Evgeny, On Dec 12, 2012, at 16:04 , Evgeny Moskvin > wrote: I've installed 2.0 version on my mac 10.6.8. Everything seems to be ok except few things: First of all great that you had a look! :-) - the code highlighter doesn't work, it says: "Starting Tk::CodeText based editor failed. Using simpler McStas 1.7 style editor" I've reinstalled Tk library from the package you provided, but nothing changes. What would be the problem? I will roll a new one for you, it seems I somehow did not include the Tk::CodeText properly... - some of my old files don't run on the new version (not surprise). I used "migrate" scripts provided with new version, but when I start the old version via command /usr/local/bin/McStas-1.12c/mcgui it starts the old gui version (with code highlighter), but in the log window it writes the following: "mcstas-2.0RC2 version 2.0RC2 (Dec. 02, 2012) Copyright (C) Risoe National Laboratory, 1997-2010 Additions (C) Institut Laue Langevin, 2003-2010 All rights reserved Plotters: PGPLOT/McStas HTML VRML Warning: No MPI/grid machine list. Running locally. Define /Users/emoskvin/.mcstas/hosts or /usr/local/lib/mcstas/tools/perl/hosts or use option --machines= Clustering methods: Single MPI Grid" which belong (I believe) to the new engine, and it doesn't compile my old files either. What would be the workaround for this? You need to use the "environment" script that was also created in /tmp to enable a "mcstas 1.12c environment" - otherwise you will get a mixture of the two versions as you describe. In case you lost the script I have attached it here as well. (For safety please check that the path's etc. correspond to those on your system. :-) ) Dump it in e.g. /usr/local/bin and then execute mcstas-1.12c-enviroment in a Terminal - running mcgui, mcrun, mcstas etc. should then correspond to the old version Best and hope this helps, Peter [cid:8a62421e-b04a-4640-bd0d-99aabba93d59 at win.dtu.dk] Technical University of Denmark [cid:de7671c9-d324-45d8-8bd2-e20bd6f1e298 at win.dtu.dk] 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: mcstas-1.12c-environment Type: application/octet-stream Size: 329 bytes Desc: mcstas-1.12c-environment URL: From pkwi at fysik.dtu.dk Sun Dec 16 10:21:15 2012 From: pkwi at fysik.dtu.dk (=?iso-8859-1?Q?Peter_Kj=E6r_Willendrup?=) Date: Sun, 16 Dec 2012 09:21:15 +0000 Subject: [mcstas-users] two problems with 2.0RC2 In-Reply-To: <0060DE3AEB7B2D43842E30470567BD9702A872@ait-pex02mbx04.win.dtu.dk> References: <1C78A75C-20C0-4BD6-ADB5-3034F91F1142@alga.pnpi.spb.ru> <0060DE3AEB7B2D43842E30470567BD9702A872@ait-pex02mbx04.win.dtu.dk> Message-ID: <0060DE3AEB7B2D43842E30470567BD9702AEDE@ait-pex02mbx04.win.dtu.dk> Dear Evgeny, In regard to the Tk package - a new one built on Snow Leopard including Tk::CodeText is now available here: http://mcstas-20rc2.mcstas.org/MacOS/10.6_Snow_Leopard/Tk-804_030_MacOSX_10_6_Perl_5_8_9.pkg.zip Best, Peter Peter Kj?r Willendrup Development engineer 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 Dec 16, 2012, at 08:12 , Peter Willendrup > wrote: Dear Evgeny, On Dec 12, 2012, at 16:04 , Evgeny Moskvin > wrote: I've installed 2.0 version on my mac 10.6.8. Everything seems to be ok except few things: First of all great that you had a look! :-) - the code highlighter doesn't work, it says: "Starting Tk::CodeText based editor failed. Using simpler McStas 1.7 style editor" I've reinstalled Tk library from the package you provided, but nothing changes. What would be the problem? I will roll a new one for you, it seems I somehow did not include the Tk::CodeText properly... - some of my old files don't run on the new version (not surprise). I used "migrate" scripts provided with new version, but when I start the old version via command /usr/local/bin/McStas-1.12c/mcgui it starts the old gui version (with code highlighter), but in the log window it writes the following: "mcstas-2.0RC2 version 2.0RC2 (Dec. 02, 2012) Copyright (C) Risoe National Laboratory, 1997-2010 Additions (C) Institut Laue Langevin, 2003-2010 All rights reserved Plotters: PGPLOT/McStas HTML VRML Warning: No MPI/grid machine list. Running locally. Define /Users/emoskvin/.mcstas/hosts or /usr/local/lib/mcstas/tools/perl/hosts or use option --machines= Clustering methods: Single MPI Grid" which belong (I believe) to the new engine, and it doesn't compile my old files either. What would be the workaround for this? You need to use the "environment" script that was also created in /tmp to enable a "mcstas 1.12c environment" - otherwise you will get a mixture of the two versions as you describe. In case you lost the script I have attached it here as well. (For safety please check that the path's etc. correspond to those on your system. :-) ) Dump it in e.g. /usr/local/bin and then execute mcstas-1.12c-enviroment in a Terminal - running mcgui, mcrun, mcstas etc. should then correspond to the old version Best and hope this helps, Peter Technical University of Denmark 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 emoskvin at lns.pnpi.spb.ru Thu Dec 20 13:49:51 2012 From: emoskvin at lns.pnpi.spb.ru (Evgeny Moskvin) Date: Thu, 20 Dec 2012 15:49:51 +0300 Subject: [mcstas-users] two problems with 2.0RC2 In-Reply-To: <0060DE3AEB7B2D43842E30470567BD9702AEDE@ait-pex02mbx04.win.dtu.dk> References: <1C78A75C-20C0-4BD6-ADB5-3034F91F1142@alga.pnpi.spb.ru> <0060DE3AEB7B2D43842E30470567BD9702A872@ait-pex02mbx04.win.dtu.dk> <0060DE3AEB7B2D43842E30470567BD9702AEDE@ait-pex02mbx04.win.dtu.dk> Message-ID: <5FAF6B76-4466-4668-ABA1-86003CEAEDD0@lns.pnpi.spb.ru> Dear Peter, > In regard to the Tk package - a new one built on Snow Leopard including Tk::CodeText is now available here: > > http://mcstas-20rc2.mcstas.org/MacOS/10.6_Snow_Leopard/Tk-804_030_MacOSX_10_6_Perl_5_8_9.pkg.zip it works, thank you! But another problem appeared. It happens at some point during "sim-edit-sim... etc" iterations. Suddenly the run menu appears without parameters list, and the log is: [emoskvin:17843] *** Process received signal *** [emoskvin:17843] Signal: Segmentation fault (11) [emoskvin:17843] Signal code: Address not mapped (1) [emoskvin:17843] Failing at address: 0x8 [emoskvin:17843] [ 0] 2 libSystem.B.dylib 0x00007fff83fa71ba _sigtramp + 26 [emoskvin:17843] [ 1] 3 ??? 0x0000000000000000 0x0 + 0 [emoskvin:17843] [ 2] 4 H2_D2.out 0x00000001000075c2 mcsiminfo_init + 509 [emoskvin:17843] [ 3] 5 H2_D2.out 0x00000001000107b2 mcinfo + 82 [emoskvin:17843] [ 4] 6 H2_D2.out 0x00000001000115ef mcparseoptions + 2402 [emoskvin:17843] [ 5] 7 H2_D2.out 0x00000001000128e0 mccode_main + 605 [emoskvin:17843] [ 6] 8 H2_D2.out 0x00000001000143eb main + 27 [emoskvin:17843] [ 7] 9 H2_D2.out 0x000000010000155c start + 52 [emoskvin:17843] *** End of error message *** It happens not only with my own files, but also with mcstas examples. And of corse it's not possible to start simulations, because if you press "run" button (in gui), the system waits for user to enter parameters in the back (terminal window which is not available for typing in it). Restarting mcgui helps with build in examples, but doesn't with my file. I tried to run without gui by mcrun H2_D2.instr doesn't work either, the error message is Traceback (most recent call last): File "/usr/local/bin/mcrun", line 9, in from mcstas import McStas File "/usr/local/lib/mcstas-tools-python-mcrun-2.0RC2/mcstas.py", line 6, in import yaml ImportError: No module named yaml Hope my explanations are clear (more or less)... So, what would be a problem? >> You need to use the "environment" script that was also created in /tmp to enable a "mcstas 1.12c I did run this script right after migration process, and it was fine. So now it's in /usr/local/bin and when I run mcgui after this script in terminal, it starts old gui with new engine: mcstas-2.0RC2 version 2.0RC2 (Dec. 02, 2012) Copyright (C) Risoe National Laboratory, 1997-2010 Additions (C) Institut Laue Langevin, 2003-2010 All rights reserved Plotters: PGPLOT/McStas HTML VRML Warning: No MPI/grid machine list. Running locally. Define /Users/emoskvin/.mcstas/hosts or /usr/local/lib/mcstas-1.12c/tools/perl/hosts or use option --machines= Clustering methods: Single MPI Grid and in my case "run menu" doesn't have parameters list as described above. So, I'm stacked.... Best, Evgeny. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Fri Dec 21 16:34:29 2012 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Fri, 21 Dec 2012 15:34:29 +0000 Subject: [mcstas-users] Seasons greetings & McStas 2.0 is ready! Message-ID: <0060DE3AEB7B2D43842E30470567BD9703AA9E@ait-pex02mbx04.win.dtu.dk> Hello everyone, McStas 2.0 is finally ready and has been uploaded to www.mcstas.org/downloads ! The full and long list of changes since last official release has been attached to this mail in txt format. McStas 2.0 is available for the following platforms * Linux deb based distros 32 and 64 bit - tested on Debian testing and Ubuntu 64bit * Linux rpm based distros 32 and 64 bit - tested on Scientific Linux and CentOS 64bit * Mac OS X 64 bit, packages for 10.8 Mountain Lion, 10.7 Lion and 10.6 Snow Leopard * Windows 32 and 64 bit - tested on Windows XP, Windows 7 and Windows 8 !! Please read the README file provided with each platform type before installing !! !! On Unix, please use the provided migration script for moving your 1.12c or earlier out of the way!! !! On windows, please install all the dependencies we ask for, don't rely on those from 1.12c working!! Hope you will enjoy this little X-mas present! :-) Please contact us if you experience trouble with McStas 2.0 (we might not answer this side of New Year's ;-) ) Seasons greetings from all of the McStas team, Peter Willendrup Peter Kj?r Willendrup Development engineer DTU Physics [cid:af743f40-46a7-4852-b3c9-e00bb9d940e7 at win.dtu.dk] Technical University of Denmark [cid:9e0b92ad-24cc-4f59-bcee-7e85b7786a26 at win.dtu.dk] 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: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: CHANGES_McStas.txt URL: From pkwi at fysik.dtu.dk Fri Dec 21 19:58:19 2012 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Fri, 21 Dec 2012 18:58:19 +0000 Subject: [mcstas-users] two problems with 2.0RC2 In-Reply-To: <5FAF6B76-4466-4668-ABA1-86003CEAEDD0@lns.pnpi.spb.ru> References: <1C78A75C-20C0-4BD6-ADB5-3034F91F1142@alga.pnpi.spb.ru> <0060DE3AEB7B2D43842E30470567BD9702A872@ait-pex02mbx04.win.dtu.dk> <0060DE3AEB7B2D43842E30470567BD9702AEDE@ait-pex02mbx04.win.dtu.dk> <5FAF6B76-4466-4668-ABA1-86003CEAEDD0@lns.pnpi.spb.ru> Message-ID: <0060DE3AEB7B2D43842E30470567BD9703AEC6@ait-pex02mbx04.win.dtu.dk> Hi Evgeny, On Dec 20, 2012, at 13:49 , Evgeny Moskvin > wrote: In regard to the Tk package - a new one built on Snow Leopard including Tk::CodeText is now available here: http://mcstas-20rc2.mcstas.org/MacOS/10.6_Snow_Leopard/Tk-804_030_MacOSX_10_6_Perl_5_8_9.pkg.zip it works, thank you! But another problem appeared. It happens at some point during "sim-edit-sim... etc" iterations. Suddenly the run menu appears without parameters list, and the log is: [emoskvin:17843] *** Process received signal *** [emoskvin:17843] Signal: Segmentation fault (11) Ouch - doesn't sound good? Try if the official 2.0 is any better? It happens not only with my own files, but also with mcstas examples. And of corse it's not possible to start simulations, because if you press "run" button (in gui), the system waits for user to enter parameters in the back (terminal window which is not available for typing in it). Restarting mcgui helps with build in examples, but doesn't with my file. I tried to run without gui by mcrun H2_D2.instr doesn't work either, the error message is Traceback (most recent call last): File "/usr/local/bin/mcrun", line 9, in from mcstas import McStas File "/usr/local/lib/mcstas-tools-python-mcrun-2.0RC2/mcstas.py", line 6, in import yaml ImportError: No module named yaml This means the Python mcrun is missing yaml - try getting it like this in a terminal: sudo easy_install pyyaml Alternatively the mccode-select command can be used to define the "default" mcrun to be the perl one, using: mccode-select --install mcrun 2.0RC2 Hope my explanations are clear (more or less)... So, what would be a problem? You need to use the "environment" script that was also created in /tmp to enable a "mcstas 1.12c I did run this script right after migration process, and it was fine. So now it's in /usr/local/bin and when I run mcgui after this script in terminal, it starts old gui with new engine: mcstas-2.0RC2 version 2.0RC2 (Dec. 02, 2012) Copyright (C) Risoe National Laboratory, 1997-2010 Additions (C) Institut Laue Langevin, 2003-2010 All rights reserved Plotters: PGPLOT/McStas HTML VRML Warning: No MPI/grid machine list. Running locally. Define /Users/emoskvin/.mcstas/hosts or /usr/local/lib/mcstas-1.12c/tools/perl/hosts or use option --machines= Clustering methods: Single MPI Grid and in my case "run menu" doesn't have parameters list as described above. So, I'm stacked?. Sounds like a mix between the 1.12c and 2.0 still? Have a look if your 1.12c is in /usr/local/lib/mcstas-1.12c with bin and lib subfolders? In that case it should be safe to remove the mcgui mcplot etc commands in /usr/local/bin and afterwards reinstall the new packages? Best, Peter Peter Kj?r Willendrup Development engineer 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: