Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Source Code
subroutine instant_create_ncisliceimplicit noneinteger::ilogical::has_islice! Count how many islices are in this X-processor's range (save to module variable)local_nislice=0has_islice=.false.do i=1,nislice! if ( (islice(i)-1)/(itot/nprocx) == myidx) thenif(islice(i)>=zstart(1).and.islice(i)<=zend(1))thenlocal_nislice=local_nislice+1has_islice=.true.end if end do! Only processors with islices AND myidy==0 create filesif(has_islice.and.myidy==0)thenfilenameislice='ins_islice.xxx.xxx.nc'filenameislice(12:14)=cmyidx! X-processor IDfilenameislice(16:18)=cexpnr! Experiment numbernrecislice=0! Use local_nislice (module variable) as first dimension, jtot as global y-dimensioncall open_nc(filenameislice,ncidislice,nrecislice,n1=local_nislice,n2=jtot,n3=zdim)if(nrecislice==0)then call define_nc(ncidislice,1,slicetimeVar)call writestat_dims_nc(ncidislice)! Add islice-specific x coordinate informationcall instant_write_islice_xcoord_local(ncidislice,local_nislice,nislice,islice)end if call define_nc(ncidislice,nslicevars,isliceVars)! write(*,'(A,A,A,I2,A)') ' Processor (myidx=', cmyidx, ') created islice file with ', local_nislice, ' slices'end if end subroutine instant_create_ncislice