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

Failed execution on Singularity #500

Open
jyw-atgithub opened this issue Oct 7, 2024 · 1 comment
Open

Failed execution on Singularity #500

jyw-atgithub opened this issue Oct 7, 2024 · 1 comment

Comments

@jyw-atgithub
Copy link

jyw-atgithub commented Oct 7, 2024

Hi!
I am using the singularity on school's computation cluster. After building the sif image of AGAT-1.4.1, I had an error. The processes is shown below:

$module load singularity/3.11.3
$singularity pull docker://quay.io/biocontainers/agat:1.4.1--pl5321hdfd78af_0
$singularity run /pub/jenyuw/Software/agat_1.4.1--pl5321hdfd78af_0.sif
Singularity> agat_convert_sp_gxf2gxf.pl --help
ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xcd00080, needed 0xed00080)

In addition, I had tried installation thorugh conda, micromamba, and manual way but all failed. I tried our systems perl modules and both failed.
For example I used module load perl/5.30.0 R/4.3.3 (or perl/5.34.1) and both gave me the following message during the make test step. No error messaged at the dependency installation or the make stage.

Failed 1/8 test programs. 1/254 subtests failed.
make: *** [Makefile:1728: test_dynamic] Error 255

Please tell me if I need to provide more info. Thank you!

@Juke34
Copy link
Collaborator

Juke34 commented Nov 28, 2024

Sounds there is a conflict between perl coming via the container and some stuff you have on your computer.
By default Singu bind/mount some directories from your computer (see the list here https://mivegec.pages.ird.fr/dainat/malbec-containers/pages/containers/containers-7-singularity/#binding-directories). You may have a PERL5LIB environment variable setup somewhere that breaks the path to the singu perl.
You should try to check the PERL5LIB (and other specific PERL variable): echo $PERL5LIB
Check the perl you are using which perl

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