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
  • #85

Closed
Open
Created Apr 05, 2017 by Valeria Rizzoglio@rizzoglio_v

Error in compiling OPAL-1.6 with -DENABLE_DKS=1

I have the following modules loaded:

Currently Loaded Modulefiles:
  1) gcc/5.4.0             4) hdf5/1.8.18           7) trilinos/12.10.1     10) OpenBLAS/0.2.19      13) opal-toolschain/1.6
  2) openmpi/1.10.4        5) H5hut/2.0.0rc3        8) root/6.08.02         11) cuda/8.0.44
  3) boost/1.62.0          6) gsl/2.2.1             9) cmake/3.6.3          12) dks/1.0.1

and I got the following error message:

/home/scratch/opal/src/src/Classic/Solvers/CollimatorPhysics.cpp: In member function ‘void CollimatorPhysics::setupCollimatorDKS(PartBunch&, Degrader*, size_t)’:
/home/scratch/opal/src/src/Classic/Solvers/CollimatorPhysics.cpp:1094:52: error: no matching function for call to ‘DKSBase::callInitRandoms(int&, int&)’
         dksbase.callInitRandoms(size, Options::seed);
                                                    ^
In file included from /home/scratch/opal/src/ippl/src/Utility/IpplInfo.h:59:0,
                 from /home/scratch/opal/src/ippl/src/Message/Message.hpp:29,
                 from /home/scratch/opal/src/ippl/src/Message/Message.h:618,
                 from /home/scratch/opal/src/ippl/src/AppTypes/Vektor.h:16,
                 from /home/scratch/opal/src/src/Classic/Algorithms/Vektor.h:6,
                 from /home/scratch/opal/src/src/Classic/Solvers/CollimatorPhysics.hh:13,
                 from /home/scratch/opal/src/src/Classic/Solvers/CollimatorPhysics.cpp:9:
/opt/psi/MPI/dks/1.0.1/openmpi/1.10.4/gcc/5.4.0/include/DKSBase.h:1077:7: note: candidate: int DKSBase::callInitRandoms(int)
   int callInitRandoms(int size);
       ^
/opt/psi/MPI/dks/1.0.1/openmpi/1.10.4/gcc/5.4.0/include/DKSBase.h:1077:7: note:   candidate expects 1 argument, 2 provided
[ 60%] Building CXX object src/CMakeFiles/OPALib.dir/Classic/Utilities/DivideError.cpp.o
Assignee
Assign to
OPAL 1.6.0
Milestone
OPAL 1.6.0
Assign milestone
Time tracking