Skip to content

Create Script to Snapshot Compadre into Trilinos #175

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

Closed
jmgate opened this issue Mar 17, 2020 · 6 comments · Fixed by #176
Closed

Create Script to Snapshot Compadre into Trilinos #175

jmgate opened this issue Mar 17, 2020 · 6 comments · Fixed by #176
Assignees
Labels
feature request New feature

Comments

@jmgate
Copy link
Collaborator

jmgate commented Mar 17, 2020

Part of #164.

The preferred way of snapshotting a package into Trilinos is via the snapshot-dir.py tool from TriBITS. That script uses rsync to do a complete copy of the source directory into the destination directory. That's not exactly what we want for Compadre because we want to be able to exclude certain files/directories (e.g., kokkos, python) from the snapshot. As such, we'll need to write our own script to do the snapshotting, but it can leverage the snapshot-dir.py script under the hood.

@jmgate jmgate self-assigned this Mar 17, 2020
@jmgate jmgate added the feature request New feature label Mar 17, 2020
@jmgate
Copy link
Collaborator Author

jmgate commented Mar 17, 2020

Note that I'll be pausing work on #171 to work on this issue, because this will be easier to do when working remotely. That said, I expect to get back to #171 soon, likely well before we're allowed to return to work.

@jmgate
Copy link
Collaborator Author

jmgate commented Mar 17, 2020

@kuberry, what version(s) of Python do you support?

@jmgate
Copy link
Collaborator Author

jmgate commented Mar 17, 2020

Hopefully the majority of this work will actually take place in TriBITS#307.

@kuberry
Copy link
Collaborator

kuberry commented Mar 17, 2020

@jmgate For running certain tests in ctests, Python 3.x will work (>=3.4.0).

@kuberry
Copy link
Collaborator

kuberry commented Mar 17, 2020

I think most everything would work in Python 2.7.x, except for "print variable" vs "print(variable)".

@jmgate
Copy link
Collaborator Author

jmgate commented Mar 18, 2020

I think the work in TriBITS#307 is complete, but we'll have to wait for that to be merged and then for TriBITS to be snapshotted into Trilinos. In the meantime, I can start on the script in compadre that will wrap snapshot-dir.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants