returned non-zero exit status 126. core-metrics

We are currently working on a tutorial for qiime2. I am getting the following error at the diversity analysis. How can I solve this problem?


/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/skbio/util/_warning.py:60: UserWarning: observed_otus is deprecated as of 0.6.0.
warn(f"{func.name} is deprecated as of {ver}.")
/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/skbio/stats/ordination/_principal_coordinate_analysis.py:146: RuntimeWarning: The result contains negative eigenvalues. Please compare their magnitude with the magnitude of some of the largest positive eigenvalues. If the negative ones are smaller, it's probably safe to ignore them, but if they are large in magnitude, the results won't be useful. See the Notes section for more details. The smallest eigenvalue is -0.011940575748796 and the largest is 3.303706810392998.
warn(
Running external command line application. This may print messages to stdout and/or stderr.
The command being run is below. This command cannot be manually re-run as it will depend on temporary files that no longer exist.

Command:

faithpd -i /tmp/qiime2/misei/data/4b84073c-6fdf-4d71-a3d4-8e8acce65fef/data/feature-table.biom -t /tmp/qiime2/misei/data/e7a2277c-c89a-4b2b-8ae1-c172aed0fa4c/data/tree.nwk -o /tmp/q2-AlphaDiversityFormat-6cklndt6

/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/bin/faithpd: line 43: /home/misei/miniconda3/envs/qiime2-amplicon-2024.5/bin/faithpd_nv_avx2: cannot execute binary file: Exec format error
/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/bin/faithpd: line 43: /home/misei/miniconda3/envs/qiime2-amplicon-2024.5/bin/faithpd_nv_avx2: Success
Traceback (most recent call last):
File "/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2cli/commands.py", line 520, in call
results = self._execute_action(
File "/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2cli/commands.py", line 586, in _execute_action
results = action(**arguments)
File "", line 2, in core_metrics_phylogenetic
File "/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/action.py", line 342, in bound_callable
outputs = self.callable_executor(
File "/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/action.py", line 657, in callable_executor
outputs = self._callable(scope.ctx, **view_args)
File "/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2_diversity/_core_metrics.py", line 65, in core_metrics_phylogenetic
faith_pd_vector, = faith_pd(table=cr.rarefied_table,
File "", line 2, in faith_pd
File "/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/context.py", line 143, in deferred_action
return action_obj._bind(
File "", line 2, in faith_pd
File "/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/action.py", line 342, in bound_callable
outputs = self.callable_executor(
File "/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/action.py", line 576, in callable_executor
output_views = self._callable(**view_args)
File "", line 2, in faith_pd
File "/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2_diversity_lib/_util.py", line 75, in _validate_tables
return wrapped_function(*args, **kwargs)
File "", line 2, in faith_pd
File "/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2_diversity_lib/_util.py", line 118, in _validate_requested_cpus
return wrapped_function(*bound_arguments.args, **bound_arguments.kwargs)
File "/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2_diversity_lib/alpha.py", line 63, in faith_pd
_omp_cmd_wrapper(threads, cmd)
File "/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2_diversity_lib/_util.py", line 134, in _omp_cmd_wrapper
return _run_external_cmd(cmd, verbose=verbose, env=env)
File "/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2_diversity_lib/_util.py", line 128, in _run_external_cmd
return subprocess.run(cmd, check=True, env=env)
File "/home/misei/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['faithpd', '-i', '/tmp/qiime2/misei/data/4b84073c-6fdf-4d71-a3d4-8e8acce65fef/data/feature-table.biom', '-t', '/tmp/qiime2/misei/data/e7a2277c-c89a-4b2b-8ae1-c172aed0fa4c/data/tree.nwk', '-o', '/tmp/q2-AlphaDiversityFormat-6cklndt6']' returned non-zero exit status 126.

Hello!

Usually, if one searches for the key part of the error, some similar topics with ready solutions may be found.
For example, I searched for this sentence "returned non-zero exit status 126" and found this solution.

Best,

I was wonderfully impressed. Everything was resolved!
Thank you very much.