DarshanDescriptionDarshan is a lightweight and scalable I/O profiling tool. Darshan is able to collect profile information for POSIX, HDF5, NetCDF and MPIIO calls. Darshan profile data can be used to investigate and tune I/O behavior of MPI applications. Darshan can be used only with MPI applications. The application, at minimum, must call MPI_Init and MPI_Finalize. How to use DarshanEnabling Darshan: Darshan is now enabled by default. Any codes linked with the module will have darshan profiling enabled. Conflicting Modules: Any software that uses PMPI interface cannot be used alongside Darshan. For example, CrayPAT and Darshan cannot both be loaded at the same time. Modules report this conflict to the user as appropriate. Using Darshan with statically linked applications: No special changes are needed to compile and run a Darshan enabled code. Simply load darshan module and build the code as usual. Using Darshan with dynamically linked applications: Applications that link dynamically require an additional step for linking with Darshan. An environment variable export LD_PRELOAD=/sw/xe/darshan/3.1.3/darshan-3.1.3/lib/libdarshan.so must be defined at compile time and in the PBS script. Switching Programing Environments: The Darshan module is automatically enabled after switching Programing Environments. Obtaining Darshan Profile Data: Each time a darshan-instrumented application is executed, it will generate a single log file summarizing the I/O activity from that application. The log files are collected at a central location. Log file for a given application will have log file name in the following format:
To obtain a copy of your job's darshan profile data, add the following directive to the job submission command
After a successful job completion, a copy of the Darshan profile data is copied to the directory from which the batch job was submitted. Typically, Darshan profile data is written to the file system after MPI_Finalize call. If the job does not complete successfully, no Darshan profile data will be written to the file system. This includes jobs that did not complete due to job time expiry. Using Darshan Profile Data: The following utilities can be used to analyze Darsha profile data:
Detailed information on These utilities can be used from any of the login nodes. They will not work on compute or service nodes. Disabling Darshan To disable the darshan module in your current shell: $ module unload darshan No profile file generated
Known Issues
Additional Information / References |