Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: jcolmenares_at_[hidden]
Date: 2007-01-02 14:52:29


> First you should make sure that PATH and LD_LIBRARY_PATH are defined
> in the section of your .bashrc file that get parsed for non
> interactive sessions. Run "mpirun -np 1 printenv" and check if PATH
> and LD_LIBRARY_PATH have the values you expect.

in fact they do:

bernie_at_bernie-1:~/proyecto$ mpirun -np 1 printenv
SHELL=/bin/bash
SSH_CLIENT=192.168.1.142 4109 22
USER=bernie
LD_LIBRARY_PATH=/usr/local/openmpi/lib:/usr/local/openmpi/lib:
MAIL=/var/mail/bernie
PATH=/usr/local/openmpi/bin:/usr/local/openmpi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
PWD=/home/bernie
LANG=en_US.UTF-8
HISTCONTROL=ignoredups
SHLVL=1
HOME=/home/bernie
MPI_DIR=/usr/local/openmpi
LOGNAME=bernie
SSH_CONNECTION=192.168.1.142 4109 192.168.1.113 22
LESSOPEN=| /usr/bin/lesspipe %s
LESSCLOSE=/usr/bin/lesspipe %s %s
_=/usr/local/openmpi/bin/orted
OMPI_MCA_universe=bernie_at_bernie-1:default-universe
OMPI_MCA_ns_nds=env
OMPI_MCA_ns_nds_vpid_start=0
OMPI_MCA_ns_nds_num_procs=1
OMPI_MCA_mpi_paffinity_processor=0
OMPI_MCA_ns_replica_uri=0.0.0;tcp://192.168.1.142:4775
OMPI_MCA_gpr_replica_uri=0.0.0;tcp://192.168.1.142:4775
OMPI_MCA_orte_base_nodename=192.168.1.113
OMPI_MCA_ns_nds_cellid=0
OMPI_MCA_ns_nds_jobid=1
OMPI_MCA_ns_nds_vpid=0

> For your second question you should give the path to your prueba.bin
> executable. I'll do something like "mpirun --prefix /usr/local/
> openmpi -np 2 ./prueba.bin". The reason is that usually "." is not in
> the PATH.
>

bernie_at_bernie-1:~/proyecto$ mpirun --prefix /usr/local/openmpi -np 2
./prueba.bin
--------------------------------------------------------------------------
Failed to find or execute the following executable:

Host: bernie-3
Executable: ./prueba.bin

Cannot continue.
--------------------------------------------------------------------------

and the file IS there:

bernie_at_bernie-1:~/proyecto$ ls prueba*
prueba.bin prueba.f90 prueba.f90~

I must be missing something pretty silly, but have been looking around for
days to no avail!

Jose

thanks