[Darshan-users] darshan and fluent

Thomas Geenen thomas.geenen at asml.com
Tue Aug 18 04:22:58 CDT 2015


Hi,

I try to use darshan to profile the IO of fleunt.
For that I do

export LD_PRELOAD= /scratch/tgeenen/build/darshan-runtime-icc14.0/lib/libdarshan.so
and run fluent
fluent -mpi=intel -g 3ddp -t2 -i journal_lowb

this does not work.
After looking into it a bit more carefully I found that in the script
ansys/15.0.5/v150/fluent/fluent15.0.0/multiport/mpi_wrapper/bin/mpirun.fl
LD_PRELOAD Is overwritten
So I hacked it a little,
FS_MPIRUN_FLAGS="$FS_MPIRUN_FLAGS -genv LD_PRELOAD $LD_PRELOAD"

Now I get some results but it seems that not all IO is intercepted.

[tgeenen at ln001 30]$ darshan-job-summary.pl tgeenen_fluent_mpi.15.0.0_id24021_7-30-52184-13493803983035018749_1.darshan.gz
Slowest unique file time: 0
Slowest shared file time: 0.001565
Total bytes read and written by app (may be incorrect): 0
Total absolute I/O time: 0.001565
Warning: empty y range [0:0], adjusting to [-1:1]
Warning: empty y range [0:0], adjusting to [-1:1]


[tgeenen at ln001 30]$ darshan-summary-per-file.sh tgeenen_fluent_mpi.15.0.0_id24021_7-30-52184-13493803983035018749_1.darshan.gz output_directory
Status: Generating summary for file 1 of 1: thermo.db
=======================================================
Slowest unique file time: 0
Slowest shared file time: 0.001565
Total bytes read and written by app (may be incorrect): 0
Total absolute I/O time: 0.001565
Warning: empty y range [0:0], adjusting to [-1:1]
Warning: empty y range [0:0], adjusting to [-1:1]
=======================================================
darshan-summary-per-file.sh done. Results can be found in output_directory/*.pdf.
[tgeenen at ln001 30]$ ls output_directory/
thermo.db.gz  thermo.db.pdf

seems that only io for thermo.db is captured

I posted a question with Ansys support but they seem to be not very familiar with darshan.
I would be interested to understand if other users have experience with profiling fluent.

thanks
Thomas Geenen

Project Lead High Performance Computing

HPC Application & Infrastucture Expert/Architect
thomas.geenen at asml.com<mailto:thomas.geenen at asml.com>
-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. The sender nor the company/group of companies he or she represents shall be liable for the proper and complete transmission of the information contained in this communication, or for any delay in its receipt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-users/attachments/20150818/e4d366fe/attachment.html>


More information about the Darshan-users mailing list