During compilation it generates a number of warning messages that causes compilation to fail at the position indicated below.
error messages from compilation
abd@abd-HP-Compaq-dc7900-Convertible-Minitower:~$ cd /home/abd/synth
abd@abd-HP-Compaq-dc7900-Convertible-Minitower:~/synth$ gfortran harmonic_synth_v02.f
harmonic_synth_v02.f:516.54:
call dhcsin(0,iuhi,kmin,kmax,0,cz,1.d0,1.d0,0,cnm,snm,egm_tf,
1
Warning: Type mismatch in argument 'dc20' at (1); passed INTEGER(4) to REAL(8)
harmonic_synth_v02.f:523.54:
call dhcsin(0,iuci,jmin,jmax,0,cz,1.d0,1.d0,0,cnm,snm,egm_tf,
1
Warning: Type mismatch in argument 'dc20' at (1); passed INTEGER(4) to REAL(8)
harmonic_synth_v02.f:916.54:
call dhcsin(0,iuhi,kmin,kmax,0,cz,1.d0,1.d0,0,cnm,snm,egm_tf,
1
Warning: Type mismatch in argument 'dc20' at (1); passed INTEGER(4) to REAL(8)
harmonic_synth_v02.f:999.54:
call dhcsin(0,iuci,jmin,jmax,0,cz,1.d0,1.d0,0,cnm,snm,egm_tf,
1
Warning: Type mismatch in argument 'dc20' at (1); passed INTEGER(4) to REAL(8)