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

2010-04-19 Thread Jeff Squyres
Whenever I have seen this problem, it has been because of a mismatch between mpirun and the back-end libraries that are linked against the executable. For example, the app was compiled/linked against Open MPI a.b.c and either some other mpirun was used (e.g., from MPICH) or the mpirun from

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

2010-04-18 Thread Ralph Castain
Afraid I can't help you - I've never seen that behavior on any system, can't replicate it anywhere, and have no idea what might cause it. On Apr 18, 2010, at 9:15 AM, Mario Ogrizek wrote: > It is a parallel tools platform for eclipse IDE, a plugin. > I dont think it is a source of problem. > >

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

2010-04-18 Thread Mario Ogrizek
It is a parallel tools platform for eclipse IDE, a plugin. I dont think it is a source of problem. The same thing is happening running it from shell. It has something to do with mapping or something else. Since it allways maps for job 0, what ever that means. On Sun, Apr 18, 2010 at 4:50 PM,

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

2010-04-18 Thread Ralph Castain
Again, what is PTP? I can't replicate this on any system we can access, so it may be something about this PTP thing. On Apr 18, 2010, at 1:37 AM, Mario Ogrizek wrote: > Ofcourse i checked that, i have all of this things, > I simplified the program, and its the same. > Nothing gave me clue,

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

2010-04-18 Thread Mario Ogrizek
Ofcourse i checked that, i have all of this things, I simplified the program, and its the same. Nothing gave me clue, except the more detailed writeout of the PTP. Here is the critical part of it: (1.2 one, this is correct) [Mario.local:05548] Map for job: 1 Generated by mapping mode: byslot

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

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

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

2010-04-16 Thread Ralph Castain
On Apr 16, 2010, at 5:08 PM, Mario Ogrizek wrote: > I checked the default MCA param file, and found it was there that was > (automatically) specified as a relative path, so i changed it. > So now, it works, altho, still something is not right. > Seems like its creating 4 times only 1 process. >

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

2010-04-16 Thread Mario Ogrizek
I checked the default MCA param file, and found it was there that was (automatically) specified as a relative path, so i changed it. So now, it works, altho, still something is not right. Seems like its creating 4 times only 1 process. Not sure if it has to do something with my hostfile, it

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

2010-04-16 Thread Mario Ogrizek
I understand, so, its looking for a working_dir/usr/local/etc/openmpi-default-hostfile I managed to run a hello world program from the console, while my wd was just "/" and it worked, altho strangely... example for 4 procs: Hello MPI World From process 0: Num processes: 1 Hello MPI World From

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

2010-04-16 Thread Ralph Castain
How did you specify it? Command line? Default MCA param file? On Apr 16, 2010, at 11:44 AM, Mario Ogrizek wrote: > Any idea how to solve this? > > On Fri, Apr 16, 2010 at 7:40 PM, Timur Magomedov > wrote: > Hello. > It looks that you hostfile path should > be

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

2010-04-16 Thread Ralph Castain
The problem is that you gave us a relative path - is that where the file is located? The system is looking for usr/local/etc/openmpi-default-hostfile relative to your current working directory. If you want us to look in /usr/local/etc, then you have to give us that absolute path. We don't

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

2010-04-16 Thread Mario Ogrizek
Any idea how to solve this? On Fri, Apr 16, 2010 at 7:40 PM, Timur Magomedov < timur.magome...@developonbox.ru> wrote: > Hello. > It looks that you hostfile path should > be /usr/local/etc/openmpi-default-hostfile not > usr/local/etc/openmpi-default-hostfile but somehow Open MPI gets the >

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

2010-04-16 Thread Timur Magomedov
Hello. It looks that you hostfile path should be /usr/local/etc/openmpi-default-hostfile not usr/local/etc/openmpi-default-hostfile but somehow Open MPI gets the second path. В Птн, 16/04/2010 в 19:10 +0200, Mario Ogrizek пишет: > Well, im not sure why should i name it /openmpi-default-hostfile >