AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
September 23, 2019 11:29AM
Hey,

Could the code at the top of @SSwarper that sets OMP_NUM_THREADS based on CPU resources allocated in queueing system be modified (as follows) to work with GridEngine as well as SLURM?

# set number of threads if run via SLURM or Grid Engine

if ( $?SLURM_CPUS_PER_TASK ) then
 setenv OMP_NUM_THREADS $SLURM_CPUS_PER_TASK
else if ( $?NSLOTS ) then
 setenv OMP_NUM_THREADS $NSLOTS
endif

Thanks.

Colm.
Subject Author Posted

update to @SSwarper to set OMP_NUM_THREADS automatically for gridengine queues

Colm Connolly September 23, 2019 11:29AM

Re: update to @SSwarper to set OMP_NUM_THREADS automatically for gridengine queues

RWCox September 23, 2019 12:22PM

Re: update to @SSwarper to set OMP_NUM_THREADS automatically for gridengine queues

Colm Connolly September 23, 2019 12:32PM