[gmx-users] [~SOLVED] Problem compiling Gromacs 5.1 with XL

Jernej Zidar jernej.zidar at gmail.com
Mon Aug 17 11:23:29 CEST 2015


Hi Mark,
  I will send you the files.

  I managed to solve the issue by replacing the content of the
~/gromacs-5.1/src/gromacs/simd directory with files from Gromacs
5.0.6. Still curious about what could have caused such an issue.

Best,
Jernej

>
> Hi,
>
> That all seems wildly unlikely, particularly as you say you can compile
> earlier GROMACS versions with the same toolchain. The errors are caused by
> the compiler interpreting gmx_unused as a variable name, instead of a
> portable way to suppress compiler warnings about variables that are unused
> on some code paths. But the source file is correctly including the header
> that declares gmx_unused (and in any case, if there was a compiler problem,
> gmx_unused should preprocess to something that triggers a different
> compiler error, or to nothing).
>
> Can you please email me (off list) your CMakeCache.txt, src/config.h
> src/buildinfo.h from the build directory?
>
> Thanks,
>
> Mark


More information about the gromacs.org_gmx-users mailing list