Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 390
    • Issues 390
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1735

Closed
Open
Created Jun 19, 2020 by Mark Olesen@markMaintainer

test for "loadability" of libraries

Want the ability to check if given libraries can be loaded. For example, the petscFoam lib might be available but unloadable because the libpetsc.so isn't in the LD_LIBRARY_PATH.

@sbna

Easy enough to write a utility for this. Eg,

if Test-libraryLoad petscFoam
then
    echo "Yes it is loadable"
else
    echo "Forget it"
fi

Just need a good name for it. @andy

Assignee
Assign to
Time tracking