[Pw_forum] parallel comilation error

Mahmoud Payami mpayami at aeoi.org.ir
Sun Aug 29 16:11:16 CEST 2004


The origin of this problem was that the "g77" command was used instead of "ifc" in the "mpif77". I changed  FC="ifc" and then used "make all". The compilation was successful without any errors.
However, trying to run example1 in parallel mode, the program complains: 
==============
./run_example: line 16: -n: command not found
./run_example: line 17: 5: command not found
================================
and then starts to run in a single processor (?).
How can I make thses two lines diappear?
Any comments is highly appreciated.

Best regards,
Mahmoud Payami

  Dear PWSCF Users,

  I used the Gerardo Ballabio recipe and configured successfully. However, trying to compile I got the following messages and no binary files:

  =================================

         CHARACTER*1 MPI_ARGVS_NULL(1,1)
                  ^
  Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95

  mpif90 -Vaxlib -O2 -tpp7 -I. -I../include -I../Modules -I../PW -I../PH  -nomodule -fpp -D__LINUX -D__INTEL -D__MPI -D__PARA -DHAS_ZHEGVX -D__FFTW -D__USE_INTERNAL_FFTW  -c mp.f90
     module MP
       module subroutine MP_EXCNG_I
         CHARACTER*1 MPI_ARGVS_NULL(1,1)
                  ^
  Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95

         CHARACTER*1 MPI_ARGV_NULL(1)
                  ^
  Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95
       module subroutine FFT_SCATTER

         CHARACTER*1 MPI_ARGVS_NULL(1,1)
                  ^
  Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95

         CHARACTER*1 MPI_ARGV_NULL(1)
                  ^
  Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95

        CHARACTER*1, INTENT(IN) :: TRANSA, TRANSB
                 ^
  Comment 15 at (84:ptoolkit.f90) : This feature is obsolescent in Fortran 95
       module subroutine MATMULP

         CHARACTER*1 MPI_ARGVS_NULL(1,1)
                  ^
  Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95

         CHARACTER*1 MPI_ARGV_NULL(1)
                  ^
  Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95

        CHARACTER*1, INTENT(IN) :: TRANSA, TRANSB
                 ^
  Comment 15 at (256:ptoolkit.f90) : This feature is obsolescent in Fortran 95
       module subroutine CMATMULP

         CHARACTER*1 MPI_ARGVS_NULL(1,1)
                  ^
  Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95

         CHARACTER*1 MPI_ARGV_NULL(1)
                  ^
  Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95

        CHARACTER*1  :: TRANSA, TRANSB
                 ^
  Comment 15 at (395:ptoolkit.f90) : This feature is obsolescent in Fortran 95
       module subroutine PTREDV

         CHARACTER*1 MPI_ARGVS_NULL(1,1)
                  ^
  Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95

         CHARACTER*1 MPI_ARGV_NULL(1)
                  ^
  Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95
  Comment 2 : In procedure PTREDV format 100 is not used
       module subroutine PTQLIV
       module subroutine PEIGSRTV
       module function PYTHAG
       module subroutine DIAGONALIZE

         CHARACTER*1 MPI_ARGVS_NULL(1,1)
                  ^
  Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95

         CHARACTER*1 MPI_ARGV_NULL(1)
                  ^
  Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95
       module subroutine PDSPEV_DRV
       module subroutine DSPEV_DRV
       module subroutine CDIAGONALIZE

         CHARACTER*1 MPI_ARGVS_NULL(1,1)
                  ^
  Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95

         CHARACTER*1 MPI_ARGV_NULL(1)
                  ^
  Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95
       module subroutine PZHPTRD

         CHARACTER*1 MPI_ARGVS_NULL(1,1)
                  ^
  Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95

         CHARACTER*1 MPI_ARGV_NULL(1)
                  ^
  Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95

        INTRINSIC          DABS, REAL, dcmplx, AIMAG, SIGN
                                       ^
  Warning 39 at (1678:ptoolkit.f90) : This intrinsic function is an extension to standard Fortran 95
       module subroutine PZUPGTR

         CHARACTER*1 MPI_ARGVS_NULL(1,1)
                  ^
  Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95

         CHARACTER*1 MPI_ARGV_NULL(1)
                  ^
  Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is obsolescent in Fortran 95
       module subroutine PZSTEQR
       module subroutine ZHPEV_DRV
       module subroutine PZHPEV_DRV
              auxa( ibuf + i ) = DCONJG( a( j, i + ioff ) )
                                 ^
  Warning 39 at (459:ptoolkit.f90) : This intrinsic function is an extension to standard Fortran 95
                    ALPHA = dcmplx( ALPHR, ALPHI )
                            ^
  Warning 39 at (1781:ptoolkit.f90) : This intrinsic function is an extension to standard Fortran 95
                    TAUI = dcmplx( ( BETA-ALPHR ) / BETA, -ALPHI / BETA)
                           ^
  Warning 39 at (1783:ptoolkit.f90) : This intrinsic function is an extension to standard Fortran 95
                    ALPHA = ZLADIV( dcmplx( ONE ), ALPHA-BETA )
                                    ^
  Warning 39 at (1784:ptoolkit.f90) : This intrinsic function is an extension to standard Fortran 95
                    TAUI = dcmplx( ( BETA-ALPHR ) / BETA, -ALPHI / BETA)
                           ^
  Warning 39 at (1797:ptoolkit.f90) : This intrinsic function is an extension to standard Fortran 95
                    ALPHA = ZLADIV( dcmplx( RONE ), ALPHA-BETA )
                                    ^
  Warning 39 at (1798:ptoolkit.f90) : This intrinsic function is an extension to standard Fortran 95

                    ^
  Warning 141 at (1749:read_cards.f90) : Character string truncated to length 5 on assignment

        real*8 a
             ^
  Warning 2 at (14:iceil.f90) : Type size specifiers are an extension to standard Fortran 95

          REAL*8 :: x(ldx, m), y(ldy, n)
               ^
  Warning 2 at (26:transto.f90) : Type size specifiers are an extension to standard Fortran 95

          REAL*8 :: buf(bsiz, bsiz), bswp
               ^
  Warning 2 at (30:transto.f90) : Type size specifiers are an extension to standard Fortran 95
     external subroutine MYTRANSPOSEZ

          COMPLEX*16 :: x(ldx, m), y(ldy, n)
                  ^
  Warning 2 at (160:transto.f90) : Type size specifiers are an extension to standard Fortran 95

          COMPLEX*16 :: buf(bsiz, bsiz), bswp
                  ^
  Warning 2 at (164:transto.f90) : Type size specifiers are an extension to standard Fortran 95

  437 Lines Compiled
  mpif77 -Vaxlib -O2 -tpp7 -I. -I../include -I../Modules -I../PW -I../PH  -c ilcm.f
  g77: `-V' must come at the start of the command line
  make[1]: *** [ilcm.o] Error 1
  make[1]: Leaving directory `/home/pwscf/.PWSCF_ROOT/flib'
  make: *** [libs] Error 2
  ======================================

  One of the problems is using "g77" insted of "ifc". I do not know how to do a clean compile.
  Any suggestions is highly appreciated.

  Best regards,
  Mahmoud Payami

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20040829/59fe8d1b/attachment.html>


More information about the users mailing list