Thanks, Tim Prins for your email. However It did't resolve my problem.
I set the enviroment variable on my Kubuntu Linux: faccioli@faccioli-desktop:/usr/local/lib$ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/bin faccioli@faccioli-desktop:/usr/local/lib$ LD_LIBRARY_PATH=/usr/local/lib/ Therefore, set command will display: BASH=/bin/bash BASH_ARGC=() BASH_ARGV=() BASH_COMPLETION=/etc/bash_completion BASH_COMPLETION_DIR=/etc/bash_completion.d BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="3" [1]="2" [2]="13" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='3.2.13(1)-release' COLORTERM= COLUMNS=83 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-C83Ve0QbQz,guid=e07c2bd483a99b50932d080046c199e9 DESKTOP_SESSION=default DIRSTACK=() DISPLAY=:0.0 DM_CONTROL=/var/run/xdmctl EUID=1000 GROUPS=() GS_LIB=/home/faccioli/.fonts GTK2_RC_FILES=/home/faccioli/.gtkrc- 2.0-kde:/home/faccioli/.kde/share/config/gtkrc-2.0 GTK_RC_FILES=/etc/gtk/gtkrc:/home/faccioli/.gtkrc:/home/faccioli/.kde/share/config/gtkrc HISTCONTROL=ignoreboth HISTFILE=/home/faccioli/.bash_history HISTFILESIZE=500 HISTSIZE=500 HOME=/home/faccioli HOSTNAME=faccioli-desktop HOSTTYPE=x86_64 IFS=$' \t\n' KDE_FULL_SESSION=true KDE_MULTIHEAD=false KONSOLE_DCOP='DCOPRef(konsole-5587,konsole)' KONSOLE_DCOP_SESSION='DCOPRef(konsole-5587,session-2)' LANG=en_US.UTF-8 LD_LIBRARY_PATH=/usr/local/lib/ LESSCLOSE='/usr/bin/lesspipe %s %s' LESSOPEN='| /usr/bin/lesspipe %s' LINES=33 LOGNAME=faccioli LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:' MACHTYPE=x86_64-pc-linux-gnu MAILCHECK=60 OLDPWD=/home/faccioli OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/bin PIPESTATUS=([0]="0") PPID=5587 Unfortunately, when I execute mpirun a.out, the message I received is: a.out: error while loading shared libraries: libmpi.so.0: cannot open shared object file: No such file or directory Thanks, On 8/14/07, Tim Prins <tpr...@open-mpi.org> wrote: > > You need to set your LD_LIBRARY_PATH. See these FAQ entries: > http://www.open-mpi.org/faq/?category=running#run-prereqs > http://www.open-mpi.org/faq/?category=running#adding-ompi-to-path > > Tim > > Rodrigo Faccioli wrote: > > Hi, > > > > I need to know what I can resolve my problem. I'm starting my study on > > mpi, more specificaly open-mpi. > > > > But, when I execute mpirun a.out, the message I received is: a.out: > > error while loading shared libraries: libmpi.so.0: cannot open shared > > object file: No such file or directory > > > > The a.out file was obtained through mpicc hello.c > > > > Thanks. > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > users mailing list > > us...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/users > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >