[CPMD-list] Error compiling on HP

Juerg Hutter hutter at pci.unizh.ch
Tue Mar 11 10:48:58 CET 2003


Hi

there seems to be a problem with OpenMP directives
spawning more than one line. Change the code to
look like this (in all three places)

C$OMP parallel do private(IG,FP,FM)
C$OMP+  shared(NGW,I,FI,TPIBA2,IKIND,PSI,C0,C2,IBB)

regrads

Juerg

----------------------------------------------------------
Juerg Hutter                   Phone : ++41 1 635 4491
Physical Chemistry Institute   FAX   : ++41 1 635 6838
University of Zurich           E-mail: hutter at pci.unizh.ch
Winterthurerstrasse 190
CH-8057 Zurich, Switzerland
----------------------------------------------------------


On Tue, 11 Mar 2003, Sergey wrote:

>
> Dear All,
>
> I cannot compile new CPMD code on HP-UX Itanium2 mashine using HP 2.5 Fortran 90 compiler. I got message:
>
> mpif90 -c +Ofast +Odataprefetch +DSnative +U77 +DD64 +externals=equiv_file  ./vpsi.f -o  ./vpsi.o
> .//fciAAAa29173.f
>    external subroutine VPSI
>
> C$OMP+                      IKIND,PSI,C0,C2,IBB)
>                                                ^
> Error 3 at (306:./vpsi.F) : unbalanced parenthesis
>
> C$OMP+      TPIBA2,GAKIN,GCKIN,XSKIN,FI,C0,C2,IS1,NOSTAT,FIP1,IS2)
>                                                                  ^
> Error 3 at (332:./vpsi.F) : unbalanced parenthesis
>
> C$OMP+     C2,C0,FI,TPIBA2,IS1,IS2,NOSTAT,FIP1)
>                                               ^
> Error 3 at (348:./vpsi.F) : unbalanced parenthesis
>    external subroutine VPSIMT
>
> 3 Errors
> f90: Errors detected.
> make: *** [vpsi.o] Error 1
> /users/sergey/CPMD-3.7.1/SOURCE 14 %
>
> The same error I got without MPI.
> Do you know this problem? The fortran version is HP 2.5
>
> Thank you,
> Sergey
> _______________________________________________
> CPMD-list mailing list
> CPMD-list at cpmd.org
> http://www.cpmd.org/mailman/listinfo/cpmd-list
>



More information about the CPMD-list mailing list