Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • openfpm_pdata openfpm_pdata
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Sbalzarini Lab
    • SSoftware
    • PParallel Computing
  • OpenFPM
  • openfpm_pdataopenfpm_pdata
  • Wiki
  • OpenFPM pdata advanced options

Last edited by rundeck Nov 18, 2015
Page history

OpenFPM pdata advanced options

Debug options

If you are using our library can be usefull, to put the library in debug mode to discover memory corruption, overflow, memory leak, abuse of the API or bug in your code. The options are activated in different ways if you are compiling the unit tests or you are compiling external code

External code

  • defining the macro SE_CLASS1 before include any openfpm headers enable security enhancements of class1,
  • define the macro SE_CLASS2 before include any openfpm headers enable security enhancements of class2
  • define the macro SE_CLASS3 before include any openfpm headers enable security enhancements of class3

additionally the are are macro that define what to do in case of error

  • STOP_ON_ERROR terminate the program before doing something that can produce a crash of the program
  • THROW_ON_ERROR it throw an error, that can be catched and the user can recover from this error or do other operations

By default the program report the error but continue the execution

for more information visit here

Unit test

In case of compilation the following options are available

--enable-se-class1 --enable-se-class2 --enable-se-class3 --enable-debug"

  • --enable-se-class1 same as SE_CLASS1
  • --enable-se-class2 same as SE_CLASS2
  • --enable-se-class3 same as SE_CLASS3
  • --with-action-on-error=throw same as THROW_ON_ERROR
  • --with-action-on-error=error same as STOP_ON_ERROR

for more information visit here

Clone repository
  • CartDecomposition
  • Decomposition
  • Directories
  • Examples
  • Home
  • Install
  • OpenFPM pdata advanced options
  • OpenFPM pdata examples
  • Update
  • grid dist id
  • Home