Using Darshan on SeaWulf

Darshan is a scalable HPC I/O characterization tool designed to capture an accurate picture of application I/O behavior, including properties such as patterns of access within files, with minimum overhead. 

Darshan was originally developed on the IBM Blue Gene series of computers deployed at the Argonne Leadership Computing Facility, but it is portable across a wide variety of platforms include the Cray XE6, Cray XC30, and Linux clusters.

Audience: Faculty, Guests, Researchers and Staff

This KB Article References:
This Information is Intended for: Faculty, Guests, Researchers, Staff
Last Updated: October 13, 2017

Current Version

The current version of Darshan running on SeaWulf is 3.1.4. To make use of Darshan utilities load the following modules:

module load shared
module load darshan/3.1.4


Compiling for Darshan

Darshan is currently configured on SeaWulf for the mpicc compiler. Here is an example of compiling a program to work with Darshan:

module load shared
module load mvapich2/gcc/64/2.2rc1
mpicc -o my_prog my_prog.c -lm


Submitting Jobs with Darshan

In order to prevent Darshan and MPI symbols from being pulled into unrelated binaries by exporting LD_PRELOAD, you must set the LD_PRELOAD variable whenever you execute a program. The following PBS job script is an example of how you would do so:

#PBS -l nodes=2:ppn=28,walltime=00:05:00
#PBS -N darshan_example
#PBS -q short

module load shared
module load torque/6.0.2
module load mvapich2/gcc/64/2.2rc1

cd $HOME

mpiexec -n 2 -env LD_PRELOAD /gpfs/software/darshan/darshan-3.1.4/darshan-runtime/lib/ ./my_prog


Log Files

Darshan log files are stored at the following location, in sub-directories based on the date of execution:



For more information, visit:

Additional Information

There are no additional resources available for this article.

Getting Help

The Division of Information Technology provides support on all of our services. If you require assistance please submit a support ticket through the IT Service Management system.

Submit A Ticket

Supported By