Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • S src
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 60
    • Issues 60
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • src
  • Issues
  • #15

Closed
Open
Created Jan 16, 2017 by Valeria Rizzoglio@rizzoglio_v

Distribution FROMFILE: different behaviour OPAL-T and OPAL-Cyc

When the distribution "FROMFILE" is used, the number of particles (N) in the distribution file and in the OPAL input file (NPart) should match.

It could happen that two different numbers are used. In this case OPAL-T and OPAL-Cyc have different behaviour:

  • OPAL-T: Warning message, but the simulation still runs
OPAL> --------------------------------------------------
OPAL> Warning!! The number of particles in the initial
OPAL> distribution is 100000.
OPAL> 
OPAL> This is different from the number of particles
OPAL> defined by the BEAM command: 10
OPAL> 
OPAL> This is often happens when using a FROMFILE type
OPAL> distribution and not matching the number of
OPAL> particles in the particles file(s) with the number
OPAL> given in the BEAM command.
OPAL> 
OPAL> The number of particles in the initial distribution
OPAL> (100000) will take precedence.
OPAL> ---------------------------------------------------
  • OPAL-Cyc: Error message and the simulation stops
OPAL> *** User error detected by function "TrackRun::execute CYCLOTRON_T"
OPAL> *** in line 46 of file "120_deg_CFM.in" at end of statement:
OPAL>     RUN,METHOD="CYCLOTRON-T",BEAM=BEAM_4,FIELDSOLVER=FS1,DISTRIBUTION=DIST1;
OPAL>     Number of macro particles and NPART on BEAM are not equal
Assignee
Assign to
Time tracking