charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: "Galvez Garcia, Juan Jose" <jjgalvez AT illinois.edu>
- To: Edlir Pllashniku <Edlir_1996 AT live.com>
- Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
- Subject: RE: [charm] Regarding charm4py and charm++ on RPi3B+.
- Date: Wed, 10 Apr 2019 21:48:52 +0000
- Accept-language: en-US
- Authentication-results: illinois.edu; spf=pass smtp.mailfrom=jjgalvez AT illinois.edu; dkim=pass header.d=uillinoisedu.onmicrosoft.com header.s=selector1-illinois-edu; dmarc=pass header.from=illinois.edu
Hi Ed,
I have pushed a patch to fix building Charm++ on RPi3B+. I have also modified charm4py's setup script to automatically detect and build Charm++ for ARM architecture. These changes will be in the next charm4py release, so `pip3 install charm4py` should work then.
But for now, you can install like this:
- Install these if you don't have them already (the version number should not be important. I have chosen recent versions that have binaries available in piwheels.org to make install fast):
pip3 install cython==0.29.5
sudo apt-get install python3-numpy (install this before charm4py setup if you are going to be sending numpy arrays)
- Next, starting from scratch:
git clone https://github.com/UIUC-PPL/charm4py
cd charm4py
git clone https://github.com/UIUC-PPL/charm charm_src/charm
python3 setup.py install
Hope this works. Let me know if you have any further issues building or running charm4py.
-Juan
From: Edlir Pllashniku
Sent: Wednesday, April 10, 2019 6:43 AM
To: Galvez Garcia, Juan Jose
Subject: Re: [charm] Regarding charm4py and charm++ on RPi3B+.
Hi Ed,
I was able to build Charm++ and get charm4py working. The fix is simple. I’ll post the fix soon and let you know.
-Juan
From: Edlir Pllashniku
Sent: Tuesday, April 9, 2019 4:11 AM
To: Galvez Garcia, Juan Jose
Subject: Sv: [charm] Regarding charm4py and charm++ on RPi3B+.
Skickat: den 8 april 2019 19:31
Till: Evan Ramos; Edlir Pllashniku
Kopia: charm AT cs.illinois.edu
Ämne: RE: [charm] Regarding charm4py and charm++ on RPi3B+.
Hi Ed,
For completeness, since you have to build charm++ from source, these are the full instructions to build Charm4py + Charm++ from source and install:
git clone https://github.com/UIUC-PPL/charm4py
cd charm4py
git clone https://github.com/UIUC-PPL/charm charm_src/charm
cd charm_src/charm
./build charm4py netlrts-linux-arm7 -j2
cd ../..
python3 setup.py install
Let us know if this works or not.
-Juan
From: Evan Ramos
Sent: Monday, April 8, 2019 12:23 PM
To: Edlir Pllashniku
Cc: charm AT cs.illinois.edu
Subject: Re: [charm] Regarding charm4py and charm++ on RPi3B+.
Hello,
I am wondering if charm4py is compatible with Raspberry Pi 3B+ which has an ARM cortex A53 (quad core) processor ?
I've tried to install it using both raspbian and ubuntu mate OS but neither work. Everytime I try it exits after ~1.5 hours blaming on internal compiler error. After that I tried installing the charm++ manually first and there the (same) error appears in a slightly different form. If you are curious on the different errors I got, I made a post (see link below) on superuser at stackoverflow about the error.
Kind Regards,Ed
- [charm] Regarding charm4py and charm++ on RPi3B+., Edlir Pllashniku, 04/06/2019
- Re: [charm] Regarding charm4py and charm++ on RPi3B+., Evan Ramos, 04/08/2019
- RE: [charm] Regarding charm4py and charm++ on RPi3B+., Galvez Garcia, Juan Jose, 04/08/2019
- Message not available
- Message not available
- Message not available
- RE: [charm] Regarding charm4py and charm++ on RPi3B+., Galvez Garcia, Juan Jose, 04/10/2019
- Message not available
- Message not available
- Message not available
- RE: [charm] Regarding charm4py and charm++ on RPi3B+., Galvez Garcia, Juan Jose, 04/08/2019
- Re: [charm] Regarding charm4py and charm++ on RPi3B+., Evan Ramos, 04/08/2019
Archive powered by MHonArc 2.6.19.