def METHOD_NAME(ifilename):
    cmdgnuplot = ["gnuplot", ifilename]
    proc = subprocess.Popen(cmdgnuplot)
    proc.wait()
    rc = proc.returncode
    if rc != 0:
        print('//rocsparse_bench_gnuplot_helper::call failed (err='+str(rc)+')')
        print('//rocsparse_bench_gnuplot_helper::note: check files \''+ifilename+'\'')
        exit(1)