luciorq / condathis

Run any CLI tool on a Reproducible Isolated Environment ⚙️⚡
https://github.com/luciorq/condathis
Other
3 stars 1 forks source link

Auto method is not robust enough for using containers as the default backend #1

Closed luciorq closed 1 month ago

luciorq commented 1 year ago

The proposed solution would be to use "native" as the default for the method argument for create_env() and run() when Linux x86_64 environments are detected.

The main use case here targets HPC infrastructure that primarily runs on Linux x86_64. Also, most of the CLI tools would be available in a native format, at least for bioinformatics-related tools.

luciorq commented 1 year ago

The previous implementation of "auto" focused on always favoring containers as the default backend to try to provide a "Linux" environment by default.

The new approach will favor native execution, mainly because of performance issues and difficulty in dealing with the heterogeneity of container engine backends that the user usually doesn't have control over.

The new proposed approach for method = "auto" will be based on searching the package using native micromamba search with --platform argument. Following this priority:

luciorq commented 1 month ago

Not planned