Page 1 of 1

On Compiling and Running Charm++

Unread postPosted: Tue Sep 29, 2015 8:12 am
by felipegb94
Hi guys,

I have started putting together a repository with different sample programs in Charm++ docs. You can find it in the following link:

https://github.com/felipegb94/HPC-Prototyping/tree/master/Charm%2B%2B

I will be adding more stuff to the README.md file as we move forward and learn more about Charm++ functionality. Today I will be adding my experience with the 1D and 2D chare arrays. They are kind of weird in the sense of allocating memory for the chare objects.

If anyone is interested in adding code samples you have played around with and add some more documentation to the README.md, it would be a good idea to move this repository to the github SBEL organization. Let me know and I will do this as soon as possible.

Re: On Compiling and Running Charm++

Unread postPosted: Tue Sep 29, 2015 8:25 am
by Dan Negrut
Felipe,
thanks for the post.
Two quick things:
- move this to SBEL repo
- share with us info about how you compiled the code and how you ran it.
Thank you.
Dan

Re: On Compiling and Running Charm++

Unread postPosted: Tue Sep 29, 2015 8:57 am
by felipegb94
Hi everyone,

The repository was moved to:

https://github.com/uwsbel/CharmPrototyping

I added a few lines to the README.md stating how to compile the code. But this is just running 'make' ..

Felipe

Re: On Compiling and Running Charm++

Unread postPosted: Fri Oct 09, 2015 3:17 am
by RaduS
Note that on the cluster you must make sure to load the default GCC module. Charm++ was built against version 5.2.0 and older ones will not work.

Radu

Re: On Compiling and Running Charm++

Unread postPosted: Fri Oct 09, 2015 8:36 am
by felipegb94
To setup a personal copy of Charm++ in Euler download the following slurm script and run it:

https://github.com/uwsbel/CharmPrototyp ... m_setup.sh

You will have to change the line that says:
#SBATCH -p slurm_me759

To whatever line, you usually use to submit jobs to Euler. I think it has to be with you username or a group you belong to. I am still kind of new to slurm so I am not 100% sure what should be there.

NOTE: This will setup Charm++ in you Euler account. This setup will only allow you to run Charm++ code in multiple cores in a single node. Until we have the infiniband issues solved for openmpi we won't be able to setup Charm++ to run in the whole cluster.