Re: [OMPI users] Fwd: Open MPI v1.4 cant find default hostfile

2010-04-17 Thread Ralph Castain
Just to check what is going on, why don't you remove that message passing code and just printf("Hello MPI World from process %d!", my_rank in each process? Much more direct - avoids any ambiguity. Also, be certain that you compile this program for the specific OMPI version you are running it

Re: [OMPI users] How do I integrate OpenMPI with a local cluster and EC2

2010-04-17 Thread Ralph Castain
I'm afraid you'll have to ask the EC2 folks - you probably need something to get through their firewall. If you just try "ssh ec2-174-129-183-64.compute-1.amazonaws.com hostname", does that work? I would just try to make that work first - once it does, so should mpirun. On Apr 17, 2010, at 4:3

Re: [OMPI users] Dynamic processes connection and segfault on MPI_Comm_accept

2010-04-17 Thread Ralph Castain
Okay, but here is the problem. If you don't use mpirun, and are not operating in an environment we support for "direct" launch (i.e., starting processes outside of mpirun), then every one of those processes thinks it is a singleton - yes? What you may not realize is that each singleton immediat

[OMPI users] unresolved symbol mca_base_param_reg_int

2010-04-17 Thread Nev
Hi, I am having a problem running application with OpenMpi version 1.4.1. The system works with version 1.2.7, but fails with version 1.3.4 and 1.4.1. (These are the only version I have tried). My application is linked against a shared library which does a dlopen of a 2nd shared "C" library which

Re: [OMPI users] Fwd: Open MPI v1.4 cant find default hostfile

2010-04-17 Thread Mario Ogrizek
Ofcourse, its the same program, wasnt recompiled for a week. #include #include #include "mpi.h" int main(int argc, char* argv[]){ int my_rank; /* rank of process */ int p; /* number of processes */ int source; /* rank of sender */ int dest; /* rank of receiver */ int tag=

[OMPI users] How do I integrate OpenMPI with a local cluster and EC2

2010-04-17 Thread Theodore Van Rooy
Hi all, I'm trying to add EC2 instances into my local cluster with openMPI. So far openMPI works well on the local cluster, and I have set up passwordless SSH between the local cluster and the Amazon EC2 instance. Howver, when I add the public DNS into a file (defaulthostfiletest) comp1 slots=2

Re: [OMPI users] Dynamic processes connection and segfault on MPI_Comm_accept

2010-04-17 Thread Grzegorz Maj
Yes, I know. The problem is that I need to use some special way for running my processes provided by the environment in which I'm working and unfortunately I can't use mpirun. 2010/4/18 Ralph Castain : > Guess I don't understand why you can't use mpirun - all it does is start > things, provide a

Re: [OMPI users] Dynamic processes connection and segfault on MPI_Comm_accept

2010-04-17 Thread Ralph Castain
Guess I don't understand why you can't use mpirun - all it does is start things, provide a means to forward io, etc. It mainly sits there quietly without using any cpu unless required to support the job. Sounds like it would solve your problem. Otherwise, I know of no way to get all these proce

[OMPI users] Dynamic processes connection and segfault on MPI_Comm_accept

2010-04-17 Thread Grzegorz Maj
Hi, I'd like to dynamically create a group of processes communicating via MPI. Those processes need to be run without mpirun and create intracommunicator after the startup. Any ideas how to do this efficiently? I came up with a solution in which the processes are connecting one by one using MPI_Com

Re: [OMPI users] Fwd: Open MPI v1.4 cant find default hostfile

2010-04-17 Thread Ralph Castain
On Apr 17, 2010, at 11:17 AM, Mario Ogrizek wrote: > Hahaha, ok then that WAS silly! :D > So there is no way to utilize both cores with mpi? We are using both cores - it is just that they are on the same node. Unless told otherwise, the processes will use shared memory for communication. > >

Re: [OMPI users] Fwd: Open MPI v1.4 cant find default hostfile

2010-04-17 Thread Mario Ogrizek
Hahaha, ok then that WAS silly! :D So there is no way to utilize both cores with mpi? Ah well, I'll correct that. >From console, im starting a job like this: mpirun -np 4 Program, where i want to run a Program on 4 processors. I was just stumbled when i got same output 4 times, like there are 4 p

Re: [OMPI users] Fwd: Open MPI v1.4 cant find default hostfile

2010-04-17 Thread Ralph Castain
On Apr 17, 2010, at 1:16 AM, Mario Ogrizek wrote: > I am new to mpi, so I'm sorry for any silly questions. > > My idea was to try to use dual core machine as two nodes. I have a limited > access to a cluster, so this was just for "testing" purposes. > My default hostfile contains usual comments

[OMPI users] OpenMPI, OpenMP, threads and hybrid programming...

2010-04-17 Thread Ricardo Reis
Hi all I'm around this code, I've gone from serial to parallel with MPI, from F77 to F95+2003... and now I'm adding OpenMP to easy the communication side of things. One of the constructs I'm looking is: $!OMP SECTIONS < this creates a SECTIONS area. $!OMP SECTION < this is a

Re: [OMPI users] OS X - Can't find the absoft directory

2010-04-17 Thread Paul Cizmas
Ricardo: Thank you for your reply. The variable ABSOFT is currently defined in the .bashrc file. One can check this by doing "echo $ABSOFT" that returns the location "/Applications/Absoft11.0". However, the makefile (or one of its depend files) does not know the $ABSOFT value. Paul On Apr

Re: [OMPI users] OS X - Can't find the absoft directory

2010-04-17 Thread Ricardo Reis
On Fri, 16 Apr 2010, Paul Cizmas wrote: I tried to add in the makefile the following line ABSOFT = /Applications/Absoft11.0 but this did not help. I wonder if this definition of ABSOFT must be added to another file. If so, what this file should be? generally ABSOFT should be an environmen

Re: [OMPI users] Fwd: Open MPI v1.4 cant find default hostfile

2010-04-17 Thread Mario Ogrizek
I am new to mpi, so I'm sorry for any silly questions. My idea was to try to use dual core machine as two nodes. I have a limited access to a cluster, so this was just for "testing" purposes. My default hostfile contains usual comments and this two nodes: node0 node1 I thought that each processo