[gmx-users] installation problem about correl.h
Erik Lindahl
lindahl at sbc.su.se
Sun Mar 19 19:38:38 CET 2006
Hi,
David is entirely right. Our bad. On the other hand, I have to blame
HP a bit too: empty statements _are_ allowed according to ANSI C :-)
Cheers,
Erik
On Mar 19, 2006, at 3:40 PM, David Mobley wrote:
> There is an extra semicolon ";;" at the end of one of the lines in the
> correl.h file which causes problems with some compilers. Since it is a
> "typo", the solution is to just remove the extra semicolon.
>
> David
>
> On 3/19/06, Linchen Gong <glc02 at mails.tsinghua.edu.cn> wrote:
>> Dear gromacs users,
>>
>> I'm new for gromacs, I got a installation problem on HP-SC45
>> Sigma-X cluster. following the instruction on gromacs website, I
>> got the error information while making gromacs as bellow:
>> ... ... ... ...
>> cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../include -
>> DGMXLIBDIR=\"/home2/glc1984/gromacs/share/top\"
>> -I/home2/glc1984/fft
>> w/include -std1 -fast -O4 -no_ifo -arch ev68 -unroll 2 -
>> fp_reorder -c -MD autocorr.c -o autocorr.o
>> cc: Info: ../../include/gmx_fft.h, line 95: Trailing comma
>> found in enumerator list. (trailcomma)
>> };
>> ^
>> cc: Error: correl.h, line 13: Missing type specifier or type
>> qualifier. (missingtype)
>> gmx_fft_t fft_setup;;
>> -----------------------^
>> *** Exit 1
>> Stop.
>> *** Exit 1
>> Stop.
>> *** Exit 1
>> Stop.
>> *** Exit 1
>> Stop.
>>
>> Aiming at a quit start, I used following commands:
>> ./configure --prefix=/home/myusername/fftw --enable-float
>> --enable-threads
>> make
>> make install
>> (fftw installation)
>> export CPPFLAGS=-I/home/myusername/fftw/include
>> export LDFLAGS=-L/home/myusername/fftw/lib
>> ./configure --prefix=/home/myusername/gromacs
>>
>> The correl.h file is in /src/tools/, can I force to specify
>> a type for gmx_fft_t and fft_setup in source file? or How can I
>> figure out the error?
>> Thanks a lot!
>>
>>
>>
>>
>>
>> Linchen Gong
>> glc02 at mails.tsinghua.edu.cn
>> 2006-03-19
>>
>> _______________________________________________
>> gmx-users mailing list gmx-users at gromacs.org
>> http://www.gromacs.org/mailman/listinfo/gmx-users
>> 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/mailing_lists/users.php
>>
>>
> _______________________________________________
> gmx-users mailing list gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> 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/mailing_lists/users.php
>
More information about the gromacs.org_gmx-users
mailing list