I was attempting to use GLINT to run a logistic regression EWAS (python glint.py --ewas --logreg), but when I do the parent GLINT process creates child threads, where n_threads = nproc available. I work on a shared workstation without queueing, so I'd like to limit the number of threads used by GLINT, but there's no option to specify the number of threads for GLINT to use.
A workaround solution for this is to add OMP_NUM_THREADS= int at the beginning of the GLINT command, where 'int' is the number of threads you want to use. For example:
I was attempting to use GLINT to run a logistic regression EWAS (
python glint.py --ewas --logreg
), but when I do the parent GLINT process creates child threads, wheren_threads
=nproc
available. I work on a shared workstation without queueing, so I'd like to limit the number of threads used by GLINT, but there's no option to specify the number of threads for GLINT to use.A workaround solution for this is to add
OMP_NUM_THREADS= int
at the beginning of the GLINT command, where 'int' is the number of threads you want to use. For example: