[mcstas-users] Opening multiple tables, SIGSEGV.

Alex Di Giulio alexdigiulio at gmail.com
Wed Oct 3 16:56:01 CEST 2018


Hello everyone,
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.
I’ve two tables with the multiplier factor per energy that were used in two Filter_gen components:

COMPONENT filter_thin = Filter_gen(
    filename=thin,
    xwidth=0.045,
    yheight=0.045)
WHEN (foil==1) AT (-0.158,-0.048,0.46) RELATIVE Armsample
GROUP Foils

COMPONENT filter_thick = Filter_gen(
    filename=thick,
    xwidth=0.045,
    yheight=0.045)
WHEN (foil==2) AT (-0.158,-0.048,0.46) RELATIVE Armsample
GROUP Foils

I can run the simulation only when there is one filter component (commenting the other), otherwise:

Opening input file 'Au7.res' (Table_Read_Offset)
Opening input file 'Au20.res' (Table_Read_Offset)
# McStas 2.4.1 - Jun. 26, 2017: [pid 18032] Signal 11 detected SIGSEGV (Mem Error)
# Simulation: S44_incSQW (Vesuvio_au.instr)
# Breakpoint: filter_thick (Init) 0.00 % (       0.0/     100.0)
# Date:      Wed Oct 03 16:31:26 2018
# Started:   Wed Oct 03 16:31:10 2018
# Last I/O Error: Not enough space
# McStas 2.4.1 - Jun. 26, 2017: Simulation stop (abort).
Traceback (most recent call last):
  File "C:\\mcstas-2.4.1\\lib\\tools\\Python\\mcrun\\mcrun.py", line 372, in <module>
    main()
  File "C:\\mcstas-2.4.1\\lib\\tools\\Python\\mcrun\\mcrun.py", line 356, in main
    mcstas.run()
  File "C:\mcstas-2.4.1\lib\tools\Python\mcrun\mccode.py", line 208, in run
    return self.runMPI(args, pipe, override_mpi)
  File "C:\mcstas-2.4.1\lib\tools\Python\mcrun\mccode.py", line 227, in runMPI
    return Process(binpath).run(args, pipe=pipe)
  File "C:\mcstas-2.4.1\lib\tools\Python\mcrun\mccode.py", line 80, in run
    raise ProcessException(self.executable, args, retval)
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"

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.

Thank you for your help

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20181003/6ab4d60e/attachment.html>


More information about the mcstas-users mailing list