Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
S src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • src
  • Issues
  • #179

Closed
Open
Created Nov 07, 2017 by snuverink_j@snuverink_jDeveloper

opt-pilot CONSTRAINT command not known

A opt-pilot constraint such as:

c1: CONSTRAINT, EXPR="fabs(rms_x)<1.5e-2";

constrs: CONSTRAINTS = (c1);

gives:

Error>
Error> *** Parse error detected by function "OpalParser::parseDefine()"
Error> *** in line 46 of file "RingOpt.in" before token ",":
Error>     The object "CONSTRAINT" is unknown.

This is because the keyword CONSTRAINT is not skipped in AbsFileStream.

I will fix this there.

One concern is that CONSTRAINT is also a keyword in the match routine: https://gitlab.psi.ch/OPAL/src/blob/master/src/Match/MatchParser.cpp.

However, as far as I can see this is currently not in OPAL? Quoting the manual: "Please note this is not yet available in: DOPAL-t and DOPAL-cycl." @adelmann can you confirm?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking