StochasticAnalytics / emClarity

GNU Lesser General Public License v3.0
41 stars 6 forks source link

0 gpu visible and whether it is ok to do picking with only reconstructed tomograms #171

Closed kexinliu0001 closed 4 months ago

kexinliu0001 commented 4 months ago

hi! I am doing template, and this is my param.m: image

however:

image

how can i make my gpus visible?

btw, is it ok to do the template matching particle picking with only template and reconstructed tomograms, without importing tilt series (they are to large to download to my server)?

bHimes commented 4 months ago

These screen shots don't match. The error message says you requested 4 gpus, but your parameter file says 0. That can't be.

Also, your CUDA_VISIBLE_DEVICES environmental variable shows two GPU UUIDs, which is what should be visible to the system.

What cards do you have?

The number of gpus in your param must match the number set in your CUDA_VISIBLE_DEVICES. You can use the UUID or more simply an integer starting from zero.

Eg on a machine with 4 gpus, and you only want the first second and fourth

# command for bash shell ymmv 
export CUDA_VISIBLE_DEVICES=0,1,3,-1,2

# set in your param nGPUs=3
emClarity <cmd> <param> <args>
kexinliu0001 commented 4 months ago

thank you! when my your parameter file says 4, the error says this.

i export CUDA_VISIBLE_DEVICES to solve this.