[gmx-users] Error: invalid initializer, though GCC version 2006

Mark Abraham mark.j.abraham at gmail.com
Wed Mar 13 09:22:51 CET 2013


2006 is prehistoric, for a compiler. See
http://www.gromacs.org/Documentation/Installation_Instructions#3.2._Compiler

Mark

On Wed, Mar 13, 2013 at 7:24 AM, nikunj <nixcrazyforher at gmail.com> wrote:

> Hi.
> When I use the "make" command, it always stops at 56% and gives this error:
>
> [ 56%] Building C object
>
> src/gmxlib/CMakeFiles/gmx.dir/nonbonded/nb_kernel_sse2_single/nb_kernel_ElecRF_VdwCSTab_GeomW3P1_sse2_single.c.o
> In file included from
>
> /home/arpit/Desktop/gromacs-4.6/src/gmxlib/nonbonded/nb_kernel_sse2_single/nb_kernel_ElecRF_VdwCSTab_GeomW3P1_sse2_single.c:50:
>
> /home/arpit/Desktop/gromacs-4.6/src/gmxlib/nonbonded/nb_kernel_sse2_single/kernelutil_x86_sse2_single.h:
> In function
> `gmx_mm_load_shift_and_4rvec_broadcast_ps':/home/arpit/Desktop/gromacs-4.6/src/gmxlib/nonbonded/nb_kernel_sse2_single/kernelutil_x86_sse2_single.h:207:
> warning: implicit declaration of function `_mm_castpd_ps'
>
> /home/arpit/Desktop/gromacs-4.6/src/gmxlib/nonbonded/nb_kernel_sse2_single/kernelutil_x86_sse2_single.h:207:
> error: incompatible types in assignment
>
> /home/arpit/Desktop/gromacs-4.6/src/gmxlib/nonbonded/nb_kernel_sse2_single/kernelutil_x86_sse2_single.h:
> In function `gmx_mm_load_1rvec_4ptr_swizzle_ps':
>
> /home/arpit/Desktop/gromacs-4.6/src/gmxlib/nonbonded/nb_kernel_sse2_single/kernelutil_x86_sse2_single.h:248:
> error: incompatible types in assignment
>
> /home/arpit/Desktop/gromacs-4.6/src/gmxlib/nonbonded/nb_kernel_sse2_single/kernelutil_x86_sse2_single.h:249:
> error: incompatible types in assignment
>
> /home/arpit/Desktop/gromacs-4.6/src/gmxlib/nonbonded/nb_kernel_sse2_single/kernelutil_x86_sse2_single.h:250:
> error: incompatible types in assignment
>
> /home/arpit/Desktop/gromacs-4.6/src/gmxlib/nonbonded/nb_kernel_sse2_single/kernelutil_x86_sse2_single.h:251:
> error: incompatible types in assignment
>
> /home/arpit/Desktop/gromacs-4.6/src/gmxlib/nonbonded/nb_kernel_sse2_single/nb_kernel_ElecRF_VdwCSTab_GeomW3P1_sse2_single.c:
> In function `nb_kernel_ElecRF_VdwCSTab_GeomW3P1_VF_sse2_single':
>
> /home/arpit/Desktop/gromacs-4.6/src/gmxlib/nonbonded/nb_kernel_sse2_single/nb_kernel_ElecRF_VdwCSTab_GeomW3P1_sse2_single.c:109:
> warning: implicit declaration of function `_mm_castsi128_ps'
>
> /home/arpit/Desktop/gromacs-4.6/src/gmxlib/nonbonded/nb_kernel_sse2_single/nb_kernel_ElecRF_VdwCSTab_GeomW3P1_sse2_single.c:109:
> error: invalid initializer
>
> /home/arpit/Desktop/gromacs-4.6/src/gmxlib/nonbonded/nb_kernel_sse2_single/nb_kernel_ElecRF_VdwCSTab_GeomW3P1_sse2_single.c:
> In function `nb_kernel_ElecRF_VdwCSTab_GeomW3P1_F_sse2_single':
>
> /home/arpit/Desktop/gromacs-4.6/src/gmxlib/nonbonded/nb_kernel_sse2_single/nb_kernel_ElecRF_VdwCSTab_GeomW3P1_sse2_single.c:684:
> error: invalid initializer
> make[2]: ***
> [src/gmxlib/CMakeFiles/gmx.dir/nonbonded/nb_kernel_sse2_single/nb_kernel_ElecRF_VdwCSTab_GeomW3P1_sse2_single.c.o]
> Error 1
> make[1]: *** [src/gmxlib/CMakeFiles/gmx.dir/all] Error 2
> make: *** [all] Error 2
>
>
>
> I checked my GCC version. Its 2006.
> Can anybody help ?
>
> Thanks...
>
>
>
>
> --
> View this message in context:
> http://gromacs.5086.n6.nabble.com/Error-invalid-initializer-though-GCC-version-2006-tp5006283.html
> Sent from the GROMACS Users Forum mailing list archive at Nabble.com.
> --
> gmx-users mailing list    gmx-users at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-users
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
> * Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-request at gromacs.org.
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>



More information about the gromacs.org_gmx-users mailing list