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

Working with scratch directory set #98

Open
frozenfas opened this issue Feb 24, 2024 · 3 comments
Open

Working with scratch directory set #98

frozenfas opened this issue Feb 24, 2024 · 3 comments

Comments

@frozenfas
Copy link

frozenfas commented Feb 24, 2024

I am having a issue with motioncorr failing when I use a scratch directory.

I set the path to the scratch using the "SCIPION_SCRATCH" variable in the config file.

This means when running the motioncorr protocol it makes a symbolic link from tmp to the specified scratch and goes there to work, i believe. when specifying where to write the output mrc it uses a relative path like "../../extra/XXX". This leaves the output somewhere on the scratch and not in the scipion directory where the next step looks for it, resulting in a failure.

It could be I am not using the scratch correctly or maybe it is better to use a absolute path for the output?

@azazellochg
Copy link
Member

@frozenfas
SCIPION_SCRATCH is unfortunately not a thoroughly tested feature of Scipion. While what you are reporting is indeed a bug, however, I'm not sure of any speed-up of putting tmp on an SSD drive. This means that every movie will have to be copied first to SSD scratch and then the results will be copied back. These extra two transfers will remove any SSD speed advantage. This is why I suppose neither Cryosparc nor Relion offers such an option. In the case of particle stacks the situation is different.
So, my suggestion would be not to use it for motion correction protocols.

@frozenfas
Copy link
Author

Thanks, this does make sense. I had it turned on for other reasons and just remembered about it when I encountered the error here.

@delarosatrevin
Copy link
Member

delarosatrevin commented Feb 25, 2024 via email

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