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

Parallelisation #34

Open
steffenhartmeyer opened this issue Aug 24, 2023 · 1 comment
Open

Parallelisation #34

steffenhartmeyer opened this issue Aug 24, 2023 · 1 comment

Comments

@steffenhartmeyer
Copy link

Very interesting package, which I would like to use on data we collected with the Axivity devices. Do you have tips for parallelisation of the get_sleep command to speed up the analysis process of multiple files? I tried to use the command in a shell script using xargs for parallelisation but ran into an error thrown by the Java Runtime (see attached file).

hs_err_pid6048.log

@angerhang
Copy link
Member

hey @steffenhartmeyer thanks for sharing your interests :D

At the moment, the asleep package only supports single file processing at a time. If you happen to have access to any cluster machine, you could try run the get_sleep command as an individual process for each file, which would allow you to process hundreds of files at once.

If you are trying to process several files on your own machine, I am not sure how to best to do it. https://unix.stackexchange.com/questions/311249/run-same-command-for-multiple-file-at-the-same-time maybe this tread might help?

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

2 participants