Skip to content
  • Mark OLESEN's avatar
    ENH: add foamHasLibrary to test for availability of libraries (#1735) · 2dcbc09b
    Mark OLESEN authored
    - For some cases it can be helpful to test if additional libraries can
      be properly resolved.
    
      This can be useful in scripts to test for additional capability:
    
          if foamHasLibrary geometricVoF
          then ...
          fi
    
      But also directly from the command-line to help resolve configuration
      issues:
    
          foamHasLibrary -verbose petscFoam
    
      Could not load "petscFoam"
      libpetsc.so.3.13: cannot open shared object file: No such file or directory
    2dcbc09b