CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Lounge

Setting up MPICH cluster

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2016, 14:27
Default Setting up MPICH cluster
  #1
New Member
 
anonymous
Join Date: Jul 2016
Posts: 4
Rep Power: 10
philm is on a distinguished road
Hello everyone,

I seem to be running into some difficulty with setting up a MPICH cluster for Ubuntu.

I am folllowing this guide: https://help.ubuntu.com/community/MpichCluster to help me with the setup. I ma currently on part 7. For simplicity, I currently have a master and a client setup. I am currently running into a few issues with the SSH. I think that there is an issue with the implementation that the guide is assuming that I should already know.

After setting up the SSH on the master node, I run the command ssh-copy-id <masterNodeIP> on the client node so that the key on the two will be the same. However, it asks for the password for the client node user on the master node. Looking through the guide, I believe that this is not suppose to happen because the guide does not mention anything pertaining to this. Am I suppose to have one user name across all the nodes that is suppose to be the same? Or is there an issue with my SSH implementation

I apologize but I am not sure what information I can provide to help. Please, if there is more information that I can provide, please let me know.

Also, if you have a better method for implementing a MPICH cluster, then please let me know, too.
philm is offline   Reply With Quote

Old   September 11, 2016, 13:03
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings philm,

I've moved your thread from the OpenFOAM installation sub-forum to the Lounge, given that in this thread you didn't ask for details about installing OpenFOAM itself, but rather installation and setting up MPICH.
This is something that is common to be installed among various CFD software and it's also something that would probably be best to be asked on the Ubuntu or MPICH forums.

Nonetheless, given your description, I can only guess that the problem has to do with the convention that you're expecting. The idea for a cluster is that you should have the same user names and installation paths on all machines, so that the password-less ssh command can work without any problems.
Additionally, the first copy of the key will require password, since password-less access can only occur after the files are located at the correct places on each machine.

edit: Forgot to mention that you may want to check this blog post of mine: Notes about running OpenFOAM in parallel - I've collected a lot of notes there and links to threads. Perhaps something among them will help you.

Best regards,
Bruno

Last edited by wyldckat; September 11, 2016 at 13:04. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Reply

Tags
cluster computing, mpich2, ubuntu 14.04 lts

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
using chemkin JMDag2004 OpenFOAM Pre-Processing 2 March 8, 2016 22:38
NEW TUTORIAL: setting 2-node cluster with infiniband (SLES11 SP2) ghost82 FLUENT 0 August 12, 2014 10:41
[snappyHexMesh] determining displacement for added points CFDnewbie147 OpenFOAM Meshing & Mesh Conversion 1 October 22, 2013 09:53
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 21:58
Warning 097- AB Siemens 6 November 15, 2004 04:41


All times are GMT -4. The time now is 11:52.