<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=GB2312">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi all,<br>
    <br>
    Does anyone know the instrumentation tool Vampir Trace? I am using
    it, and I want to instrument the gromacs code.<br>
    So my cmake options are:<br>
    <br>
    cmake .. -DCMAKE_BUILD_OWN_FFTW=ON -DCMAKE_C_COMPILER=vtcc
    -DCMAKE_CXX_COMPILER=vtcxx -DGMX_MPI=on
    -DCMAKE_INSTALL_PREFIX=/home/theo/gmx
    -CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-5.5<br>
    <br>
    Vampir Trace includes some binaries, like vtcc and vtcxx above. They
    behave like compiler but are actually compiler wrapper.<br>
    For example, you can write main.c and <font color="#330099">vtcc
      main.c -o main</font>, and the binary main will be built and you
    can run it like a normal binary file, but during the run, some files
    will be generated and can be analysed latter.<br>
    <br>
    However, error occurs:<br>
    <br>
    [&nbsp; 2%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/__/external/tng_io/src/compression/tng_compress.c.o<br>
    /home/theo/gromacs-5.0/src/external/tng_io/src/compression/tng_compress.c:25:

    <font color="#ff0000">error: expected ¡®=¡¯, ¡®,¡¯, ¡®;¡¯, ¡®asm¡¯ or
      ¡®__attribute__¡¯ before ¡®speed¡¯</font><br>
    /home/theo/gromacs-5.0/src/external/tng_io/src/compression/tng_compress.c:

    In function ¡®quantize¡¯:<br>
    /home/theo/gromacs-5.0/src/external/tng_io/src/compression/tng_compress.c:80:

    warning: implicit declaration of function ¡®verify_input_data¡¯<br>
    At top level:<br>
    cc1: warning: unrecognized command line option
    "-Wno-maybe-uninitialized"<br>
    make[2]: ***
    [src/gromacs/CMakeFiles/libgromacs.dir/__/external/tng_io/src/compression/tng_compress.c.o]

    Error 1<br>
    make[1]: *** [src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2<br>
    make: *** [all] Error 2<br>
    <br>
    When I open the tng_compress.c, I find that line 25 is just a
    comment.<br>
    <br>
    24 #define SPEED_DEFAULT 2 /* Default to relatively fast
    compression. For very&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; good compression it makes sense to<br>
    25&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; choose speed=4 or speed=5 */<br>
    26<br>
    <br>
    Could you tell me what's going on?<br>
    <br>
    I'd appreciate you kind help.
  </body>
</html>