<commit_before>module Graph500_main
{
  proc main () {

  use BlockDist;
  use Time;
  use Random;

  use Graph500_defs;
  use Scalable_Graph_Generator;
  use Construct_Graph;
  use Create_Parent_Tree;
  use Verify;

  const A: real = 0.57;
  const B: real = 0.19;
  const C: real = 0.19;
  const D: real = 0.05;


  extern proc output_results (scale: int, NV: int, edgefactor:int,
                const A: real, const B: real, const C: real, const D: real,
                generation_time: real, construction_time: real,
                nbfs: int, 
                inout BFS_time_array: real, inout BFS_nedges_traversed: int );

        
  writeln ( "Problem Dimensions");
  writeln ( "              Scale: ", SCALE );
  writeln ( " Number of Vertices: ", N_VERTICES );
  writeln ( "        Edge factor: ", EDGEFACTOR );

  if (PRINT_LOCALE_INFORMATION) {
  coforall loc in Locales do
    {
    on loc do
      writeln("Locale ID: ", loc.id, " of ", numLocales);
      writeln("Locale ID: ", loc.id, " Number of cores " , loc.numCores);
    }
  }

  const edge_range =  1..N_RAWEDGES;

  var Edges:[edgelist_domain] directed_vertex_pair;
  var Histogram:[vertex_domain] vertex_id=0;

  var generation_time: Timer;
  var construction_time: Timer;
  var BFS_time: [1..NUMROOTS] Timer;
  var BFS_time_array: [1..NUMROOTS] real;
  var BFS_nedges_traversed: [1..NUMROOTS] int;<commit_msg>Fixing a small think-o in studies/graph500/kristyn/Graph500_1D_onV.<commit_after>module Graph500_main
{
  proc main () {

  use BlockDist;
  use Time;
  use Random;

  use Graph500_defs;
  use Scalable_Graph_Generator;
  use Construct_Graph;
  use Create_Parent_Tree;
  use Verify;

  const A: real = 0.57;
  const B: real = 0.19;
  const C: real = 0.19;
  const D: real = 0.05;


  extern proc output_results (scale: int, NV: int, edgefactor:int,
                const A: real, const B: real, const C: real, const D: real,
                generation_time: real, construction_time: real,
                nbfs: int, 
                inout BFS_time_array: real, inout BFS_nedges_traversed: int );

        
  writeln ( "Problem Dimensions");
  writeln ( "              Scale: ", SCALE );
  writeln ( " Number of Vertices: ", N_VERTICES );
  writeln ( "        Edge factor: ", EDGEFACTOR );

  if (PRINT_LOCALE_INFORMATION) {
    coforall loc in Locales do on loc {
      writeln("Locale ID: ", loc.id, " of ", numLocales);
      writeln("Locale ID: ", loc.id, " Number of cores " , loc.numCores);
    }
  }

  const edge_range =  1..N_RAWEDGES;

  var Edges:[edgelist_domain] directed_vertex_pair;
  var Histogram:[vertex_domain] vertex_id=0;

  var generation_time: Timer;
  var construction_time: Timer;
  var BFS_time: [1..NUMROOTS] Timer;
  var BFS_time_array: [1..NUMROOTS] real;
  var BFS_nedges_traversed: [1..NUMROOTS] int;
{'fraction_non_alphanumeric': 0.10771418414504089, 'fraction_numerical': 0.018841094916459297, 'mean_word_length': 2.823369565217391, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '369858', 'n_tokens_mistral': 1056, 'n_tokens_neox': 978, 'n_words': 267}