Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

focus can't set gpu for tomoalign using a system with a single gpu #222

Open
n1kt0 opened this issue May 23, 2018 · 1 comment
Open

focus can't set gpu for tomoalign using a system with a single gpu #222

n1kt0 opened this issue May 23, 2018 · 1 comment
Assignees

Comments

@n1kt0
Copy link

n1kt0 commented May 23, 2018

Using the below listed options the tomoalign script in tomography mode can't set the variable 'GPU_to_use_local' the error message is 'Undefined variable.'.

How many GPUs to use = "1"
Which GPU to use = "0"
Cycle over GPUs = "No"
Run only one MotionCor2 instance at a time on the system = "Yes"

The only thing which helped is setting 'How many GPUs to use' to '2' and replacing the script with an older one where the only change is:

diff tomo_driftcor_motioncor2.script /opt/focus/scripts/image/tomoalign/tomo_driftcor_motioncor2.script
125a126,129

set GPU_cycle = "y"
##########################################################################
${proc_2dx}/linblock "WARNING: MotionCor2 will always cycle over the GPUs in Tomography mode!"
##########################################################################

Any suggestions for improvement are welcome!

@PaulVanSchayck
Copy link

The same happens in this situation with the gautomatch script.

@rdrighetto rdrighetto self-assigned this Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants