#!/bin/bash

#******************************************************************************
# FILE: omp_bug4fix
# DESCRIPTION:
#   This script is used to set the thread stack size limit to accomodate
#   the omp_bug4 example. The example code requires @16MB per thread. For
#   safety, this script sets the stack limit to 20MB. Note that the way
#   to do this differs between architectures. 
# 
#*****************************************************************************/

# This is for HP/Compaq Tru64 systems
export OMP_STACKSIZE = 20000000
#export OMP_STACKSIZE="2M"
#export OMP_STACKSIZE=" 10 M "

# Now call the executable - change the name to match yours
omp_bug4
