| View previous topic :: View next topic |
| Author |
Message |
Carlo Nardone
Joined: 22 Feb 2005 Posts: 5
|
Posted: Mon Sep 12, 2005 3:29 pm Post subject: launch of MPI profiling and shared libs |
|
|
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 |
|
 |
Carlo Nardone
Joined: 22 Feb 2005 Posts: 5
|
Posted: Tue Sep 13, 2005 10:40 am Post subject: Re: launch of MPI profiling and shared libs |
|
|
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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 5001 Location: The Portland Group Inc.
|
Posted: Tue Sep 13, 2005 11:53 am Post subject: |
|
|
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 |
|
 |
|