Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

targeting 9c96d17 MOAB commit instead of version 5.1 #740

Merged
merged 7 commits into from
Jun 17, 2021

Conversation

bam241
Copy link
Member

@bam241 bam241 commented Jun 15, 2021

This is a temporary MOAB update in CI to allow our CI to pass.

this will be change at the next MOAB release

I am building the docker stack right now, I'll push them on request

@bam241 bam241 requested review from gonuke and pshriwise June 15, 2021 15:31
@bam241
Copy link
Member Author

bam241 commented Jun 16, 2021

@gonuke @pshriwise docker build stack is finally built.
let me know what you want to do from there.

@gonuke
Copy link
Member

gonuke commented Jun 16, 2021

Can you test locally on the new docker stack?

Copy link
Member

@gonuke gonuke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if there is a way to structure these files to define a DAGMC_CI_MOAB_VERSION in one place and then refer to it throughout??

@bam241
Copy link
Member Author

bam241 commented Jun 16, 2021

I wonder if there is a way to structure these files to define a DAGMC_CI_MOAB_VERSION in one place and then refer to it throughout??

I'll try to think of a way... the problem is that is not probably easy to have bash talking to Circle.... (.circle.yml had to be changed as well....)

In the mean time I'll build and test DAGMC the 4 docker images built against MOAB 9c96d17

@bam241
Copy link
Member Author

bam241 commented Jun 16, 2021

successfully tested:

  • svalinn/dagmc-ci-ubuntu-18.04-clang-ext-hdf5_1.10.4-moab_9c96d17
  • svalinn/dagmc-ci-ubuntu-18.04-gcc-ext-hdf5_1.10.4-moab_9c96d17
  • svalinn/dagmc-ci-ubuntu-16.04-clang-ext-hdf5_1.10.4-moab_9c96d17
  • svalinn/dagmc-ci-ubuntu-16.04-gcc-ext-hdf5_1.10.4-moab_9c96d17

@gonuke
Copy link
Member

gonuke commented Jun 16, 2021

I wonder if there is a way to structure these files to define a DAGMC_CI_MOAB_VERSION in one place and then refer to it throughout??

I'll try to think of a way... the problem is that is not probably easy to have bash talking to Circle.... (.circle.yml had to be changed as well....)

In the mean time I'll build and test DAGMC the 4 docker images built against MOAB 9c96d17

A first step might be to use the full branch name Version5.1.0 under normal circumstances. Then checking out master vs develop vs some other branch don't require different logic and name mangling.

@bam241
Copy link
Member Author

bam241 commented Jun 16, 2021

Would you like me to implement this here ?
Or think it though and implement this when we switch back to a branch version of MOAB
(it might not make a lot of sense yet as we are building against a specific commit....)

Copy link
Member

@gonuke gonuke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of optional thoughts on the way to streamlining this change

# MOAB Verions: 5.1.0
ARG MOAB=5.1.0
# MOAB Commit: 9c96d17 (Merged commit of @pshriwise thread fix)
ARG MOAB=9c96d17
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't this get overridden by the env variable when called via update_docker.sh. Therefore, this could keep 5.1.0 as the default, but the value is changed in the script?

@@ -79,7 +79,7 @@ workflows:
img: [ "16.04", "18.04"]
compiler: ["clang", "gcc"]
hdf5: ["1.10.4"]
moab: ["5.1.0"]
moab: ["9c96d17"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know enough about CI/yaml to know if this can be defined only once in this file and reused???

@gonuke
Copy link
Member

gonuke commented Jun 16, 2021

Would you like me to implement this here ?
Or think it though and implement this when we switch back to a branch version of MOAB
(it might not make a lot of sense yet as we are building against a specific commit....)

See the two small comments I just made and if you think they make sense, we can stop there and work to merge this.

@bam241
Copy link
Member Author

bam241 commented Jun 16, 2021

Would you like me to implement this here ?
Or think it though and implement this when we switch back to a branch version of MOAB
(it might not make a lot of sense yet as we are building against a specific commit....)

See the two small comments I just made and if you think they make sense, we can stop there and work to merge this.

I think they make sense, but I'd like to do it cleanly all the way, instead of patching the file one after the other...

I'll prepare a dedicated PR to do this!

@gonuke
Copy link
Member

gonuke commented Jun 16, 2021

successfully tested:

  • svalinn/dagmc-ci-ubuntu-18.04-clang-ext-hdf5_1.10.4-moab_9c96d17
  • svalinn/dagmc-ci-ubuntu-18.04-gcc-ext-hdf5_1.10.4-moab_9c96d17
  • svalinn/dagmc-ci-ubuntu-16.04-clang-ext-hdf5_1.10.4-moab_9c96d17
  • svalinn/dagmc-ci-ubuntu-16.04-gcc-ext-hdf5_1.10.4-moab_9c96d17

I think these are all the tests, right? So then we can merge this and push those images to dockerhub?

Copy link
Member

@pshriwise pshriwise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No comments from me. Thanks for addressing this @bam241!

@gonuke
Copy link
Member

gonuke commented Jun 16, 2021

Do you want to push these images first and then relaunch tests?

@bam241
Copy link
Member Author

bam241 commented Jun 16, 2021

sure will do!

@bam241
Copy link
Member Author

bam241 commented Jun 17, 2021

@pshriwise @gonuke docker stack is updated all tests are running fine

@gonuke
Copy link
Member

gonuke commented Jun 17, 2021

Thanks @bam241

@gonuke gonuke merged commit 3401ad9 into svalinn:develop Jun 17, 2021
@bam241 bam241 deleted the moab_update branch November 28, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants