Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
giraffe
giraffe
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • nek5000
  • giraffegiraffe
  • Merge Requests
  • !5

Open
Opened Feb 08, 2018 by Ron Rahaman@rahaman
  • Report abuse
Report abuse

Makefile for case-specific executable

  • Overview 6
  • Commits 3
  • Changes 3

This updates the Giraffe Makefile to produce case-specific executables/libraries in the problem's build directoy (which contains the Nek5000 SIZE, *.usr, and *.rea files, as well as the MOOSE .i files). The executables/libraries are named after the Nek5000 casename.

Previously in MOON, @permcody had implemented this capability (for example, see the Makefile in this commit). However, during an overhaul of the Giraffe build system, I had unintentionally removed this capability from the Makefiles. The current merge request restores this capability using basically the same methods that @permcody had originally implemented.

Remaining issues: While the build succeeds, it produces the following warnings:

find: `/home/rahaman/repos/giraffe/examples/integration_example/src': No such file or directory
find: `/home/rahaman/repos/giraffe/examples/integration_example/src': No such file or directory
find: `/home/rahaman/repos/giraffe/examples/integration_example/src': No such file or directory
find: `/home/rahaman/repos/giraffe/examples/integration_example/src': No such file or directory
find: `/home/rahaman/repos/giraffe/examples/integration_example/include': No such file or directory
Traceback (most recent call last):
  File "/home/rahaman/repos/moose-idaholab-master//framework/scripts/get_repo_revision.py", line 182, in <module>
    writeRevision( repo_location, app_name, header_file )
  File "/home/rahaman/repos/moose-idaholab-master//framework/scripts/get_repo_revision.py", line 162, in writeRevision
    os.mkdir(revision_dir)
OSError: [Errno 2] No such file or directory: '/home/rahaman/repos/giraffe/examples/integration_example/include/base'

I can't quite make sense of them. Any suggestions are appreciated.

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch "https://xgitlab.cels.anl.gov/rahaman/giraffe.git" "case-specific-exec"
git checkout -b "rahaman/giraffe-case-specific-exec" FETCH_HEAD

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout "origin/develop"
git merge --no-ff "rahaman/giraffe-case-specific-exec"

Step 4. Push the result of the merge to GitLab

git push origin "develop"

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: nek5000/giraffe!5