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 384
    • Issues 384
    • 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
  • #976

Closed
Open
Created Aug 17, 2018 by Admin@OpenFOAM-adminMaintainer

Request for the thirdparty library version handling improvement

I am using Lmod (environment module) for handling OpenFOAM-plus. FYI, my Lmod file is attached.

Lmod comes in handy for OpenFOAM because it can manipulate environment variable dynamically as needed. Most of the OpenFOAM behavior could be handled by Lmod without modifying bashrc and config.sh/* except thirdparty libraries.

The thirdparty libraries in ThirdParty-plus are referring to the script in OpenFOAM-plus/config.sh/* to get version information. Thus, the script file should be modified when building and installing OpenFOAM with custom thirdparty library version for the first time.

So I have a preference to have a way to get version information from environment variable without breaking OpenFOAM echo-system when it is possible.

I made some modification for the thirdparty library configurations in OpenFOAM/etc/config.sh as attached and hope this patch be reflected for better usability.

latest.lua

diff.patchdiff1.patch

Edited Aug 17, 2018 by Admin
Assignee
Assign to
Time tracking