PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Scyld problem using MPICHkit from PG

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Joey123



Joined: 21 Jun 2006
Posts: 2

PostPosted: Wed Jun 21, 2006 11:46 am    Post subject: Scyld problem using MPICHkit from PG Reply with quote

I installed mpichkit on my scyld system,(i386 Scyld running on Opterons with pg6.1)then made the mpihello.f program compiled and ran, but I get this error... Anyideas what may be wrong?

[root@scyld mpichkit]# /usr/pgi/linux86/6.1/bin/mpirun -np 4 ./mpihello
Trying krb4 rcp...
trying normal rcp (/usr/bin/rcp)
master: Connection refused
/root/mpichkit/./mpihello: error while loading shared libraries: libpgc.so: cannot open shared object file: No such file or directory
/bin/rm: [root@scyld mpichkit]#
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6134
Location: The Portland Group Inc.

PostPosted: Wed Jun 21, 2006 7:29 pm    Post subject: Reply with quote

Hi Joey,

You need to set your environment variable LD_LIBRARY_PATH to the location of the PGI installation library directory. Add the following to your default environment, i.e. ".cshrc", ".bashrc", etc.:

For csh: setenv LD_LIBRARY_PATH /usr/pgi/linux86/6.1/lib
For bash: export LD_LIBRARY_PATH=/usr/pgi/linux86/6.1/lib

Hope this helps,
Mat
Back to top
View user's profile
Joey123



Joined: 21 Jun 2006
Posts: 2

PostPosted: Thu Jun 22, 2006 9:55 am    Post subject: path already set Reply with quote

PGI=/usr/pgi; export PGI
MANPATH=$MANPATH:$PGI/linux86/6.1/man
export MANPATH
LM_LICENSE_FILE=$PGI/license.dat
export LM_LICENSE_FILE
PATH=$PGI/linux86/6.1/bin:$PATH
export PATH
NCARG_ROOT=/usr/local/ncarg
export NCARG_ROOT
PATH=/usr/local/ncarg/bin:$PATH
export PATH
LD_LIBRARY_PATH=/usr/pgi/linux86/6.1/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6134
Location: The Portland Group Inc.

PostPosted: Fri Jun 23, 2006 5:01 pm    Post subject: Reply with quote

My fault, try "/usr/pgi/linux86/6.1/libso" instead.

Thanks,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group