print'Noticed that you have run with an athena MP-like whole-node setup. Will re-configure now to make sure that the remainder of the job runs serially.'
njobs=os.environ.pop('ATHENA_PROC_NUMBER')
# Try to modify the opts underfoot
ifnothasattr(opts,'nprocs'):print'Did not see option!'
print'Noticed that you have run with an athena MP-like whole-node setup. Will re-configure now to make sure that the remainder of the job runs serially.'
njobs=os.environ.pop('ATHENA_PROC_NUMBER')
# Try to modify the opts underfoot
ifnothasattr(opts,'nprocs'):print'Did not see option!'
print'Noticed that you have run with an athena MP-like whole-node setup. Will re-configure now to make sure that the remainder of the job runs serially.'
njobs=os.environ.pop('ATHENA_PROC_NUMBER')
# Try to modify the opts underfoot
ifnothasattr(opts,'nprocs'):print'Did not see option!'
print'Noticed that you have run with an athena MP-like whole-node setup. Will re-configure now to make sure that the remainder of the job runs serially.'
njobs=os.environ.pop('ATHENA_PROC_NUMBER')
# Try to modify the opts underfoot
ifnothasattr(opts,'nprocs'):print'Did not see option!'