<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=IT link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-GB>Hello everyone,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>I am trying to simulate more “virtual” beamline in the same run. The setup is trivial, after my sample component there is a Au filter (Filter_gen component) and I want to detect the neutrons at different thickness of this.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>I’ve two tables with the multiplier factor per energy that were used in two Filter_gen components:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><i><span style='font-size:10.5pt;font-family:Consolas;color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'>COMPONENT filter_thin = Filter_gen(<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:10.5pt;font-family:Consolas;color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> filename=thin,<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:10.5pt;font-family:Consolas;color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> xwidth=0.045,<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:10.5pt;font-family:Consolas;color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> yheight=0.045)<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:10.5pt;font-family:Consolas;color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'>WHEN (foil==1) AT (-0.158,-0.048,0.46) RELATIVE Armsample<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:10.5pt;font-family:Consolas;color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'>GROUP Foils<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:10.5pt;font-family:Consolas;color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'><o:p> </o:p></span></i></p><p class=MsoNormal><i><span style='font-size:10.5pt;font-family:Consolas;color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'>COMPONENT filter_thick = Filter_gen(<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:10.5pt;font-family:Consolas;color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> filename=thick,<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:10.5pt;font-family:Consolas;color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> xwidth=0.045,<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:10.5pt;font-family:Consolas;color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> yheight=0.045)<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:10.5pt;font-family:Consolas;color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'>WHEN (foil==2) AT (-0.158,-0.048,0.46) RELATIVE Armsample<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:10.5pt;font-family:Consolas;color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'>GROUP Foils<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:10.5pt;font-family:Consolas;color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'><o:p> </o:p></span></i></p><p class=MsoNormal><span lang=EN-GB>I can run the simulation only when there is one filter component (commenting the other), otherwise:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'>Opening input file 'Au7.res' (Table_Read_Offset)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'>Opening input file 'Au20.res' (Table_Read_Offset)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'># McStas 2.4.1 - Jun. 26, 2017: [pid 18032] Signal 11 detected SIGSEGV (Mem Error)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'># Simulation: S44_incSQW (Vesuvio_au.instr)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'># Breakpoint: filter_thick (Init) 0.00 % ( 0.0/ 100.0)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'># Date: Wed Oct 03 16:31:26 2018<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'># Started: Wed Oct 03 16:31:10 2018<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'># Last I/O Error: Not enough space<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'># McStas 2.4.1 - Jun. 26, 2017: Simulation stop (abort).<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'>Traceback (most recent call last):<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> File "C:\\mcstas-2.4.1\\lib\\tools\\Python\\mcrun\\mcrun.py", line 372, in <module><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> main()<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> File "C:\\mcstas-2.4.1\\lib\\tools\\Python\\mcrun\\mcrun.py", line 356, in main<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> mcstas.run()<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> File "C:\mcstas-2.4.1\lib\tools\Python\mcrun\mccode.py", line 208, in run<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> return self.runMPI(args, pipe, override_mpi)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> File "C:\mcstas-2.4.1\lib\tools\Python\mcrun\mccode.py", line 227, in runMPI<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> return Process(binpath).run(args, pipe=pipe)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> File "C:\mcstas-2.4.1\lib\tools\Python\mcrun\mccode.py", line 80, in run<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'> raise ProcessException(self.executable, args, retval)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'>mccode.ProcessException: Got exit status 4294967295 from "Vesuvio_au.exe --ncount 100.0 --dir C:\Users\alexd\Dropbox\Settembre2018\Vesuvio_au_20181003_163103 --format McStas"<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='color:#767171;mso-style-textfill-fill-color:#767171;mso-style-textfill-fill-alpha:100.0%'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:black'>This tables are only 300 lines and I have more than 10GB of free ram, so where I have to look at to find the problems? I thought the overlapping was an issue but after inserting the GROUP command nothing change.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:black'>Thank you for your help<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:black'>Alex<o:p></o:p></span></p></div></body></html>