Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • N Nemo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 70
    • Issues 70
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • NEMO WorkspaceNEMO Workspace
  • Nemo
  • Issues
  • #113
Closed
Open
Issue created Oct 28, 2022 by Guillaume Samson@gsamson☃Maintainer

Nemo compilation fails when model path contains a directory name with digits only

When a directory name contains only digits, Nemo cannot be compiled because the directory name is erased from Nemo path.
For example:

cd /home/ar0s/SRC/NEMO/0/branch_dev
./makenemo -m X64_AA_INTEL_OMPI -r ORCA2_ICE_PISCES -j 8
...
ar: creating /home/ar0s/SRC/NEMO/branch_dev/cfgs/ORCA2_ICE_PISCES/BLD/tmp/lib__fcm__nemo.a
mpifort -o nemo.exe /home/ar0s/SRC/NEMO/branch_dev/cfgs/ORCA2_ICE_PISCES/BLD/obj/nemo.o ...

Compilation fails in this case because the 0 directory is not present anymore in the path used by ar and mpifort to generate Nemo object and executable
I don't know if it comes from makenemo, mk scripts or FCM itself (I tried the latest version of FCM and the issue is still present)...
Compilation works well if 0 directory is renamed as nemo0.
Any suggestion ?

Edited Oct 28, 2022 by Guillaume Samson
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking