[Darshan-users] Darshan and Fortran (mpif90)

紫英石 576329202 at qq.com
Tue Nov 28 02:58:19 CST 2017


Hi,
I'm having trouble when trying to run Darshan with Fortran. I tried to dynamic link Darshan with mpich3.1.3(intel compiler version 15.0.1) applications following the instructions here. But there is no log file generated, and no error. Could you give me any suggestion on how to fix it?
http://www.mcs.anl.gov/research/projects/darshan/docs/darshan-runtime.html
<http://www.mcs.anl.gov/research/projects/darshan/docs/darshan-runtime.html>


Here is my steps:
1. Compile and install darshan 3.1.4
tar -xvzf darshan-3.1.4.tar.gz
cd darshan-3.1.4/darshan-runtime
./configure --with-mem-align=8 --with-log-path=<log directory> --with-jobid-env=SLURM_JOB_ID CC=mpicc --prefix=<install directory> --with-zlib=<zlib directory> --enable-HDF5-pre-1.10 --enable-group-readable-logs
make
make install
./prepare 


2. Create log directory, which successfully create the directory
perl darshan-mk-log-dirs.pl


3. Set up the environment
export PATH=/<darshan-3.1.4 install directory>/bin:$PATH
export LD_LIBRARY_PATH=/<darshan-3.1.4 install directory>/lib:$LD_LIBRARY_PATH
export INCLUDE=/<darshan-3.1.4 install directory>/include:$INCLUDE
export CPATH=/<darshan-3.1.4 install directory>/include:$CPATH
export LD_PRELOAD=/path/to/mpi/used/by/executable/lib/libfmpich.so:/<darshan-3.1.4 install directory>/lib/libdarshan.so


4. Compile application (mpi-io-test.f90)
mpif90 mpi-io-test.f90 -o mpi-io-test


5. Run application
srun -n 24 -p partitionname application


When the application runs complete, no logs is generated. I don't know what the problem is. Can you help me?


Thanks,
Zhong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-users/attachments/20171128/39ff3fd4/attachment.html>


More information about the Darshan-users mailing list