<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2>However, trying to run example1 in parallel mode,
the program complains: </FONT></DIV>
<DIV><FONT face=Arial size=2>==============</FONT></DIV>
<DIV><FONT face=Arial size=2>./run_example: line 16: -n: command not
found</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>./run_example: line 17: 5: command not
found</FONT></DIV>
<DIV><FONT face=Arial size=2>================================</FONT></DIV>
<DIV><FONT face=Arial size=2>and then starts to run in a single processor
(?).</FONT></DIV>
<DIV><FONT face=Arial size=2>How can I make thses two lines
diappear?</FONT></DIV>
<DIV><FONT face=Arial size=2>Any comments is highly appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Mahmoud Payami</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT face=Arial size=2>Dear PWSCF Users,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I used the Gerardo Ballabio recipe and configured
successfully. However, trying to compile I got the following messages and no
binary files:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>=================================</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGVS_NULL(1,1)<BR>
^<BR>Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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<BR> module MP<BR> module subroutine
MP_EXCNG_I<BR></FONT><FONT face=Arial
size=2> CHARACTER*1
MPI_ARGVS_NULL(1,1)<BR>
^<BR>Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGV_NULL(1)<BR>
^<BR>Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95<BR> module subroutine
FFT_SCATTER</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGVS_NULL(1,1)<BR>
^<BR>Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGV_NULL(1)<BR>
^<BR>Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1,
INTENT(IN) :: TRANSA,
TRANSB<BR>
^<BR>Comment 15 at (84:ptoolkit.f90) : This feature is obsolescent in Fortran
95<BR> module subroutine MATMULP</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGVS_NULL(1,1)<BR>
^<BR>Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGV_NULL(1)<BR>
^<BR>Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1,
INTENT(IN) :: TRANSA,
TRANSB<BR>
^<BR>Comment 15 at (256:ptoolkit.f90) : This feature is obsolescent in Fortran
95<BR> module subroutine CMATMULP</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGVS_NULL(1,1)<BR>
^<BR>Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGV_NULL(1)<BR>
^<BR>Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
:: TRANSA,
TRANSB<BR>
^<BR>Comment 15 at (395:ptoolkit.f90) : This feature is obsolescent in Fortran
95<BR> module subroutine PTREDV</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGVS_NULL(1,1)<BR>
^<BR>Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGV_NULL(1)<BR>
^<BR>Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95<BR>Comment 2 : In procedure PTREDV format 100 is not
used<BR> module subroutine
PTQLIV<BR> module subroutine
PEIGSRTV<BR> module function
PYTHAG<BR> module subroutine DIAGONALIZE</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGVS_NULL(1,1)<BR>
^<BR>Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGV_NULL(1)<BR>
^<BR>Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95<BR> module subroutine
PDSPEV_DRV<BR> module subroutine
DSPEV_DRV<BR> module subroutine
CDIAGONALIZE</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGVS_NULL(1,1)<BR>
^<BR>Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGV_NULL(1)<BR>
^<BR>Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95<BR> module subroutine
PZHPTRD</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGVS_NULL(1,1)<BR>
^<BR>Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGV_NULL(1)<BR>
^<BR>Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
INTRINSIC DABS, REAL,
dcmplx, AIMAG,
SIGN<BR>
^<BR>Warning 39 at (1678:ptoolkit.f90) : This intrinsic function is an
extension to standard Fortran 95<BR> module subroutine
PZUPGTR</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGVS_NULL(1,1)<BR>
^<BR>Comment 15 at (15:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> CHARACTER*1
MPI_ARGV_NULL(1)<BR>
^<BR>Comment 15 at (16:/opt/mpich2-0.97/src/include/mpif.h) : This feature is
obsolescent in Fortran 95<BR> module subroutine
PZSTEQR<BR> module subroutine
ZHPEV_DRV<BR> module subroutine
PZHPEV_DRV<BR>
auxa( ibuf + i ) = DCONJG( a( j, i + ioff )
)<BR>
^<BR>Warning 39 at (459:ptoolkit.f90) : This intrinsic function is an
extension to standard Fortran
95<BR>
ALPHA = dcmplx( ALPHR, ALPHI
)<BR>
^<BR>Warning 39 at (1781:ptoolkit.f90) : This intrinsic function is an
extension to standard Fortran
95<BR>
TAUI = dcmplx( ( BETA-ALPHR ) / BETA, -ALPHI /
BETA)<BR>
^<BR>Warning 39 at (1783:ptoolkit.f90) : This intrinsic function is an
extension to standard Fortran
95<BR>
ALPHA = ZLADIV( dcmplx( ONE ), ALPHA-BETA
)<BR>
^<BR>Warning 39 at (1784:ptoolkit.f90) : This intrinsic function is an
extension to standard Fortran
95<BR>
TAUI = dcmplx( ( BETA-ALPHR ) / BETA, -ALPHI /
BETA)<BR>
^<BR>Warning 39 at (1797:ptoolkit.f90) : This intrinsic function is an
extension to standard Fortran
95<BR>
ALPHA = ZLADIV( dcmplx( RONE ), ALPHA-BETA
)<BR>
^<BR>Warning 39 at (1798:ptoolkit.f90) : This intrinsic function is an
extension to standard Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>
^<BR>Warning 141 at (1749:read_cards.f90) : Character string truncated to
length 5 on assignment</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> real*8
a<BR> ^<BR>Warning
2 at (14:iceil.f90) : Type size specifiers are an extension to standard
Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> REAL*8
:: x(ldx, m), y(ldy,
n)<BR>
^<BR>Warning 2 at (26:transto.f90) : Type size specifiers are an extension to
standard Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> REAL*8
:: buf(bsiz, bsiz),
bswp<BR>
^<BR>Warning 2 at (30:transto.f90) : Type size specifiers are an extension to
standard Fortran 95<BR> external subroutine
MYTRANSPOSEZ</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
COMPLEX*16 :: x(ldx, m), y(ldy,
n)<BR>
^<BR>Warning 2 at (160:transto.f90) : Type size specifiers are an extension to
standard Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
COMPLEX*16 :: buf(bsiz, bsiz),
bswp<BR>
^<BR>Warning 2 at (164:transto.f90) : Type size specifiers are an extension to
standard Fortran 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>437 Lines Compiled<BR>mpif77 -Vaxlib -O2 -tpp7
-I. -I../include -I../Modules -I../PW -I../PH -c ilcm.f<BR>g77: `-V'
must come at the start of the command line<BR>make[1]: *** [ilcm.o] Error
1<BR>make[1]: Leaving directory `/home/pwscf/.PWSCF_ROOT/flib'<BR>make: ***
[libs] Error 2<BR>======================================</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>One of the problems is using "g77" insted of
"ifc". I do not know how to do a clean compile.</FONT></DIV>
<DIV><FONT face=Arial size=2>Any suggestions is highly
appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Mahmoud Payami</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> </DIV></BLOCKQUOTE></FONT></BODY></HTML>