Intel mpif90 compilation error in topology_psf
Axel
akoh... at gmail.com
Fri Feb 29 19:51:08 UTC 2008
On Feb 29, 2:11 pm, thekbuzz <schau... at gmail.com> wrote:
> Thanks... may be I need 10.0.025.
>
> However on searching it seems to be that people have succeeded with
> 9.1
please note, it is not only the version number that matters,
but also the patchlevel. almost all intel compilers were
broken in some ways in their initial release. the x.0 versions
usually a bit more than the x.1 versions and the 64-bit versions
a bit more than the 32-bit verions. ia64 is the most problematic.
the errors reported are obviously bogus.
cheers,
axel.
> Thanks much!
>
> On Feb 29, 10:57 am, Teodoro Laino <teodor... at gmail.com> wrote:
>
> > Hi,
>
> > to me looks like it's a 9.1 problem. Please check previous posts on
> > the intel compiler to find out a reasonable
> > version that is bug-free enough to be able to compile cp2k. (10.0.025
> > at least.. possibly other versions?).
>
> > teo
>
> > On 29 Feb 2008, at 19:34, thekbuzz wrote:
>
> > > I am trying to compile the latest CVS in Linux-ia64-intel
> > > architecture.
>
> > > It was going alright before it started handling topology reading
> > > routines. Is this an ifort 9.1 problem or I am missing something in my
> > > path?
>
> > > Any ideas?
>
> > > Thanks much in advance.
>
> > > mpif90 -FR -c -O2 -Vaxlib -tpp2 cp_ddapc_types.f90
> > > mpif90 -FR -c -O2 -Vaxlib -tpp2 topology_psf.f90
> > > mpif90 -FR -c -O2 -Vaxlib -tpp2 xc_xwpbe.f90
> > > fortcom: Error: topology_psf.f90, line 976: Unbalanced parentheses
> > > WRITE(file_unit,FMT='(2('//TRIM(c_int)//'))',ADVANCE="NO") &
> > > -------------------------------------------------------------------^
> > > -------------------------------------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 977: Unbalanced parentheses
> > > conn_info%bond_a(i+j),conn_info%bond_b(i+j)
> > > -----------------------------------^
> > > fortcom: Error: topology_psf.f90, line 977: Unbalanced parentheses
> > > conn_info%bond_a(i+j),conn_info%bond_b(i+j)
> > > ---------------------------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 976: Syntax error, found '''
> > > when expecting one of: ( <IDENTIFIER> <CHAR_CON_KIND_PARAM>
> > > <CHAR_NA M_KIND_PARAM> <CHARACTER_CONSTANT>
> > > <INTEGER_CONSTANT> ...
> > > WRITE(file_unit,FMT='(2('//TRIM(c_int)//'))',ADVANCE="NO") &
> > > --------------------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 988: Unbalanced parentheses
> > > WRITE(file_unit,FMT='(3('//TRIM(c_int)//'))',ADVANCE="NO") &
> > > -------------------------------------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 989: Unbalanced parentheses
> > > conn_info%theta_a(i+j),conn_info%theta_b(i+j),&
> > > ------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 989: Unbalanced parentheses
> > > conn_info%theta_a(i+j),conn_info%theta_b(i+j),&
> > > -----------------------------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 990: Unbalanced parentheses
> > > conn_info%theta_c(i+j)
> > > ------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 988: Syntax error, found '''
> > > when expecting one of: ( <IDENTIFIER> <CHAR_CON_KIND_PARAM>
> > > <CHAR_NA M_KIND_PARAM> <CHARACTER_CONSTANT>
> > > <INTEGER_CONSTANT> ...
> > > WRITE(file_unit,FMT='(3('//TRIM(c_int)//'))',ADVANCE="NO") &
> > > --------------------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 1001: Unbalanced parentheses
> > > WRITE(file_unit,FMT='(4('//TRIM(c_int)//'))',ADVANCE="NO") &
> > > -------------------------------------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 1002: Unbalanced parentheses
> > > conn_info%phi_a(i+j),conn_info%phi_b(i+j),&
> > > ----------------------------------^
> > > fortcom: Error: topology_psf.f90, line 1002: Unbalanced parentheses
> > > conn_info%phi_a(i+j),conn_info%phi_b(i+j),&
> > > -------------------------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 1003: Unbalanced parentheses
> > > conn_info%phi_c(i+j),conn_info%phi_d(i+j)
> > > ----------------------------------^
> > > fortcom: Error: topology_psf.f90, line 1003: Unbalanced parentheses
> > > conn_info%phi_c(i+j),conn_info%phi_d(i+j)
> > > -------------------------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 1001: Syntax error, found '''
> > > when expecting one of: ( <IDENTIFIER> <CHAR_CON_KIND_PARAM>
> > > <CHAR_N AM_KIND_PARAM> <CHARACTER_CONSTANT>
> > > <INTEGER_CONSTANT> ...
> > > WRITE(file_unit,FMT='(4('//TRIM(c_int)//'))',ADVANCE="NO") &
> > > --------------------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 1014: Unbalanced parentheses
> > > WRITE(file_unit,FMT='(4('//TRIM(c_int)//'))',ADVANCE="NO") &
> > > -------------------------------------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 1015: Unbalanced parentheses
> > > conn_info%impr_a(i+j),conn_info%impr_b(i+j),&
> > > -----------------------------------^
> > > fortcom: Error: topology_psf.f90, line 1015: Unbalanced parentheses
> > > conn_info%impr_a(i+j),conn_info%impr_b(i+j),&
> > > ---------------------------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 1016: Unbalanced parentheses
> > > conn_info%impr_c(i+j),conn_info%impr_d(i+j)
> > > -----------------------------------^
> > > fortcom: Error: topology_psf.f90, line 1016: Unbalanced parentheses
> > > conn_info%impr_c(i+j),conn_info%impr_d(i+j)
> > > ---------------------------------------------------------^
> > > fortcom: Error: topology_psf.f90, line 1014: Syntax error, found '''
> > > when expecting one of: ( <IDENTIFIER> <CHAR_CON_KIND_PARAM>
> > > <CHAR_N AM_KIND_PARAM> <CHARACTER_CONSTANT>
> > > <INTEGER_CONSTANT> ...
> > > WRITE(file_unit,FMT='(4('//TRIM(c_int)//'))',ADVANCE="NO") &
> > > --------------------------------------------------^
> > > compilation aborted for topology_psf.f90 (code 1)
> > > make[2]: *** [topology_psf.o] Error 1- Hide quoted text -
>
> > - Show quoted text -
More information about the CP2K-user
mailing list