only using one thread on the GPU

3 posts / 0 new
Last post
mrhansenable2
only using one thread on the GPU

hi,

I am trying out the 2DTM from cisTEM-2.0.0-alpha-183-e549844.  I have a node on our cluster with four 2080Ti cards and 96 CPU.  I set up a test run with a single micrograph, without modifying the settings at all.  For the single micrograph it estimates it should run 4 hours.

It also gives this output, which I'm not sure how to interpret.  I've tried changing settings "# of threads per copy" but it had no effect.    

Warning, you are only using one thread on the GPU. Suggested minimum is 2. Check compute saturation using nvidia-smi -l 1

Any help is appreciated.

Also, do my reference and micrographs need to have the same pixel size or will cisTEM automatically scale the ref? 

 

thanks

Jesse

jojoelfe
Changing the # threads per

Changing the # threads per copy should do the trick, just make sure you click the "save" button on the bottom right of the settings page.

 

To use all four GPUs you will have to setup 4 different commands, described here: https://github.com/timothygrant80/cisTEM/issues/482

 

And yes, reference and micrographs need to have the same pixelsize. In fact 2DTM is very sensitive to changes in the pixelsize, so make extra sure the calibration for the micrograph pixelsize is correct. We  often make templates with slightly varying pixelsizes (say 0.97,0.98,0.99,1.00,1.01,1.02,1.03 for a nominal pixelsize of 1.00) whenever we get data from a new scope.

mrhansenable2
thanks!  I followed the

thanks!  I followed the github thread but I think I'm doing it wrong.   Let me explain.

I am not modifying the "manager command" at all (the top), but trather I click the "edit" button for the command and edit there.  I have # of copies set to 1, # of threads set to 4.  Then in the "command to run" I paste in the below text:

CUDA_VISIBLE_DEVICES=0 shared/cistem/2.0.0-alpha/$command
CUDA_VISIBLE_DEVICES=1 shared/cistem/2.0.0-alpha/$command
CUDA_VISIBLE_DEVICES=2 shared/cistem/2.0.0-alpha/$command
CUDA_VISIBLE_DEVICES=3 shared/cistem/2.0.0-alpha/$command

It does indeed run, but I think it's still only using 1 GPU.  The estimated time to complete the job (200 micrographs) is 3700 hours.  Is that normal?   When I have with 1 GPU or my attempt at 4 GPUs in each case it says 3700 hours.  

thanks again

 

Jesse

Log in or register to post comments