Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6349017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:31:57+00:00 2026-05-24T21:31:57+00:00

The cluster I am using has several host types – different distributions/versions of Linux,

  • 0

The cluster I am using has several host types – different distributions/versions of Linux, some 32 bit, some 64 bit, different versions of GCC. I know that I should compile my program with platform specific MPI wrapper for GCC. This step is more or less clear to me.

My program uses fixed number of hosts and each host runs exactly 1 process. Shared memory threads are handled by TBB, so basically I need MPI only for work distribution between hosts.

The last step would be to run the program on all hosts. It turns out that it is the part I am not sure how to do and my IT folks couldn’t help me.

What I have is a list of host IP addresses (local addresses to be precise, something like 192.168.1.xxx) and user name and password for each host. What are the step to run my program on all hosts, provided it was compiler with platform specific compiler and copied into each host? Any help appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T21:31:58+00:00Added an answer on May 24, 2026 at 9:31 pm

    You need passwordless SSH access to all machines, a hostfile, the executable on all machines.
    Make sure the executable has the same (relative) path on all machines.

    Hostfile (on the master machine):

    # my_hostfile 
    192.168.0.205
    192.168.0.208
    

    Command for Open MPI:

    mpirun --hostfile my_hostfile programname
    

    For passwordless SSH access create a masterkey under ~/.ssh

    ssh-keygen -t rsa
    

    Add the (one line) content of ~/.ssh/rsa.pub from your master machine to a new line in ~/.ssh/authorized_keys2 on your target machines. (Instead of RSA you can use another SSH cryptosystem.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using a script that connects to a cluster through ssh and sends some
I'm considering using Berkeley DB to cache some data on an application cluster. What's
I'm trying to see if anyone knows how to cluster some Lat/Long results, using
If my app has to work in a cluster, will using flash[] cause issues?
I know that the MySQL errors are split into client and server types. Has
I've inherited the maintenance of some scientific computing using Parallel Python on a cluster.
I'm currently working on a cluster using the ClusterVisionOS 3.1. This will be my
Using (local) in the connection string doesn't work on my cluster. I'm assuming it's
I'm using Opencv's K-means implementation to cluster a large set of 8-dimensional vectors. They
My uni is teaching a distributed system course, which has sample programs using java

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.