Dear Andrea, Thank you very much for your reply, indeed I am experiencing strange behavior at the pre-processing stage and this problem is probably related. Is there someone out there that have a working code on cygwin/g95? I believe I got over the post-processing problem, but new ones keep coming.
Thanks, Silviu. Andrea Ferretti wrote: >Hi Silviu, >as far as I understand C_POINTER is a preprocessor macro which is defined >in f_defs.h, as stems from (fft_scalar.f90, lines 72-75) > > 72 ! C_POINTER is defined in include/f_defs.h > 73 ! for 32bit executables, C_POINTER is integer(4) > 74 ! for 64bit executables, C_POINTER is integer(8) > >therefore it seems there's something wrong with the gcc precompiler >producing fft_scalar.F90 ... >while C_POINTER is explicitly written in the .f90 file, it should be >expanded to the macro value ( integer(kind=4 or 8) ) in the .F90 file, >which seems not to be the case here... > >Andrea > > >On Tue, 27 Sep 2005, Silviu Zilberman wrote: > > > >>Hi, >> >>Did any of you experienced the following (or similar) compilation >>problem with g95: >> >>g95 -O -D__FFTW -I../include -I. -I../Modules -I../PW -I../PH >>-I../iotk/src -c fft_scalar.F90 -o fft_scalar.o >>In file fft_scalar.F90:78 >> >> C_POINTER :: fw_plan( 3, ndims ) = 0 >> 1 >>Error: Unclassifiable statement at (1) >>In file fft_scalar.F90:79 >> >> C_POINTER :: bw_plan( 3, ndims ) = 0 >> 1 >>Error: Unclassifiable statement at (1) >>.... >> >>I am trying to get the cvs version running on a Cygwin + g95 platform. >> >>Thanks, Silviu. >> >> >> >> >> >_______________________________________________ >Pw_forum mailing list >Pw_forum at pwscf.org >http://www.democritos.it/mailman/listinfo/pw_forum > > -------------- next part -------------- A non-text attachment was scrubbed... Name: silviu.vcf Type: text/x-vcard Size: 247 bytes Desc: not available Url : /pipermail/attachments/20050928/bc7456f9/attachment.vcf
