Using the PGI Fortran compiler indicated below (module list):
Currently Loaded Modulefiles:
- compiler/pgi-6.2-x86_64 3) mpi/scali 5) ncarg/ncarg-4.4.2
- lib/mkl 4) pbs 6) grads
on a linux cluster (uname -a output below)
Linux opal-l1.fnmoc.navy.mil 2.6.16.21-0.8-smp #1 SMP Mon Oct 1 17:10:21 MDT 2007 x86_64 x86_64 x86_64 GNU/Linux
with the following command line
mpif90 -ccl=pgf90 -c -byteswapio -fastsse -Mbackslash -DPGF -O2 -I…/amsua_bias -I…/crtm oned_innov.F
produced the following error:
PGF90-S-0000-Internal compiler error. sym_of_ast: unexpected ast 5 (oned_innov.F)
0 inform, 0 warnings, 1 severes, 0 fatal for oned_innov
The first 5 lines of oned_innov.F are:
subroutine oned_innov(n_tovs,plvl,lm_p_lvls,tovs_t
& ,tovs_q,ob,bk_ob,err_ob,etc_ob,t_bk_ob,p_ob,c_pf_ob
& ,jvarty_ob,ichk_ob,isat_ob,nvprof_ob,cdtg_an,cdtg_ob
& ,tovs_sfc_parm,i_tovs,c_tovs,n_tovs_param,isf_parm,sgeo
& ,snow,conice,lsbit,c_db_ob)
which match the arguments in the calling routine amsua_prep.f:
call ONED_INNOV(n_tovs,p_tovs,lm_p_lvls,tovs_t
& ,tovs_q,ob,bk_ob,err_ob,etc_ob,t_bk_ob,p_ob,c_pf_ob
& ,jvarty_ob,ichk_ob,isat_ob,nvprof_ob,cdtg_an,cdtg_ob
& ,tovs_sfc_parm,i_tovs,c_tovs,n_tovs_param,isf_parm,sgeo
& ,snow,conice,lsbit,c_db_ob)
This code has compiled correctly on the Intel and IBM compilers. I tried several versions of the PGI
compiler (pgi-7.1.5 and pgi-7.2-5) and got the same results.
Any help would be appreciated,
Dr. William F. Campbell
Naval Research Laboratory
Monterey, CA