[mcstas-users] [EXTERNAL] Multiple samples in a single mcstas instrument?
Wildgruber, Christoph U.
wildgrubercu at ornl.gov
Thu Jul 11 20:28:18 CEST 2019
Hi Erik,
thanks for the immediate response, I’ll give it a try right away…
The error message threw me off...
Thanks, again
Uli
On 11 Jul 2019, at 14:23, Erik B Knudsen <erkn at fysik.dtu.dk<mailto:erkn at fysik.dtu.dk>> wrote:
Dear Christoph,
In your instrument file there are two missing ; (line 186 and 194), a
switched %} line 187, and a double '==' where it should say '=' (line
187). Some of these were due to me being a bit too fast of the mark this
morning, so sorry for that. The attached version has these things fixed
- I can't test it completely since I lack your SANS-component but it
should get you a bit further. Good Luck!
cheers
Erik
On 11/07/2019 19:57, Wildgruber, Christoph U. wrote:
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
--
Erik Bergbäck Knudsen, Research Engineer | DTU | morituri
NEXMAP, DTU Fysik, DK-2800 Kgs. Lyngby, Denmark |<>-<>| te
phone: (+45) 2132 6655 |<>-<>| salutant
<SANS_test.instr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20190711/8c2ddaad/attachment-0001.html>
More information about the mcstas-users
mailing list