<commit_before>

AC_DEFUN([AX_IPM_MPISTATUSCOUNT], [
AC_MSG_CHECKING([checking MPI_STATUS_COUNT])

CWD=$PWD

TEST_DIR="$PWD/.test"
CONFIG_LOG=config.test.log

MPI_STATUS_COUNT=""

for tag in val1 count _count size _ucount st_count; do
	TEST_NAME="simplec_MPI_STATUS_COUNT"
#	echo -n "$tag"
	rm -rf $TEST_DIR ; mkdir $TEST_DIR ; cd $TEST_DIR
	cat >> ./$TEST_NAME.c <<EOF
#include <stdio.h>
#include <stdlib.h>
#include <mpi.h>
int main(int argc, char *argv[]) {
 MPI_Status s;
 s.$tag = 0;
 return 0;
}
EOF

	cat >> ./run <<EOF
#!/bin/sh -x
$MPICC $CFLAGS $LDFLAGS ./$TEST_NAME.c -o ./$TEST_NAME
if test -x ./$TEST_NAME ; then <commit_msg>Patch supplied by <NAME> to support mvapich 2.0rc1<commit_after>

AC_DEFUN([AX_IPM_MPISTATUSCOUNT], [
AC_MSG_CHECKING([checking MPI_STATUS_COUNT])

CWD=$PWD

TEST_DIR="$PWD/.test"
CONFIG_LOG=config.test.log

MPI_STATUS_COUNT=""

for tag in val1 count _count size _ucount count_lo st_count; do
	TEST_NAME="simplec_MPI_STATUS_COUNT"
#	echo -n "$tag"
	rm -rf $TEST_DIR ; mkdir $TEST_DIR ; cd $TEST_DIR
	cat >> ./$TEST_NAME.c <<EOF
#include <stdio.h>
#include <stdlib.h>
#include <mpi.h>
int main(int argc, char *argv[]) {
 MPI_Status s;
 s.$tag = 0;
 return 0;
}
EOF

	cat >> ./run <<EOF
#!/bin/sh -x
$MPICC $CFLAGS $LDFLAGS ./$TEST_NAME.c -o ./$TEST_NAME
if test -x ./$TEST_NAME ; then 
{'fraction_non_alphanumeric': 0.15658093797276854, 'fraction_numerical': 0.00680786686838124, 'mean_word_length': 4.466942148760331, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, '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': '2849637', 'n_tokens_mistral': 576, 'n_tokens_neox': 554, 'n_words': 140}