[Darshan-users] cray perftools

jgp jgp at cscs.ch
Fri Apr 26 05:44:41 CDT 2013


Hi,

I would like to put darshan in production by having its modulefile
loaded by default for all users. There may be an issue when a user wants
to compile his code with another tool (CRAY perftools for instance) :

FATAL: The program '/scratch/santis/piccinal/CRAY+orig' directly or indirectly uses the MPI profiling mechanism.

Typically, you would avoid this by adding "conflict perftools" in the modulefile of darshan which will stop the loading of darshan if perftools is already loaded. But i am wondering if it would be possible to add a variable in the src code to activate/deactivate darshan on demand. Something like :

While darshan is always loaded, if a user do :
module load perftools   # will set DARSHAN_STATUS=OFF and user can compile without darshan
module rm perftools     # will set DARSHAN_STATUS=ON  and user can compile with darshan

I'd like to know the pros/cons. Thanks for your support.

jg.


More information about the Darshan-users mailing list