OPM / LBPM

Pore scale modelling
https://lbpm-sim.org/
GNU General Public License v3.0
68 stars 31 forks source link

404 Not Found on wget commands; invalid reference format: repository name must be lowercase in singularity commands #69

Open SomePersonSomeWhereInTheWorld opened 2 years ago

SomePersonSomeWhereInTheWorld commented 2 years ago

Using the tutorial on the LBPM page on RHEL 8, all of the wget comments to build the Singularity container fail with:

 wget https://gitlab.com/NVHPC/ngc-examples/-/raw/master/LBPM/input.db
--2022-08-10 14:39:26--  https://gitlab.com/NVHPC/ngc-examples/-/raw/master/LBPM/input.db
Resolving gitlab.com (gitlab.com)... 172.65.251.78
Connecting to gitlab.com (gitlab.com)|172.65.251.78|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-08-10 14:39:26 ERROR 404: Not Found.

Also see errors when running this command:

singularity run --nv -B $BENCHMARK_DIR:/benchmark --pwd /benchmark docker://nvcr.io/hpc/LBPM ./run.sh
FATAL:   Unable to handle docker://nvcr.io/hpc/LBPM uri: failed to get checksum for docker://nvcr.io/hpc/LBPM: unable to parse image name docker://nvcr.io/hpc/LBPM: invalid reference format: repository name must be lowercase

singularity version 3.7.1

JamesEMcClure commented 2 years ago

I'm looking into this issue. Can you confirm if you are authenticated to the NGC container repo or are you accessing as a guest?

SomePersonSomeWhereInTheWorld commented 2 years ago

As a guest, which is probably a big part of the problem. I see sample instructions to login but unfortunately we don't use Docker (the whole needing to be root thing), so I can't invoke a docker command to login at the CLI. I was able to find the 3 files and download them but the singularity command fails with the above error.