Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Cluster-Computing with Comsol

Please login with a confirmed email address before reporting spam

Hi!

Im am trying to configure Comsol 4.1 for parallel computing on a number of nodes (currently 3) on a Scientific Linux System using PBS.

I found out i had to set up a mp-daemon on each of the nodes an tried like this:

>cat $PBS_NODEFILE|uniq > mpd.hosts % generating Hostfile
>comsol mpd boot -f mpd.hosts -n 3 -r ssh % starting mp-daemons

A quick check via "comsol mpd trace" gives back all 3 nodes, the mpds are running on, apparently communicating with each other one or the other way.

How to start comsol itself, however, i am not sure. I tried it with

>comsol

i.e. without any parameters, but the other nodes are not used. Another attempt with

>comsol -nn 3 -mpirsh ssh

seems to generate a few comsol tasks (at least on the one node i can see using htop) but does not provide a comsol-GUI, so no interactive testing or working is possible.

Can anyone help me on this matter?

Best regards, Christian

4 Replies Last Post Apr 19, 2013, 12:53 p.m. EDT
Jim Freels mechanical side of nuclear engineering, multiphysics analysis, COMSOL specialist

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Apr 9, 2011, 9:37 a.m. EDT
You need to also connect to a comsol server running on one of the nodes that is running mpi. Also be sure to enable "cluster computing" in your model solver tree. This is how I do it, but there are also other ways.
You need to also connect to a comsol server running on one of the nodes that is running mpi. Also be sure to enable "cluster computing" in your model solver tree. This is how I do it, but there are also other ways.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 17, 2011, 5:41 p.m. EDT
Well folks, I am looking for a little advise in getting my cluster up and running. I'm finding i can't get my mpd to load on any node except the head node. I've followed every step i can find and still it does nothing for me. I have mpd.hosts file in my home dir, populated with the names of the compute nodes i'm wanting to use. When I load
..</comsol mpd boot -f mpd.hosts -n 3 -r ssh i get the result of
..<totalnum=3 numhosts=1
..there are not enough hosts on which to start all processes


can anyone point me in the right direction?
Thanks for your time

Well folks, I am looking for a little advise in getting my cluster up and running. I'm finding i can't get my mpd to load on any node except the head node. I've followed every step i can find and still it does nothing for me. I have mpd.hosts file in my home dir, populated with the names of the compute nodes i'm wanting to use. When I load ..

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Aug 11, 2011, 7:23 p.m. EDT
I was having this same problem, but I got around it by using the full path to the mpd.hosts file
I was having this same problem, but I got around it by using the full path to the mpd.hosts file

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Apr 19, 2013, 12:53 p.m. EDT
Thank you Ben Higgins, the full mpd.hosts filename did the trick. You solved a very frustrating problem for me!
Thank you Ben Higgins, the full mpd.hosts filename did the trick. You solved a very frustrating problem for me!

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.