[mcstas-users] [EXTERNAL] Multiple samples in a single mcstas instrument?

Wildgruber, Christoph U. wildgrubercu at ornl.gov
Thu Jul 11 19:57:31 CEST 2019


Hi again,

so I did try the basic ‘SPLIT 2’ approach but I end up with an unexpected compile time error (RHEL 7, mcstas 2.5, mpi enabled)…
I must be missing something really basic…

Here is the result:
==============

Setting environment:
MCSTAS_OVERRIDE=
 /usr/local/mcstas/2.5/tools/Python/mcgui/../mccodelib/../../..

MCSTAS_CFLAGS_OVERRIDE=
 -g -O2 -lm 

MCSTAS_CC_OVERRIDE=
 gcc

MCSTAS_MPICC_OVERRIDE=
 mpicc

mcrun -c BER_SANS_guide_elliptical_optimize_2.1.instr -n0 
  
INFO: No output directory specified (--dir)
INFO: Using directory: "BER_SANS_guide_elliptical_optimize_2.1_20190711_134948"
INFO: Regenerating c-file: BER_SANS_guide_elliptical_optimize_2.1.c
Reference to undefined component instance a1 at line BER_SANS_guide_elliptical_optimize_2.1.instr:246.
Reference to undefined component instance a1 at line BER_SANS_guide_elliptical_optimize_2.1.instr:258.
Reference to undefined component instance a1 at line BER_SANS_guide_elliptical_optimize_2.1.instr:266.
Reference to undefined component instance a1 at line BER_SANS_guide_elliptical_optimize_2.1.instr:274.
Reference to undefined component instance a1 at line BER_SANS_guide_elliptical_optimize_2.1.instr:284.
Reference to undefined component instance a1 at line BER_SANS_guide_elliptical_optimize_2.1.instr:294.
Reference to undefined component instance a1 at line BER_SANS_guide_elliptical_optimize_2.1.instr:304.
Reference to undefined component instance a1 at line BER_SANS_guide_elliptical_optimize_2.1.instr:314.
Info:    'PSD_monitor_rad' is a contributed component.
Reference to undefined component instance a1 at line BER_SANS_guide_elliptical_optimize_2.1.instr:321.
Reference to undefined component instance a1 at line BER_SANS_guide_elliptical_optimize_2.1.instr:328.
Info:    'SANSQMonitor' is a contributed component.
Reference to undefined component instance a1 at line BER_SANS_guide_elliptical_optimize_2.1.instr:338.
Reference to undefined component instance a1 at line BER_SANS_guide_elliptical_optimize_2.1.instr:347.
McStas: 12 Errors encountered during parse of BER_SANS_guide_elliptical_optimize_2.1.instr.
compile thread done


I attach the instr file in case you get a chance to try to compile it…

So what is going on?


Thanks so much,


Uli

-------------- next part --------------
A non-text attachment was scrubbed...
Name: SANS_test.instr
Type: application/octet-stream
Size: 16125 bytes
Desc: SANS_test.instr
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20190711/599a55f2/attachment-0001.obj>


More information about the mcstas-users mailing list