#!/usr/bin/env bash
#
# Configure environment for qthreads testing. This should be sourced by other
# scripts that wish to make use of the variables set here.

comm=$($CHPL_HOME/util/chplenv/comm)
if [ "${comm}" != "none" ] ; then
    # Set these to use oversubscription to help with timeouts
    export QT_AFFINITY=no
    export CHPL_QTHREAD_ENABLE_OVERSUBSCRIPTION=1
    export CHPL_RT_NUM_THREADS_PER_LOCALE=2
fi

export CHPL_TASKS=qthreads
export QT_GUARD_PAGES=true
export QT_WORKER_UNIT=core


#!/usr/bin/env bash
#
# Configure environment for qthreads testing. This should be sourced by other
# scripts that wish to make use of the variables set here.

comm=$($CHPL_HOME/util/chplenv/comm)
if [ "${comm}" != "none" ] ; then
    # Set these to use oversubscription to help with timeouts
    export QT_AFFINITY=no
    export CHPL_QTHREAD_ENABLE_OVERSUBSCRIPTION=1
fi

export CHPL_TASKS=qthreads
export QT_GUARD_PAGES=true
export QT_WORKER_UNIT=core


Remove CHPL_RT_NUM_THREADS_PER_LOCALE=2 from gasnet+qthreads testing
Remove CHPL_RT_NUM_THREADS_PER_LOCALE=2 from gasnet+qthreads testing 

[ok'd by Greg]

We have been setting CHPL_RT_NUM_THREADS_PER_LOCALE=2 for qthreads+gasnet
testing for a long time. Recently when full gasnet+qthreads testing was turned
on it was discovered that this was the source of several timeouts. Tracing the
logs and various previous names of this file this was originally set in r20083
to limit the number of workers that qthreads would use per locale since there
are multiple locales running on the same machine with gasnet local spawning. We
have since enabled qthreads oversubscription, so we should be able to stop
setting this. 

Tested with on multilocale/ 


git-svn-id: 88467cb1fb04b8a755be7e1ee1026be4190196ef@23477 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
