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

raspberrypi.rst #21356

Merged
merged 2 commits into from
Mar 16, 2023
Merged

raspberrypi.rst #21356

merged 2 commits into from
Mar 16, 2023

Conversation

vlzambr2
Copy link
Contributor

No description provided.

@vlzambr2 vlzambr2 changed the title first draft of raspberrypi.rst raspberrypi.rst Jan 11, 2023
@cassella
Copy link
Contributor

Hi @vlzambr2 , FYI the Chapel group doesn't get notifications on PRs being opened. To get their attention, mention someone here (maybe the person who suggested this doc), or ask for a reviewer in gitter or discourse.

@lydia-duncan
Copy link
Member

Looks like you have two errors:

/__w/chapel/chapel/doc/rst/platforms/raspberrypi.rst:86: ERROR: Unknown target name: "gasnet documentation".

...
/__w/chapel/chapel/doc/rst/platforms/raspberrypi.rst: WARNING: document isn't included in any toctree

I suspect the former is due to an incorrect link. The latter can be resolved by adding your file to the appropriate place in doc/rst/platforms/index.rst

@cassella
Copy link
Contributor

BTW, if you haven't discovered it yet, make docs may be a more convenient way to test. You may need to install doxygen and python to run that. See also doc/rst/developer/bestPractices/buildingdocs.rst for some tips about linking.

refer to the `GASNet documentation`_ and :ref:`readme-multilocale` page,
respectively.

Ensure that the Chapel compiler is built on each node in your cluster, each node is running the same version of Chapel, and that all nodes in the cluster have SSH access to each other.
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps not the compiler -- it is not needed on each node. How about "Ensure that the Chapel tree ...".

What if I build the Chapel tree on the shared file system? Perhaps mention it as a possibility?

@arezaii
Copy link
Contributor

arezaii commented Jan 20, 2023

Hi @vlzambr2 , thanks for writing these instructions!
To fix the docs CI, you can add .. _GASNet documentation: https://gasnet.lbl.gov/dist/udp-conduit/README to the end of this file and add raspberrypi to the "Major Platforms" section of doc/rst/platforms/index.rst.
You can see these changes at main...arezaii:chapel:raspberrypi-docs.

Signed-off-by: vlzambr2 <vanlouisezam@gmail.com>
Signed-off-by: vlzambr2 <vanlouisezam@gmail.com>
@vlzambr2
Copy link
Contributor Author

vlzambr2 commented Mar 16, 2023 via email

@arezaii
Copy link
Contributor

arezaii commented Mar 16, 2023

Also, I haven't been able to build the compiler from main even on a Pi with 1GB of RAM. How was it done? Were any steps documented?

This is good information to know, thank you!

It was a Pi 4 B model with 2GB of RAM. AFAIK, there was no special configuration or setup used, just a standard 'make' from the root of the source tree. Tagging @riftEmber, who did the build on their hardware, in case there are more questions.

Copy link
Contributor

@arezaii arezaii left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution, @vlzambr2!

@riftEmber
Copy link
Member

riftEmber commented Mar 16, 2023

I just redid my build on my Pi as Ahmad described and it succeeded, so I am fairly confident this is an amount of RAM issue vs something else about the Raspberry Pi platform.

1GB of RAM not being enough is surprising and unfortunate. For what it's worth, memory required to build chpl hasn't fallen off our radar, and we are looking into setting up automated testing to make sure we are aware when the memory requirement increases (so we can publish a memory requirement and/or take action to reduce it).

@arezaii arezaii merged commit 2f7d9f5 into chapel-lang:main Mar 16, 2023
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.

6 participants