Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
  • Sign in
S
src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 70
    • Issues 70
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 4
    • Merge Requests 4
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • OPAL
  • src
  • Issues
  • #185

Closed
Open
Opened Nov 23, 2017 by Valeria Rizzoglio@rizzoglio_v
  • Report abuse
  • New issue
Report abuse New issue

OPAL-Cyc / RINGDEFINITION: Subline definition does not work

I am running a small test with CCollimators in OPAL-Cyc - RINGDEFINITION.

Those are the elements of the beamline:

OffQuad1: LOCAL_CARTESIAN_OFFSET, end_position_x=off_quad1x....

Quad1: SBEND3D, FMAPFN="3D_B_map_1st_Q.table", LENGTH_UNITS=1000.0, FIELD_UNITS=10.0;
Quad1_BP_1: CCollimator, XSTART=-950, XEND=-950, YSTART=1800, YEND=1950, ZSTART=70, ZEND=170, WIDTH=4.0;
Quad1_BP_2: CCollimator, XSTART=-1000, XEND=-1000, YSTART=1800, YEND=1950, ZSTART=168, ZEND=172, WIDTH=100.0;
Quad1_BP_3: CCollimator, XSTART=-1050, XEND=-1050, YSTART=1800, YEND=1950, ZSTART=70, ZEND=170, WIDTH=4.0;
Quad1_BP_4: CCollimator, XSTART=-1000, XEND=-1000, YSTART=1800, YEND=1950, ZSTART=68, ZEND=72, WIDTH=100.0;

I tried to define a subline with only collimators:

Quad1_BP: LINE = (Quad1_BP_1, Quad1_BP_2, Quad1_BP_3, Quad1_BP_4);

Then the beamline that I want to track is:

BEAMLINE: LINE = (OffQuad1, Quad1, Quad1_BP);

With this configuration, I get segmentation fault.

If I replace Quad1_BP with the elements that form this subline, OPAL runs without problems.

BEAMLINE: LINE = (OffQuad1, Quad1, Quad1_BP_1, Quad1_BP_2, Quad1_BP_3, Quad1_BP_4);

It seems that the OPAL-Cyc - RINGDEFINITION does not support definition of sublines.

Here my configuration

Currently Loaded Modulefiles:
  1) gcc/5.4.0        3) OPAL/1.6.1       5) openssl/1.0.2j   7) Tk/8.6.4         9) boost/1.62.0    11) gsl/2.2.1
  2) openmpi/1.10.4   4) OPAL/1.6         6) Tcl/8.6.4        8) Python/2.7.12   10) root/6.08.02    12) H5root/1.3.4
To upload designs, you'll need to enable LFS. More information

Linked issues

Assignee
Assign to
OPAL 1.6.1
Milestone
OPAL 1.6.1
Assign milestone
Time tracking
None
Due date
None
1
Labels
Enhancement
Assign labels
  • View project labels
Reference: OPAL/src#185