-
Notifications
You must be signed in to change notification settings - Fork 8
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
Unable to access juicer_tools.jar #2
Comments
I'm also having a similar issue. When run using Singularity:
I'm able to access
|
I've made a work-around that seems to be working for me. I believe it's to do with Singularity's permissions. In the docker image the
I add all permissions to the file that
And run it up using singularity. Once the container is spun up:
works as expected. |
Thank you, this is great info to share.
Meanwhile, we are working on updating the Juicer Docker and will share it
once it's finished.
…On Wed, Apr 7, 2021 at 8:55 AM charlotte-west ***@***.***> wrote:
I've made a work-around that seems to be working for me. I believe it's to
do with Singularity's permissions. In the docker image the
juicer_tools.jar does not have general read/write/execute permissions. I
built my own docker image, the Dockerfile is very simple:
FROM aidenlab/juicer:1.0.13
# Add executability to juicer tools file
RUN chmod 777 /opt/juicer-1.6.2/CPU/common/juicer_tools.1.7.6_jcuda.0.8.jar
# Remove entrypoint
ENTRYPOINT []
I add all permissions to the file that juicer_tools.jar points to. I
removed the entrypoint for debugging purposes. I built the docker file:
docker build -f ./Dockerfile -t my/container:latest .
And run it up using singularity. Once the container is spun up:
java -Xms512m -Xmx2048m -jar juicer_tools.1.7.6_jcuda.0.8.jar
works as expected.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAK2EW3SPSFOXMH2CEPP46DTHRI3ZANCNFSM4WDK5ZMA>
.
--
Neva Cherniavsky Durand, Ph.D. | she, her, hers
Assistant Professor | Molecular and Human Genetics
Aiden Lab | Baylor College of Medicine
www.aidenlab.org
|
I'm also running into the exact same issue while running with Singularity:
I'll have to try workaround from @charlotte-west |
Yep, same issue still. |
+1 for this issue. |
This is still an issue. Went ahead with the same fix as @charlotte-west. I built the container locally using Docker and then pushed to docker hub. I ran into another issue with the scripts path (similar to aidenlab/juicer#352 (comment)). Was able to fix that using the
Works well for me, because sometimes I want to use juicer tools instead and they can be accessed in the same image. |
Thanks I got further with your container, albeit I get this error:
Edit: it appears this is a bug in 1.x versions of Juicer for CPU. No fix mentioned anywhere. |
I get this error -
Error: Unable to access jarfile /opt/scripts/common/juicer_tools.jar
When trying to run the docker image through singularity, here's the full error -
The text was updated successfully, but these errors were encountered: