Hello,
When I do ./install.com gnu , the build/gnu/new.log file has Warning:
1--------
efour.F90: In function ‘parse4d’:
efour.F90:46:0: warning: iteration 60 invokes undefined behavior [-Waggressive-loop-optimizations]
DIM4ON(I) = 1
^
efour.F90:45:0: note: containing loop
DO I = 1,LENENT
^
2--------
rxncom_ltm.F90:172:30: warning: backslash and newline separated by space [enabled by default]
! \
^
rxncom_ltm.F90:202:30: warning: backslash and newline separated by space [enabled by default]
! \
3--------
mrmd.F90:2605:21: warning: backslash and newline separated by space [enabled by default]
! \
4--------
efour.F90:46:0: warning: iteration 60 invokes undefined behavior [-Waggressive-loop-optimizations]
DIM4ON(I) = 1
And when I do ./install.com gnu M, the build/gnu_M/new.log file has Warning:
1--------
efour.F90: In function ‘parse4d’:
efour.F90:46:0: warning: iteration 60 invokes undefined behavior [-Waggressive-loop-optimizations]
DIM4ON(I) = 1
^
efour.F90:45:0: note: containing loop
DO I = 1,LENENT
^
2--------
rxncom_ltm.F90:172:30: warning: backslash and newline separated by space [enabled by default]
! \
^
rxncom_ltm.F90:202:30: warning: backslash and newline separated by space [enabled by default]
! \
3--------
mrmd.F90:2605:21: warning: backslash and newline separated by space [enabled by default]
! \
4--------
efour.F90:46:0: warning: iteration 60 invokes undefined behavior [-Waggressive-loop-optimizations]
DIM4ON(I) = 1
5--------
paral1.F90:185.12:
call gbor(plnod0,1)
1
Warning: Rank mismatch in argument 'x' at (1) (rank-1 and scalar)
paral1.F90:217.13:
call psnd4(i,1)
1
Warning: Rank mismatch in argument 'array' at (1) (rank-1 and scalar)
6--------
paral1.F90:185.12:
call gbor(plnod0,1)
1
Warning: Rank mismatch in argument 'x' at (1) (rank-1 and scalar)
paral1.F90:217.13:
call psnd4(i,1)
1
Warning: Rank mismatch in argument 'array' at (1) (rank-1 and scalar)
7--------
paral3.F90:25.27:
CALL GREC(NEXT,TAG,DUMMY,1)
1
Warning: Rank mismatch in argument 'buf' at (1) (rank-1 and scalar)
paral3.F90:26.27:
CALL GSEN(NEXT,TAG,DUMMY,1)
1
Warning: Rank mismatch in argument 'buf' at (1) (rank-1 and scalar)
paral3.F90:28.27:
CALL GSEN(NEXT,TAG,DUMMY,1)
1
Warning: Rank mismatch in argument 'buf' at (1) (rank-1 and scalar)
paral3.F90:29.27:
CALL GREC(NEXT,TAG,DUMMY,1)
1
Warning: Rank mismatch in argument 'buf' at (1) (rank-1 and scalar)
Warning: Type mismatch in argument 'buf' at (1); passed REAL(8) to INTEGER(4)
paral3.F90:739.32:
CALL GSENR(IPPMAP,ITYPE,X(IPARPT(IOFF)+1),8*ILEN)
1
Warning: Type mismatch in argument 'buf' at (1); passed REAL(8) to INTEGER(4)
paral3.F90:741.32:
CALL GSENR(IPPMAP,ITYPE,X(IPARPT(IOFF)+1),8*ILEN)
1
Warning: Type mismatch in argument 'buf' at (1); passed REAL(8) to INTEGER(4)
paral3.F90:742.32:
CALL GRECL(IPPMAP,ITYPE,X(IPARPT(JOFF)+1),8*JLEN)
1
Warning: Type mismatch in argument 'buf' at (1); passed REAL(8) to INTEGER(4)
paral3.F90:878.32:
CALL GRECL(IPPMAP,ITYPE,W(IPARPT(JOFF)+1),8*JLEN)
1
Warning: Type mismatch in argument 'buf' at (1); passed REAL(8) to INTEGER(4)
........more other warning like above.
But I can run charmm. Has anyone encountered a similar warning? Will it affect the result of MD ?
My charmm version c43b1, gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) , when do serial install, use gfortran compilier.
Open MPI 2.0.1, when do parallel install, use mpif90 compiler.
thanks!
Last edited by SNOW001; 02/26/19 08:15 AM.