Hi,
I'm having problems compiling Darshan on my laptop running Debian buster
with MPICH-3.3.
Here's how I compile:
$ git clone https://xgitlab.cels.anl.gov/darshan/darshan.git
$ cd darshan/darshan-runtime
$ ./configure --prefix=$PWD/install CC=mpicc --with-mem-align=8
--with-log-path=/tmp/log_darshan --with-jobid-env=NONE
$ make
[...]
mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I. -I./../
-g -O2 -D_LARGEFILE64_SOURCE -shared -fpic -DPIC -DDARSHAN_PRELOAD -c
lib/darshan-stdio.c -o lib/darshan-stdio.po
/tmp/cc6UpHUi.s: Assembler messages:
/tmp/cc6UpHUi.s:7769: Error: symbol `__isoc99_fscanf' is already defined
make: *** [Makefile:143: lib/darshan-stdio.po] Error 1
The preprocessed file (darshan-stdio.c) is attached. The problem is
probably due to line 585 (in the preprocessed source code) :
extern int fscanf (FILE *__restrict __stream, const char *__restrict
__format, ...) __asm__ ("" "__isoc99_fscanf")
If I comment this line, the compilation succeeds.
François
Darshan users,
Darshan 3.1.8 is now available for download here: https://www.mcs.anl.gov/research/projects/darshan/download/
This release introduces a new trace triggering mechanism that allows users to specify triggers that dictate which files are traced using Darshan’s tracing module, DXT. Users just need to provide Darshan a configuration file describing the triggers and Darshan will decide at runtime which files to store trace data for. Types of triggers include file- and rank-based triggers (based on regex patterns), as well as file access characteristics triggers (to trace based on frequency of small or unaligned I/O accesses). Please refer to darshan-runtime documentation on the DXT module for more details: https://www.mcs.anl.gov/research/projects/darshan/docs/darshan3-runtime.html
Note that full tracing is disabled by default in Darshan and this release does not change that — this is just a mechanism to allow DXT users more control over tracing.
Please report any questions, issues, or concerns using this mailing list, or by opening an issue on the Darshan GitLab page.
Thanks!
--Darshan team