[Rocks-Discuss] OpenMPI issue

54 views
Skip to first unread message

Michael Duncan

unread,
Feb 9, 2010, 2:38:44 PM2/9/10
to Discussion of Rocks Clusters
I'm running into an issue I can't quite solve. I'm hoping a lurking
guru here can help me out J

Installed Rocks 5.2 on a 3-node cluster for training purposes

/opt/openmpi exists

DL'ed and compiled GotoBLAS in my home dir

Compiled HPL (Linpack) in my home directory with /opt/openmpi as the
MPdir parameter in the make file

I am getting the following error when running it from the same dir

[miked ]$ /opt/openmpi/bin/mpirun -np 4 -machinefile machines ./xhpl

------------------------------------------------------------------------
--

mpirun was unable to launch the specified application as it could not
access

or execute an executable:

Executable: ./xhpl

Node: compute-0-0

while attempting to start process rank 0.

------------------------------------------------------------------------
--

ls -ls:

total 360

4 -rw-r--r-- 1 miked miked 1133 Feb 9 10:57 HPL.dat

4 -rw-rw-rw- 1 miked miked 96 Feb 9 10:58 machines

4 -rw-rw-r-- 1 miked miked 48 Feb 9 13:02 machines1

348 -rwxrwxr-x 1 miked miked 351253 Feb 9 14:34 xhpl

------------------

Mike


NOTICE:
This message may contain privileged or otherwise confidential information.
If you are not the intended recipient, please immediately advise the sender
by reply email and delete the message and any attachments without using,
copying or disclosing the contents.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20100209/f3a334be/attachment.html

Joerg Hohwieler

unread,
Feb 9, 2010, 3:23:49 PM2/9/10
to npaci-rocks...@sdsc.edu
On Tue, 09 Feb 2010 - 20:38, Michael Duncan wrote:
> I'm running into an issue I can't quite solve. I'm hoping a lurking
> guru here can help me out J
>
>
>
> Installed Rocks 5.2 on a 3-node cluster for training purposes
>
> /opt/openmpi exists
>
> DL'ed and compiled GotoBLAS in my home dir
>
> Compiled HPL (Linpack) in my home directory with /opt/openmpi as the
> MPdir parameter in the make file
>
>
>
> I am getting the following error when running it from the same dir
>
>
>
> [miked ]$ /opt/openmpi/bin/mpirun -np 4 -machinefile machines ./xhpl
>
> ------------------------------------------------------------------------
> --
>
> mpirun was unable to launch the specified application as it could not
> access
>
> or execute an executable:
>
>
>
> Executable: ./xhpl
>
> Node: compute-0-0

try running an executable which will surely be accesible on the compute
nodes to see if openmpi is working basically. E.g.

$ /opt/openmpi/bin/mpirun -np 4 -machinefile machines uptime


Does /opt/openmpi also exist on the compute nodes?

- jh

Michael Duncan

unread,
Feb 9, 2010, 4:03:04 PM2/9/10
to Discussion of Rocks Clusters
Thanks for the reply!

It turns out that when I run mpirun, as opposed to
/opt/openmpi/bin/mpirun, it works

"which mpirun" points to /opt/openmpi/bin/mpirun

Go figure

I also ran into an environment issue. Once I got the above to work, I
noticed the xhpl executable wasn't reading the correct HPL.dat file.
Logged out, and logged back in. Everything works as desired now.

Still not sure *why* the straight "mpirun" worked while specifying the
absolute path does not.

/opt/openmpi does exist on all nodes.

------------------
Mike

- jh

NOTICE:

Reply all
Reply to author
Forward
0 new messages