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.
Source Code
subroutine file_targz(tarball,pattern,size)character(len=*)::tarballcharacter(len=*)::patterninteger,optional::sizecharacter(len=4),parameter::type='.tgz'integer::control,fsizecharacter(len=100)::cmsgfsize=store_size;if(present(size))fsize=sizewrite(*,"(A)")"Store "//str(pattern)//" in "//str(tarball)//type call execute_command_line("tar -czf "//str(tarball)//type//" "//str(pattern),CMDSTAT=control,CMDMSG=cmsg)if(control>0)then write(*,"(A)")"Command tar -czf failed with error: "//str(cmsg)elseif(control<0)then write(*,"(A)")"Command tar -czf not supported"else call execute_command_line("rm -f "//str(pattern))endif end subroutine file_targz