<commit_before>#!/bin/bash

###
### Run this script with:
###
###   run.sh
###
#$ -S /bin/bash
#$ -pe orte {{ number_of_slots-1 }}

# Set up cluster-specific variables
PARAVIEW_DIR="/opt/paraview/install"
PV_PYTHON="${PARAVIEW_DIR}/bin/pvpython"
APPS_DIR="lib/paraview-4.2/site-packages/paraview/web"
RC_PORT="54321"

# Run in MPI mode
MPIPROG="mpiexec"
PV_SERVER="${PARAVIEW_DIR}/bin/pvserver"

# Now run pvserver and tell it to reverse connect
${MPIPROG} -n ${NB_PROCESSES} ${PV_SERVER} -rc --server-port=${RC_PORT}<commit_msg>Pass correct number of processes to mpiexec<commit_after>#!/bin/bash

###
### Run this script with:
###
###   run.sh
###
#$ -S /bin/bash
#$ -pe orte {{ number_of_slots-1 }}

# Set up cluster-specific variables
PARAVIEW_DIR="/opt/paraview/install"
PV_PYTHON="${PARAVIEW_DIR}/bin/pvpython"
APPS_DIR="lib/paraview-4.2/site-packages/paraview/web"
RC_PORT="54321"

# Run in MPI mode
MPIPROG="mpiexec"
PV_SERVER="${PARAVIEW_DIR}/bin/pvserver"

# Now run pvserver and tell it to reverse connect
${MPIPROG} -n  {{ number_of_slots-1 }} ${PV_SERVER} -rc --server-port=${RC_PORT}
{'fraction_non_alphanumeric': 0.17866909753874202, 'fraction_numerical': 0.015496809480401094, 'mean_word_length': 5.066298342541437, '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': '766486', 'n_tokens_mistral': 466, 'n_tokens_neox': 442, 'n_words': 85}