I am trying to install Singularity on my MacOS but it doesn't seem to pick up
which singularity or
- Install using Homebrew (and install Home-brew):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew install --cask --no-quarantine singularity singularity --version
==> Downloading https://bitbucket.org/router_gray/singularityviewer/downloads/Singularity_Alpha_1_8_9_8709_x86_64.dmg Already downloaded: /Users/Username/Library/Caches/Homebrew/downloads/d3015dad9cc2d3ef25603a68114f3caf63cb0dd90e03f159405999262392baec--Singularity_Alpha_1_8_9_8709_x86_64.dmg ==> Uninstalling Cask singularity ==> Backing App 'SingularityAlpha.app' up to '/opt/homebrew/Caskroom/singularity/22.214.171.12409/SingularityAlpha.app' ==> Removing App '/Applications/SingularityAlpha.app' ==> Purging files for version 126.96.36.19909 of Cask singularity ==> Installing Cask singularity ==> Moving App 'SingularityAlpha.app' to '/Applications/SingularityAlpha.app'
Then test using
singularity --version with the result
singularity not found
- Maybe it wants singularity spelled with a capital Singularity instead of lowercase:
Singularity not found
- Export the path to the bash_profile and the source it
However, this resulted in the same issue when
singularity --version was run. It could not recognize that the singularity was installed.
Explore inside the Singularity app which is installed under '/Applications/SingularityAlpha.app'
/Applications/SingularityAlpha.app/Contents/MacOSlead to a file called SingularityAlpha.
Exporting this path in the bash profile and sourcing still lead to the same issue when trying to see if it even recoginzed the singularity using
I have also tried reinstalling it and it still has the same issue. Is there any suggestion for how to install/use Singularity locally as many packages will have to be tested locally on my machine before running it on my HPC?