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

Update installation doc #1183

Merged
merged 6 commits into from
Jul 1, 2024
Merged

Update installation doc #1183

merged 6 commits into from
Jul 1, 2024

Conversation

AmishgaAlphonius
Copy link
Collaborator

@AmishgaAlphonius AmishgaAlphonius commented Jun 29, 2024

Description

This PR follows #1181 and updates documentation related to the installation of Lethe. More specifically, it corrects the version of p4est to be installed to 2.3.6.

Miscellaneous (will be removed when merged)

  • The STABLE_BUILD variable in candi.cfg was depricated. To get the developement release, simply specify the version master.
  • The updated version of Windows installation has not been tested yet.
  • The updated version of ARM installation has not been tested yet.

Checklist (will be removed when merged)

See this page for more information about the pull request process.

Code related list:

  • All in-code documentation related to this PR is up to date (Doxygen format)
  • Lethe documentation is up to date
  • The branch is rebased onto master
  • Code is indented with indent-all and .prm files (examples and tests) with prm-indent

Pull request related list:

  • Labels are applied
  • There are at least 2 reviewers (or 1 if small feature) excluding the responsible for the merge
  • If this PR closes an issue or is related to a project, it is linked in the "Projects" or "Development" section
  • If any future works is planed, an issue is opened
  • The PR description is cleaned and ready for merge

@AmishgaAlphonius AmishgaAlphonius added Documentation WIP When a PR is open but not ready for review labels Jun 29, 2024
@AmishgaAlphonius AmishgaAlphonius self-assigned this Jun 29, 2024
@AmishgaAlphonius AmishgaAlphonius force-pushed the update-installation-doc branch from 3d5f71b to 6bb957f Compare June 29, 2024 22:06
@AmishgaAlphonius AmishgaAlphonius force-pushed the update-installation-doc branch from 6bb957f to d4b99b6 Compare June 29, 2024 22:07
@AmishgaAlphonius AmishgaAlphonius added Ready for review and removed WIP When a PR is open but not ready for review labels Jun 29, 2024
@AmishgaAlphonius AmishgaAlphonius marked this pull request as ready for review June 29, 2024 22:14
doc/source/installation/apple_arm.rst Outdated Show resolved Hide resolved
doc/source/installation/regular_installation.rst Outdated Show resolved Hide resolved
Comment on lines +250 to +255
| 13 | | .. code-block:: text |
| | | :class: copy-button |
| | | |
| | | VERSION=2.3.6 |
| | | CHECKSUM=4b35d9cc374e3b05cd29c552070940124f04af8f8e5e01ff046e39833de5e153 |
+--------+------------------------------------------------+-------------------------------------------------------------------------------+
Copy link
Collaborator

Choose a reason for hiding this comment

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

I like this format for adding new lines. I suggest we write it the same way for regular installation and Apple ARM

Copy link
Collaborator Author

@AmishgaAlphonius AmishgaAlphonius Jun 30, 2024

Choose a reason for hiding this comment

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

I was hesistating between both format, so I thought leaving them both here, the reviewers will tell me their opinion. Thanks for making the change!

@oguevremont oguevremont force-pushed the update-installation-doc branch from 133eb73 to 5bb35a7 Compare June 30, 2024 14:06
AmishgaAlphonius and others added 2 commits June 30, 2024 10:49
Co-authored-by: Olivier Guévremont <guevremont.o@gmail.com>
Co-authored-by: Olivier Guévremont <guevremont.o@gmail.com>
doc/source/installation/apple_arm.rst Outdated Show resolved Hide resolved
AmishgaAlphonius and others added 2 commits June 30, 2024 18:45
Co-authored-by: Olivier Guévremont <guevremont.o@gmail.com>
Copy link
Collaborator

@acdaigneault acdaigneault left a comment

Choose a reason for hiding this comment

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

I just want to add that the Trilinos version in the current Candi script had change to 14.0, which also require cmake 3.26 if you have an older version.
Do you think we could fork candi and modify everything according to our parameters?

+--------+------------------------------------------------+-------------------------------------------------------------------------------+
| line # | initial line | changed line |
+========+================================================+===============================================================================+
| 9 | ``VERSION=2.3.2`` | ``#VERSION=2.3.2`` |
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe we should just write to remove all that section and to add VERSION=2.3.6 ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also, the candi script changes over time, what is here may change

Copy link
Collaborator

Choose a reason for hiding this comment

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

When reinstalling I indeed needed to update my cmake. I think if we want more control over the installation guide using candi a fork could be a good idea!

@AmishgaAlphonius
Copy link
Collaborator Author

AmishgaAlphonius commented Jun 30, 2024

I just want to add that the Trilinos version in the current Candi script had change to 14.0, which also require cmake 3.26 if you have an older version. Do you think we could fork candi and modify everything according to our parameters?

I think that's a great idea to make a fork, it would simplify the steps for users that are installing and therefore make it more accessible for them!
If @blaisb is fine with it, I could do so.
As for the Trilinos version, I was hesistating over it also, but as it is machine-dependent, I preferred not forcing a version, but I could change it for 13 on the fork (or doc), and leave a comment about it.

@AmishgaAlphonius AmishgaAlphonius added WIP When a PR is open but not ready for review and removed Ready for review labels Jul 1, 2024
Copy link
Collaborator

@OresteMarquis OresteMarquis left a comment

Choose a reason for hiding this comment

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

Nothing to add, changes are clear! I reinstalled deal.ii and Lethe on my windows computer at home using wsl and candi and everything worked!

@blaisb
Copy link
Contributor

blaisb commented Jul 1, 2024

I agree with making a fork for candi, it's a good idea. I'm also a maintainer of CANDI so I could also make changes directly into the repository if we want

Copy link
Contributor

@blaisb blaisb left a comment

Choose a reason for hiding this comment

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

Great work :)! I think this is ready for a merge.

@@ -297,7 +301,7 @@ Where ``$numprocs`` corresponds to the number of processors used for the compila
Installing Lethe (Step #2)
-------------------------------------

1. |linux_shell| Set-up the folder structure. Create the ``Software`` folder (if you are doing the candi installation, this folder should alredy exist from Step #1).
1. |linux_shell| Set-up the folder structure. Create the ``Software`` folder (if you are doing the candi installation, this folder should already exist from Step #1).
Copy link
Contributor

Choose a reason for hiding this comment

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

The only thing I don't like is that Software here is with a capital letter. Haha. Otherwise, chill

@blaisb blaisb merged commit 7405173 into master Jul 1, 2024
@blaisb blaisb deleted the update-installation-doc branch July 1, 2024 23:20
M-Badri pushed a commit to M-Badri/lethe that referenced this pull request Sep 29, 2024
Description
This PR follows chaos-polymtl#1181 and updates documentation related to the installation of Lethe. More specifically, it corrects the version of p4est to be installed to 2.3.6.

Co-authored-by: Olivier Guévremont <guevremont.o@gmail.com>
Former-commit-id: 7405173
blaisb pushed a commit that referenced this pull request Sep 30, 2024
Description
This PR follows #1181 and updates documentation related to the installation of Lethe. More specifically, it corrects the version of p4est to be installed to 2.3.6.

Co-authored-by: Olivier Guévremont <guevremont.o@gmail.com>
Former-commit-id: 7405173
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation WIP When a PR is open but not ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants