FAQ  •  Login

On Compiling and Running Charm++

<<

felipegb94

Newbie
Newbie

Posts: 15

Joined: Thu Aug 29, 2013 3:46 pm

Unread post Tue Sep 29, 2015 8:12 am

On Compiling and Running Charm++

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.
<<

Dan Negrut

Global Moderator
Global Moderator

Posts: 833

Joined: Wed Sep 03, 2008 12:24 pm

Unread post Tue Sep 29, 2015 8:25 am

Re: On Compiling and Running Charm++

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
<<

felipegb94

Newbie
Newbie

Posts: 15

Joined: Thu Aug 29, 2013 3:46 pm

Unread post Tue Sep 29, 2015 8:57 am

Re: On Compiling and Running Charm++

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
<<

RaduS

Jr. Member
Jr. Member

Posts: 97

Joined: Wed Aug 14, 2013 3:08 pm

Unread post Fri Oct 09, 2015 3:17 am

Re: On Compiling and Running Charm++

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
<<

felipegb94

Newbie
Newbie

Posts: 15

Joined: Thu Aug 29, 2013 3:46 pm

Unread post Fri Oct 09, 2015 8:36 am

Re: On Compiling and Running Charm++

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.

Return to Charm++

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software.