[Darshan-users] darshan/227 conflicts with cray-mpich ?

Phil Carns carns at mcs.anl.gov
Wed Aug 28 10:25:42 CDT 2013


Hi JG,

The problem here is that 2.2.7 isn't compatible with the MPI 3.x 
function prototypes which have added const correctness.  This is fixed 
in the 2.2.8 series but we haven't completed testing and documentation 
updates to make it an official release yet.

Could you try compiling this pre-release and confirm if it fixes the 
problem for you?

ftp://ftp.mcs.anl.gov/pub/darshan/releases/darshan-2.2.8-pre2.tar.gz

Assuming that works then maybe we can discuss some options depending on 
your situation (the options will be to patch 2.2.7 (it is a simple 
patch), use 2.2.8-pre2, or wait for 2.2.8).

thanks,
-Phil

On 08/28/2013 11:14 AM, jgp wrote:
> Hi,
>
> I would like to compile and install Darshan/2.2.7 (runtime) on a CRAY XK7
> using PrgEnv-gnu but i am getting this error message :
>
>     lib/darshan-mpi-io.c:666:5: error: conflicting types for 'MPI_File_open'
>
>
> todi4:/apps/todi/darshan/src/SVN/darshan/darshan-runtime $ mm
>
>> cc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I ../ -I .
>> -I./../ -g -O2  -I/apps/todi/darshan/src/zlib/1.2.8/gnu_434/include
>> -D_LARGEFILE64_SOURCE  -c lib/darshan-mpi-io.c -o lib/darshan-mpi-io.o
> # lib/darshan-mpi-io.c:666:5: error: conflicting types for 'MPI_File_open'
> # In file included from
> # /opt/cray/mpt/6.0.1/gni/mpich2-gnu/47/include/mpi.h:2121:0,
> #                  from lib/darshan-mpi-io.c:28:
> # /opt/cray/mpt/6.0.1/gni/mpich2-gnu/47/include/mpio.h:119:5: note:
> # previous declaration of 'MPI_File_open' was here
>
> My configure line is :
>
> ./configure \
>          --with-mem-align=8 \
>          --with-log-path=`echo $SCRATCH/darshanlogs` \
>          --with-jobid-env=SLURM_JOB_ID \
>          --disable-cuserid \
>          --with-zlib=/apps/todi/darshan/src/zlib/1.2.8/gnu_434 \
>          CC=cc \
>          --prefix=/apps/todi/darshan/2.2.7/gnu_472
>
>
> We recently updated the PE to :
>
>> Currently Loaded Modulefiles:
>    # modules/3.2.6.7
>    # nodestat/2.2-1.0402.44853.2.1.gem
>    # sdb/1.0-1.0402.44037.2.31.gem
>    # MySQL/5.0.64-1.0000.7096.23.1
>    # lustre-cray_gem_s/1.8.6_2.6.32.59_0.7.1_1.0402.7200.5.1-1.0402.44933.9.1
>    # udreg/2.3.2-1.0402.7311.2.1.gem
>    # ugni/5.0-1.0402.7128.7.6.gem
>    # gni-headers/2.1-1.0402.7082.6.2.gem
>    # dmapp/4.0.1-1.0402.7439.5.1.gem
>    # xpmem/0.1-2.0402.44035.2.1.gem
>    # hss-llm/7.0.0
>    # Base-opts/1.0.2-1.0402.42088.1.3.gem
>    # craype-network-gemini
>    # xt-asyncpe/5.22
>    # cce/8.1.9
>    # totalview-support/1.1.4
>    # totalview/8.12.0
>    # cray-libsci/12.1.01
>    # pmi/4.0.1-1.0000.9421.73.3.gem
>    # rca/1.0.0-2.0402.42153.2.106.gem
>    # atp/1.6.3
>    # PrgEnv-cray/4.2.24
>    # craype-interlagos
>    # cray-mpich/6.0.2
>    # slurm
>
> Has anyone of you managed to build darshan with latest mpich from CRAY ?
> If so, would you kind enough to share some instructions ?
>
> Best regards, jg.
>



More information about the Darshan-users mailing list