-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add/sif variable for singularity #553
Conversation
…f_variable_for_singularity
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@marcodelapierre I'm not sure what I'm doing wrong, but I can't get it work. :/ So I think I'll need your help with this after all! Sorry I couldn't help. |
No worries @vsoch, I will have a look as soon as I can, hopefully in the next few days. |
Hi @vsoch , sorry it has taken me aaaaaaages to get back to this one. I was having a look at those errors above, let me add some first thoughts.
|
Ok, got one! The Lmod error (empty container alias for Tcsh )is because I forgot to add the second definition, which indeed is required in the case of Csh/Tcsh. Have committed the fix on my branch: |
I struggle to understand the other error, with I can't reproduce it here in a simple example taken from a python shpc container. Next trials:
|
…/singularity-hpc into add/sif_variable_for_singularity
All right, got also the other error, this is something that haunts me actually:
The syntax |
Have a look in my branch, it has those fixes: https://github.com/marcodelapierre/singularity-hpc/tree/add/sif_variable_for_singularity Oh! I am also suggesting this other edit in your test:
to be slightly more pedantic and look for the sif extension specifically. |
The only outstanding point: If so, how shall we call the variable |
okay - just added your commits here!
Not until someone asks for it, imho. |
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@marcodelapierre are you able to see or download the output for the failed test? I think there is a bug with my GitHub (or browser)? because I'm getting this -> https://twitter.com/vsoch/status/1539722882984464384 I added the PODMAN_CONTAINER and the test should work, so I'm wanting to see what's going wrong (for docker/podman) so i can fix it... but I can't see it! lol! 😆 😭 <- laughing and crying moment. |
oh wow! I suspect .. you broke Github @vsoch!! 😆 interestingly, I can see the error message, e.g. tcl 4.7.1 docker ; I am using Safari on a Mac. Or maybe they solved it meanwhile...? |
oh no, that means it's me! I've tried Firefox and Brave, so I could try Chrome as my last resort. I think it might be related to something with my ip-address because my linkedin site has been down (again spinning) for about a week, and that's true for any computer or browser in my apartment. When I connect to work VPN (on a work computer) it magically works. Of course it's a catch 22 because I'm not allowed to work on personal projects on a work computer, so I couldn't. This might be really annoying, but could you show me one of the errors so I can try fixing it? |
I think the test fails because it Singularity specific, i.e. it looks for a .sif extension:
Not sure what's the best way to test for the Docker image specification.. the prefix can be |
Ah of course! Thank you @marcodelapierre ! Yes I can think about how to fix this. Update: chrome did not work, nor did disabling ad blockers (which wouldn't make sense since I've had them for years but worth a shot). |
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
okay I found an old mac (and turned it on) and I can see the logs (thank goodness!) |
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
oh man I am epically failing! @marcodelapierre do you see anything that I'm missing? |
oh hmm docker is working but not podman... |
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
I think it's maybe as you suggested, that we cannnot get the URI perfectly given a hash or registry is added. |
woohoo! Well, that was an adventure! 😆 |
Thanks Vanessa! |
Also @marcodelapierre I've recently bit the bullet and got my own cloud accounts (for development) so if you ever get any 'wouldn't it be cool if.." ideas working with GCP or AWS... you know who to ping!! |
Thanks for mentioning Vanessa! Mostly on-premises right now, but will keep it in mind :-) |
This will close #549 if it works here - I think this was the last detail todo!