From erkn at fysik.dtu.dk Mon Jan 24 13:20:12 2022 From: erkn at fysik.dtu.dk (Erik B Knudsen) Date: Mon, 24 Jan 2022 13:20:12 +0100 Subject: [mcxtrace-users] McXtrace 1-7 is Released! Message-ID: McXtrace 1.7 is released Dear simulators, The team is happy to announce that McXtrace 1.7 is out! 1.7 has been focused mainly on stability and bugfixes, but also provides a set of new features. Binary packages are provided for the main platforms: Debian /Ubuntu, Fedora, Windows 10, Mac OSX (arm and intel based). As is the presenty custom, see https://github.com/McStasMcXtrace/McCode/tree/master/INSTALL-McXtrace for speecific installation instructions for you platform. Please also keep an eye out for the for upcoming release of McXtrace 3.0, which is a technology preview release of an improved code-generator enabling McXtrace to run on GPUs. Happy simulation! McXtrace 1.7 is released Dear simulators, The team is happy to announce that McXtrace 1.7 is out! 1.7 has been focused mainly on stability and bugfixes, but also provides a set of new features. Binary packages are provided for the main platforms: Debian /Ubuntu, Fedora, Windows 10, Mac OSX (arm and intel based). As is the presenty custom, see https://github.com/McStasMcXtrace/McCode/tree/master/INSTALL-McXtrace for speecific installation instructions for you platform. Please also keep an eye out for the for upcoming release of McXtrace 3.0, which is a technology preview release of an improved code-generator enabling McXtrace to run on GPUs. Happy simulation! /Erik on behalf of the McXtrace development team CHANGES in 1.7 This is mainly a bugfix/update release, but does include the first model of a beamline at the SOLEIL synchrotron. It also marks a switch for McXtrace to the the GPLv3 license. 1. Improved installation scripts 1. Installs cleanly on Mac silicon 2. Updated examples: 1. MAXIV_DanMAX_pxrd2d.instr 3. New examples: 1. SOLEIL ROCK beamline. 2. ESRF BM29 skeleton beamline. 3. Example of Air-scattering block. 4. Test example for the GROUP langnuage feature 5. Union demo test example 6. New Example of Compton scattering union process. 3. Updated Components 1. PowderN.comp: Fix bug with faulty packing factor logic, which lead to wrong intensities when used with SPLIT. 2. Lens_parab_Cyl_rough.comp, Lens_parab_rough.comp, Lens_Kinoform.comp: documentation issues 3. Mirror.comp: documentation update 4. Mirror_curved.comp, Mirror_elliptic.comp: Use reflectivity library 5. Mirror_toroid.comp: Fix for stable handling of reflectivity file 6. Absorption_sample.comp: Fix inner/outer volume logic 7. Source_genesis13.comp, Source_simplex.comp: Documentation issues. 8. Air.comp: Correct scattering amplitude. 9. New: Laue_crystal_BC.comp: experimental model of a Laue crystal available for testing. 5. Updated libraries: 1. Reflectivity-lib has a series of bugfixes. 4. New tools: 1. Test tool for component writers' convenience. 2. Scripts for generating reflectivity files. 5. License change: The release includes a switch to the GPLv3-license for McXtrace. The underlying reason for this is to help collaboration wih the Debian project. -- Erik Bergb?ck Knudsen, Research Engineer | DTU | morituri NEXMAP, DTU Fysik, DK-2800 Kgs. Lyngby, Denmark |<>-<>| te phone: (+45) 2132 6655 |<>-<>| salutant From erkn at fysik.dtu.dk Wed Feb 2 21:58:16 2022 From: erkn at fysik.dtu.dk (Erik B Knudsen) Date: Wed, 2 Feb 2022 21:58:16 +0100 Subject: [mcxtrace-users] Change of staffing in the McXtrace team Message-ID: <9fe17b95-9dab-2738-9ac8-fb90c81b1032@fysik.dtu.dk> Dear community, After some years of service I, Erik, will now pass the Mcxtrace maintenance baton on, as I will be focusing on other things in my work-life from now on. From now on, Peter Willendrup (DTU Physics) will be in charge of the day-to-day management of McXtrace and handle releases, mailing lists (including this one), platform support etc. Stay tuned for the upcoming official tech preview release of McXtrace 3.0 which includes GPU-support. You may track progress towards a stable release on https://new-nightly.mcxtrace.org happy simulating! signing off Erik -- Erik Bergb?ck Knudsen, Research Engineer | DTU | morituri NEXMAP, DTU Fysik, DK-2800 Kgs. Lyngby, Denmark |<>-<>| te phone: (+45) 2132 6655 |<>-<>| salutant From pkwi at fysik.dtu.dk Tue Feb 8 16:40:04 2022 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Tue, 8 Feb 2022 15:40:04 +0000 Subject: [mcxtrace-users] McXtrace 3.0 "next generation" release Message-ID: <70C761A8-4318-46B1-A25D-8EEEE47CB601@fysik.dtu.dk> Dear all, The McXtrace team is happy to announce that our McXtrace 3.0 ?next generation? release is now available. McXtrace 3.0 is the first release in the 3.0 series with a completely rewritten code-generator and thereby support for GPU-acceleration through the OpenACC programming model. We have seen speedups of 1-2 orders of magnitude over the CPU version, depending on the computational Problem / complexity. THANKS: - Thanks to: all members of the team (and also to the McStas team), for pulling together to make this possible. - Thanks to the mentors at the GPU Hackathons that really made this happen - Thanks to NVIDIA for making the hackathons happen INSTALLATION: - Installation instructions for McXtrace-3.0 and support libraries may be found on our the McCode github-site: https://github.com/McStasMcXtrace/McCode/tree/master/Install_McXtrace-3.x - OpenACC acceleration is at present available out of the box on Linux. - On windows it is possible to target GPU-acceleration through Windows Subsystem For Linux v2: WSL2. - The present McXtrace-3.0 implementation relies the concept managed memory, which is at the time of writing only supported by the Linux version of the NVHPC-kit (downloadable from https://developer.nvidia.com/hpc-sdk) For more information on the GPU-features of the release, please consult the CHANGES_McXtrace document on GitHub (https://github.com/McStasMcXtrace/McCode/blob/mcxtrace-3.0-release/CHANGES_McXtrace) and the section ?Migrating from McStas 2.x to 3.x (and McXtrace 1.x to 3.x)? in our https://github.com/McStasMcXtrace/McCode/wiki Tools: - The perl-suite of tools are no longer actively supported. They may still work. Platforms: - We support the platforms Debian/Ubuntu and Fedora for Linux, 64 bit Windows 10, and recent 64 bit macOS (big Sur and newer). For FreeBSD you may build from source, an entry into the ports system is pending. Components and Instruments: - Most components and instruments work out of the box. See https://new-nightly.mcxtrace.org for details. - Monitor_nD.comp: the uservar utility should now be given a string insted of a token name to measure a USERVAR entity tagged onto the photon. The string is used to look-up the name of the variable which should be declared in the USERVARS-section of the instrument file. On behalf of the McXtrace developers, Peter Willendrup Peter Kj?r Willendrup Forskningsingeni?r, Specialkonsulent N?stformand for DTU Fysik LSU DTU Physics [cid:b6339554-7f28-441d-9f31-5944f811397c at win.dtu.dk] Technical University of Denmark [cid:e108e480-fcab-46e2-9531-b38165079572 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: From emmanuel.farhi at synchrotron-soleil.fr Sat Feb 19 12:44:28 2022 From: emmanuel.farhi at synchrotron-soleil.fr (FARHI Emmanuel) Date: Sat, 19 Feb 2022 12:44:28 +0100 (CET) Subject: [mcxtrace-users] McStas and McXtrace ready-to-run web services Message-ID: <1955820194.5253769.1645271068527.JavaMail.zimbra@synchrotron-soleil.fr> Hi all, we are happy to provide full simulation environments for free (at Binder) for the McStas/neutrons and McXtrace/xrays software. This information is available at [ http://mcxtrace.org/ | http://mcxtrace.org/ ] and [ http://mcstas.org/ | http://mcstas.org/ ] . * McStas : [ https://mybinder.org/v2/gh/McStasMcXtrace/mcstas-binder/master?urlpath=desktop | https://mybinder.org/v2/gh/McStasMcXtrace/mcstas-binder/master?urlpath=desktop ] * McXtrace : [ https://mybinder.org/v2/gh/McStasMcXtrace/mcxtrace-binder/master?urlpath=desktop | https://mybinder.org/v2/gh/McStasMcXtrace/mcxtrace-binder/master?urlpath=desktop ] Clicking on the links above starts a simulation environment (Xubuntu 20.04) in your browser, running at Binder with e.g. 8 cores, for free. The software can be started from the top-left Application>Education menu item. Happy simulation ! The McCode team. -- / ___| __/\_ | | | ____|_ _| | FARHI Emmanuel \___ \ \ | | | _| | || | Div Exp/Data Reduction and Analysis Team ___) /_ _ | |___| |___ | || |___ Tel : +33 (1) 69 35 96 04 |____/ \/ |_____|_____|___|_____| Saint-Aubin BP 48 - 91192 GIF/YVETTE CEDEX SYNCHROTRON http://www.synchrotron-soleil.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: From emmanuel.farhi at synchrotron-soleil.fr Thu Feb 24 09:45:10 2022 From: emmanuel.farhi at synchrotron-soleil.fr (Emmanuel FARHI) Date: Thu, 24 Feb 2022 09:45:10 +0100 Subject: [mcxtrace-users] =?utf-8?b?562U5aSNOiBbbWNzdGFzLXVzZXJzXSBNY1N0?= =?utf-8?q?as_and_McXtrace_ready-to-run_web_services?= In-Reply-To: <002501d82959$eaf9feb0$c0edfc10$@ihep.ac.cn> References: <369467297.5076553.1645213687273.JavaMail.zimbra@synchrotron-soleil.fr> <002501d82959$eaf9feb0$c0edfc10$@ihep.ac.cn> Message-ID: <1b139b1f-36ad-56d3-9844-efc13771a2d4@synchrotron-soleil.fr> Hi Wanju Luo, I can see two solutions: 1- start Binder with the JupyterLab interface through the link (for neutrons) and (for X-rays), then click on the Desktop icon/tile on the right panel. You can drag-n-drop files in the JupyterLab Tab (left panel showing the content of the Binder VNC session). 2- open Firefox and use any DropBox/NextCloud/etc cloud system, as well as a mere web-mail. Emmanuel. Le 24/02/2022 ? 09:38, luowj at ihep.ac.cn a ?crit?: > > Hi, how can I upload my own files on this server? > > Wanju Luo > > China Spallation Neutron Source > Dongguan Campus > > Institute of High Energy Physics, Chinese Academy of Sciences > Zhongziyuan road NO.1, Dongguan, Guangdong, PR China. 523803 > > *???:*mcstas-users-bounces at mcstas.org > *?? *FARHI Emmanuel > *????:*2022?2?19?3:48 > *???:*mcxtrace-users ; > mcstas-users > *??:*[mcstas-users] McStas and McXtrace ready-to-run web services > > Hi all, > > we are happy to provide full simulation environments for free (at > Binder) for the McStas/neutrons and McXtrace/xrays software. This > information is available at http://mcxtrace.org/ > and http://mcstas.org/ . > > * *McStas*: > https://mybinder.org/v2/gh/McStasMcXtrace/mcstas-binder/master?urlpath=desktop > > > * *McXtrace*: > https://mybinder.org/v2/gh/McStasMcXtrace/mcxtrace-binder/master?urlpath=desktop > > > Clicking on the links above starts a simulation environment (Xubuntu > 20.04) in your browser, running at Binder with e.g. 8 cores, for free. > The software can be started from the top-left Application>Education > menu item. > > Happy simulation ! > > The McCode team. > > -- > > / ___|__/\_| | ? | ____|_ _| |? ? ?FARHI Emmanuel > \___ \\ | | ? | ?_| ?| || |? ? ?Div Exp/Data Reduction and Analysis Team > ?___) /_ ?_| |___| |___ | || |___? Tel : +33 (1) 69 35 96 04 > |____/ ?\/|_____|_____|___|_____|?Saint-Aubin BP 48 - 91192 GIF/YVETTE > CEDEX > SYNCHROTRONhttp://www.synchrotron-soleil.fr > > -- signature / ___|__/\_| | ? | ____|_ _| | ? ? ?FARHI Emmanuel \___ \\ | | ? | ?_| ?| || | ? ? ?Div Exp/Data Reduction and Analysis Team ?___) /_ ?_| |___| |___ | || |___ ? Tel : +33 (1) 69 35 96 04 |____/ ?\/ |_____|_____|___|_____| ?Saint-Aubin BP 48 - 91192 GIF/YVETTE CEDEX SYNCHROTRON http://www.synchrotron-soleil.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Thu Feb 24 10:43:16 2022 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Thu, 24 Feb 2022 09:43:16 +0000 Subject: [mcxtrace-users] [mcstas-users] McStas and McXtrace ready-to-run web services In-Reply-To: <1b139b1f-36ad-56d3-9844-efc13771a2d4@synchrotron-soleil.fr> References: <369467297.5076553.1645213687273.JavaMail.zimbra@synchrotron-soleil.fr> <002501d82959$eaf9feb0$c0edfc10$@ihep.ac.cn> <1b139b1f-36ad-56d3-9844-efc13771a2d4@synchrotron-soleil.fr> Message-ID: <7F55BABE-47FC-444A-8273-74D311E3A1CD@fysik.dtu.dk> Hi all, Let me add that both of the McStas and McXtrace are also on dockerhub, meaning that you can easily run them on your own computer after installing Docker, using either: * docker run -p 8888:8888 docker.io/mccode/mcstas-2.7.1-3.1:1.0 * docker run -p 8888:8888 docker.io/mccode/mcxtrace-1.7-3.0:1.0 By adding -v $HOME/work:/home/jovyan/work in the above commands, you will mount a shared folder between ?work? on your physical machine and ?work? within the docker image. Best, Peter Peter Kj?r Willendrup Forskningsingeni?r, Specialkonsulent N?stformand for DTU Fysik LSU DTU Physics [cid:b6339554-7f28-441d-9f31-5944f811397c at win.dtu.dk] Technical University of Denmark [cid:e108e480-fcab-46e2-9531-b38165079572 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 On 24 Feb 2022, at 09.45, Emmanuel FARHI > wrote: Hi Wanju Luo, I can see two solutions: 1- start Binder with the JupyterLab interface through the link (for neutrons) and (for X-rays), then click on the Desktop icon/tile on the right panel. You can drag-n-drop files in the JupyterLab Tab (left panel showing the content of the Binder VNC session). 2- open Firefox and use any DropBox/NextCloud/etc cloud system, as well as a mere web-mail. Emmanuel. Le 24/02/2022 ? 09:38, luowj at ihep.ac.cn a ?crit : Hi, how can I upload my own files on this server? Wanju Luo China Spallation Neutron Source Dongguan Campus Institute of High Energy Physics, Chinese Academy of Sciences Zhongziyuan road NO.1, Dongguan, Guangdong, PR China. 523803 ???: mcstas-users-bounces at mcstas.org ?? FARHI Emmanuel ????: 2022?2?19? 3:48 ???: mcxtrace-users ; mcstas-users ??: [mcstas-users] McStas and McXtrace ready-to-run web services Hi all, we are happy to provide full simulation environments for free (at Binder) for the McStas/neutrons and McXtrace/xrays software. This information is available at http://mcxtrace.org/ and http://mcstas.org/. * McStas: https://mybinder.org/v2/gh/McStasMcXtrace/mcstas-binder/master?urlpath=desktop * McXtrace: https://mybinder.org/v2/gh/McStasMcXtrace/mcxtrace-binder/master?urlpath=desktop Clicking on the links above starts a simulation environment (Xubuntu 20.04) in your browser, running at Binder with e.g. 8 cores, for free. The software can be started from the top-left Application>Education menu item. Happy simulation ! The McCode team. -- / ___|__/\_| | | ____|_ _| | FARHI Emmanuel \___ \\ | | | _| | || | Div Exp/Data Reduction and Analysis Team ___) /_ _| |___| |___ | || |___ Tel : +33 (1) 69 35 96 04 |____/ \/ |_____|_____|___|_____| Saint-Aubin BP 48 - 91192 GIF/YVETTE CEDEX SYNCHROTRON http://www.synchrotron-soleil.fr -- / ___|__/\_| | | ____|_ _| | FARHI Emmanuel \___ \\ | | | _| | || | Div Exp/Data Reduction and Analysis Team ___) /_ _| |___| |___ | || |___ Tel : +33 (1) 69 35 96 04 |____/ \/ |_____|_____|___|_____| Saint-Aubin BP 48 - 91192 GIF/YVETTE CEDEX SYNCHROTRON http://www.synchrotron-soleil.fr _______________________________________________ mcxtrace-users mailing list mcxtrace-users at mcxtrace.org https://mailman2.mcxtrace.org/mailman/listinfo/mcxtrace-users -------------- 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: