launch of MPI profiling and shared libs


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


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


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.


export LD_LIBRARY_PATH=/path/to/libso

Then run mpirun:

mpirun -np 2 myscript

  • Mat