Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #213
Closed
Open
Issue created Aug 16, 2016 by Admin@OpenFOAM-adminMaintainer

Following the build guide page with v1606+ on Ubuntu 16.04 will fail with foamDebugSwitches

Following the instructions at http://openfoam.com/code/build-guide.php will result in not having a complete build, when building on Ubuntu, because dash is the default sh.

This is already fixed in the Development/ThirdParty-plus/#2 (closed), but the ThirdParty-v1606+ tarball package still has a bug that will not allow building the FFTW library.

And due to that bug, the foamDebugSwitches utility will not build due to the dependency on the randomProcesses library, which will in turn block the remaining run of make, unless the -k option is used in the call to the main Allwmake.

Short term fix

The user-side fix is to run the following commands, before running Allwmake (as documented here):

cd $WM_THIRD_PARTY_DIR
 
sed -i -e 's=unset _foamAddPath=unset -f _foamAddPath=' makeFFTW

cd $WM_PROJECT_DIR

Long term fix

  1. Reminder: foamDebugSwitches was deprecated in the OpenFOAM Foundation repositories, in favour of a general foamList.

  2. Add a Allwmake script which sets optional library dependencies, as done in $FOAM_UTILITIES/surface/surfaceBooleanFeatures/Allwmake and update Make/options accordingly.

Assignee
Assign to
Time tracking