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

Questions about input file #11

Open
marcocrxu opened this issue May 4, 2022 · 3 comments
Open

Questions about input file #11

marcocrxu opened this issue May 4, 2022 · 3 comments
Assignees

Comments

@marcocrxu
Copy link

Hello, I'm doing some research on benchmark, and I want to do some tests on application using hypre. Because I'm an absolute amateur in Physics, I dont know what the restriction to input file even I have read etc/hypre_app.yaml. I tried your etc/hypre_app.yaml, but it seems that matrix_file, rhs_file, sln_file are also part of input files. I dont know how to generate them, neither the rule to generate them, could you please give some help?
Meanwhile, I used git submodule update --init --recursive to clone hypre and yaml-cpp, and I have found that the version of hypre is out of date. HYPRE_IJMatrixSetValues2 is not defined in the old version of hypre.

@PaulMullowney
Copy link
Contributor

@marcocrxu You could pick a matrix off of Suite Sparse collection.

@sayerhs I tried to update the .gitmodules file to point to:
https://github.com/hypre-space/hypre.git

When, I do
git submodule update --init --recursive

I now see:
Submodule 'deps/hypre' (https://github.com/hypre-space/hypre.git) registered for path 'deps/hypre'
Submodule 'deps/yaml-cpp' ([email protected]:jbeder/yaml-cpp.git) registered for path 'deps/yaml-cpp'
Cloning into '/autofs/nccs-svm1_home1/mullowne/projects/hypre-mini-app/deps/hypre'...
Cloning into '/autofs/nccs-svm1_home1/mullowne/projects/hypre-mini-app/deps/yaml-cpp'...
fatal: remote error: upload-pack: not our ref 1e1f8dbdcd18a521d7511c808a39602a4fdb8722
fatal: The remote end hung up unexpectedly
Fetched in submodule path 'deps/hypre', but it did not contain 1e1f8dbdcd18a521d7511c808a39602a4fdb8722. Direct fetching of that commit failed.

Any ideas on this failure?

@sayerhs
Copy link
Contributor

sayerhs commented May 9, 2022

@PaulMullowney you changed the hypre remote in .gitmodules, but didn't update the Git commit SHA to point to the latest version in the hypre-space/hypre repo. That was the issue. I've pushed an update that should fix this... can you fetch and try updating the submodule?

@PaulMullowney
Copy link
Contributor

That worked. Thanks.

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

No branches or pull requests

3 participants