PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

launch of MPI profiling and shared libs

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
Carlo Nardone



Joined: 22 Feb 2005
Posts: 5

PostPosted: Mon Sep 12, 2005 3:29 pm    Post subject: launch of MPI profiling and shared libs Reply with quote

Hi,

I would like to use the MPI profiler pgprof in PGI CDK 6
on a cluster of Opteron 2p boxes.
I compile and link as explained by the user guide,
however when I launch the executable with PGI mpirun
the system does not find the *.so 64-bit libs.
I know that this is due to some NFS/automount settings
in the cluster, therefore I am trying to propagate
the LD_LIBRARY_PATH variable from the frontend
to the cluster nodes without success.
With the standard mpich it seems possible to use
the so called secure server chp4_servs,
which is not available in $PGI/linux86-64/6.0/bin

Any workaround, anybody?
Many TIA

--
cmn
Back to top
View user's profile
Carlo Nardone



Joined: 22 Feb 2005
Posts: 5

PostPosted: Tue Sep 13, 2005 10:40 am    Post subject: Re: launch of MPI profiling and shared libs Reply with quote

I have spotted a mistake in my .bashrc with LD_LIBRARY_PATH,
now with the correct path mpirun and the profiler work just fine.

--
cmn
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Sep 13, 2005 11:53 am    Post subject: Reply with quote

I typically just add the variable to my shell rc file as well, but another method is to wrap your exe in script which first sets your enviroment.

Example:

myscript:
export LD_LIBRARY_PATH=/path/to/libso
a.out

Then run mpirun:

mpirun -np 2 myscript

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling 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