<commit_before>#!/bin/bash

. /opt/intel/compiler/latest/bin/compilervars.sh # make sure you also did this before compiling libcsr.so 
# Use 1 socket, 1 HW thread per core
export OMP_NUM_THREADS=14
export KMP_AFFINITY=granularity=fine,compact,1

for i in `cat pagerank.lst`; do
  echo !!!!$i
  echo %%%%auto-without-reordering
  julia pagerank-without-reordering.jl ~/matrices/$i.mtx
  echo
  echo %%%%auto
  julia pagerank.jl ~/matrices/$i.mtx
  echo<commit_msg>add call-replacement with serial option<commit_after>#!/bin/bash

. /opt/intel/compiler/latest/bin/compilervars.sh intel64 # make sure you also did this before compiling libcsr.so 
# Use 1 socket, 1 HW thread per core
export OMP_NUM_THREADS=14
export KMP_AFFINITY=granularity=fine,compact,1

for i in `cat pagerank.lst`; do
  echo !!!!$i
  echo %%%%auto-without-context-serial
  OMP_NUM_THREADS=1 julia pagerank-without-context.jl ~/matrices/$i.mtx
  echo %%%%auto-without-context
  julia pagerank-without-context.jl ~/matrices/$i.mtx
  echo
  echo %%%%auto-without-reordering
  julia pagerank-without-reordering.jl ~/matrices/$i.mtx
  echo
  echo %%%%auto
  julia pagerank.jl ~/matrices/$i.mtx
  echo
{'fraction_non_alphanumeric': 0.12457044673539519, 'fraction_numerical': 0.011168384879725086, 'mean_word_length': 4.344036697247707, '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': '5297685', 'n_tokens_mistral': 475, 'n_tokens_neox': 448, 'n_words': 102}