68 SUBROUTINE sptrun(IROMB,MAXWV,IDRTI,IMAXI,JMAXI,IDRTO,IMAXO,JMAXO,
69 & KMAX,IPRIME,ISKIPI,JSKIPI,KSKIPI,
70 & ISKIPO,JSKIPO,KSKIPO,JCPU,GRIDI,GRIDO)
71 REAL GRIDI(*),GRIDO(*)
72 REAL W((MAXWV+1)*((IROMB+1)*MAXWV+2)/2*2+1,KMAX)
76 IF(jc.EQ.0) jc=
ncpus()
77 mx=(maxwv+1)*((iromb+1)*maxwv+2)/2
82 inp=(jmaxi-1)*max(0,-jn)+1
83 isp=(jmaxi-1)*max(0,-js)+1
84 CALL sptran(iromb,maxwv,idrti,imaxi,jmaxi,kmax,
85 & iprime,iskipi,jn,js,mdim,kskipi,0,0,jc,
86 & w,gridi(inp),gridi(isp),-1)
92 inp=(jmaxo-1)*max(0,-jn)+1
93 isp=(jmaxo-1)*max(0,-js)+1
94 CALL sptran(iromb,maxwv,idrto,imaxo,jmaxo,kmax,
95 & 0,iskipo,jn,js,mdim,kskipo,0,0,jc,
96 & w,grido(inp),grido(isp),1)