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 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1890
Closed
Open
Issue created Oct 21, 2020 by Petros Ampatzidis@petros

Clearly mark Allrun scripts etc that use bash

When I try to run the Allrun script in the new $FOAM_TUTORIALS/verificationAndValidation/atmosphericModels/atmForestStability tutorial case in v2006 I get:

./Allrun: 13: ./Allrun: declare: not found
./Allrun: 14: ./Allrun: declare: not found
./Allrun: 15: ./Allrun: declare: not found
./Allrun: 17: ./Allrun: stabilityStates[0]=veryStable: not found
./Allrun: 18: ./Allrun: stabilityStates[1]=stable: not found
./Allrun: 19: ./Allrun: stabilityStates[2]=slightlyStable: not found
./Allrun: 20: ./Allrun: stabilityStates[3]=neutral: not found
./Allrun: 21: ./Allrun: stabilityStates[4]=slightlyUnstable: not found
./Allrun: 22: ./Allrun: stabilityStates[5]=unstable: not found
./Allrun: 24: ./Allrun: Lmaxs[0]=5.0: not found
./Allrun: 25: ./Allrun: Lmaxs[1]=13.0: not found
./Allrun: 26: ./Allrun: Lmaxs[2]=25.5: not found
./Allrun: 27: ./Allrun: Lmaxs[3]=41.0: not found
./Allrun: 28: ./Allrun: Lmaxs[4]=80.75: not found
./Allrun: 29: ./Allrun: Lmaxs[5]=200.0: not found
./Allrun: 31: ./Allrun: qPlants[0]=-20.0: not found
./Allrun: 32: ./Allrun: qPlants[1]=-9.0: not found
./Allrun: 33: ./Allrun: qPlants[2]=-5.0: not found
./Allrun: 34: ./Allrun: qPlants[3]=0.0: not found
./Allrun: 35: ./Allrun: qPlants[4]=15.0: not found
./Allrun: 36: ./Allrun: qPlants[5]=60.0: not found
./Allrun: 39: ./Allrun: Bad substitution

It seems that something's wrong with the declare command. Do you think it is related to my OpenFOAM installation or is an inherent bug?

Edited Oct 22, 2020 by Mark OLESEN
Assignee
Assign to
Time tracking