[gmx-developers] Error occurs when compiling gromacs using vtcc

Theodore Si sjyzhxw at gmail.com
Fri Aug 1 11:09:26 CEST 2014

Hi all,

Does anyone know the instrumentation tool Vampir Trace? I am using it,
and I want to instrument the gromacs code.
So my cmake options are:


Vampir Trace includes some binaries, like vtcc and vtcxx above. They
behave like compiler but are actually compiler wrapper.
For example, you can write main.c and vtcc main.c -o main, 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.

However, error occurs:

[ 2%] Building C object
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘speed’
In function ‘quantize’:
warning: implicit declaration of function ‘verify_input_data’
At top level:
cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized"
make[2]: ***
Error 1
make[1]: *** [src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2
make: *** [all] Error 2

When I open the tng_compress.c, I find that line 25 is just a comment.

24 #define SPEED_DEFAULT 2 /* Default to relatively fast compression.
For very good compression it makes sense to
25 choose speed=4 or speed=5 */

Could you tell me what's going on?

I'd appreciate you kind help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20140801/fe28a7c5/attachment.html>

More information about the gromacs.org_gmx-developers mailing list