-
Notifications
You must be signed in to change notification settings - Fork 71
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
Can't compile chapter 6 exercise #57
Comments
It looks like your PETSc version is not the most recent. Please do something like Then go to the p4pdes releases list and get/checkout the right tag, or download the version which matches your petsc version number. If this does not work please let me know and we will try again? |
Guess that must be it then. I just simply cloned the repo and tried compiling. The apt version must be out of date, as usual. I'll try downloading for version 3.19 or simply compiling the newer PETSc version later and will send news. Thank you very much!
|
Got it. Your debian system has petsc 3.19.5 which is a year old (?). You can build petsc from source if you want to use the most recent p4pdes download. Alternatively, you can grab this p4pdes release and it should work: |
Yes, I just built the new release (very easy actually). Working like a charm now, thank you very much! I could add a pull request with this caveat added for future users not get confused. What do you think? |
I definitely welcome pull requests but I am not quite sure what you have in mind. Thanks, Ed |
I've just added this bullet point:
I can't upload the changes to a branch and do the pull request, though. |
Ophir --
Thanks for this suggestion! I went ahead and made the change.
Ed
…On Thu, May 2, 2024 at 8:00 PM Ophir ***@***.***> wrote:
I've just added this bullet point:
* My book does not contain PETSc installation instructions, though it has
minimal advice. Maintaining installation information is the job of
PETSc developers, not me. (Thank goodness.)
* [CONFIGS.md](CONFIGS.md) contains some of the `configure` commands which
work on the author's machines. These are minimal installation suggestions.
* My book does not help the reader with debugging C programs.k does not help the reader with debugging C programs.
--> * Make sure to [download a release](https://github.com/bueler/p4pdes/releases/) compatible with your computer's PETSc version. Package managers (such as apt) may only contain older versions of PETSc that are incompatible with newer releases of p4pdes.
I can't upload the changes to a branch and do the pull request, though.
—
Reply to this email directly, view it on GitHub
<#57 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAINQT5UA2WU7NYK6TYUDSDZAMDU3AVCNFSM6AAAAABHAW3TECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSGA3TQNBXHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Ed Bueler
Dept of Mathematics and Statistics, University of Alaska Fairbanks
Fairbanks, AK 99775-6660
office: 306C Chapman website: https://bueler.github.io/
|
Hello. I am a new reader. I have been trying to do my setup and am testing it by compiling chapter 6's exercise. Unfortunately, it prints out a bunch of errors which doesn't seem related to my petsc installation (which seems to be installed correctly). Sorry for being incovenient, but could someone help me?
The text was updated successfully, but these errors were encountered: