<commit_before>#!/bin/bash

export GLOG_logtostderr=1
export GLOG_v=1
export GASNET_BACKTRACE=1
export GASNET_FREEZE_SIGNAL=SIGUSR1
export GASNET_FREEZE_ON_ERROR=1
export GASNET_FREEZE=0
export GASNET_NETWORKDEPTH_PP=96
export GASNET_NETWORKDEPTH_TOTAL=1024
export GASNET_AMCREDITS_PP=48
export GASNET_PHYSMEM_MAX=1024M
export CPUPROFILE_FREQUENCY=100
export VT_MAX_FLUSHES=0
export VT_PFORM_GDIR=.
export VT_PFORM_LDIR=/scratch
export MV2_USE_LAZY_MEM_UNREGISTER=0
export OMPI_MCA_mpi_leave_pinned=0

# Clean up any leftover shared memory regions
# for i in `ipcs -m | grep bholt | cut -d" " -f1`; do ipcrm -M $i; done
ipcs -m | grep $(USER) | cut -d\  -f1 | xargs -n1 -r ipcrm -M
rm -f /dev/shm/GrappaLocaleSharedMemory<commit_msg>Set MV2_ON_DEMAND_THRESHOLD higher than default to run > 64 on pal.<commit_after>#!/bin/bash

export GLOG_logtostderr=1
export GLOG_v=1
export GASNET_BACKTRACE=1
export GASNET_FREEZE_SIGNAL=SIGUSR1
export GASNET_FREEZE_ON_ERROR=1
export GASNET_FREEZE=0
export GASNET_NETWORKDEPTH_PP=96
export GASNET_NETWORKDEPTH_TOTAL=1024
export GASNET_AMCREDITS_PP=48
export GASNET_PHYSMEM_MAX=1024M
export CPUPROFILE_FREQUENCY=100
export VT_MAX_FLUSHES=0
export VT_PFORM_GDIR=.
export VT_PFORM_LDIR=/scratch
export MV2_USE_LAZY_MEM_UNREGISTER=0
export MV2_ON_DEMAND_THRESHOLD=8192
export OMPI_MCA_mpi_leave_pinned=0

# Clean up any leftover shared memory regions
# for i in `ipcs -m | grep bholt | cut -d" " -f1`; do ipcrm -M $i; done
ipcs -m | grep $(USER) | cut -d\  -f1 | xargs -n1 -r ipcrm -M
rm -f /dev/shm/GrappaLocaleSharedMemory
{'fraction_non_alphanumeric': 0.07519280205655526, 'fraction_numerical': 0.04113110539845758, 'mean_word_length': 6.34433962264151, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2940618', 'n_tokens_mistral': 729, 'n_tokens_neox': 670, 'n_words': 150}