Open ocaisa opened 1 year ago
family
is supported in Environment Modules since version v5.1.0 so we could add support in framework for this.
more than one Conda env
by env here you mean environment modules? or actual conda environments?
I'm not sure what family
could do that can't be achieved with Miniconda and Anaconda conflicting with each other and GCCcore?
IIRC this discussion came about because of a PR for a conda-based install of QIIME2. What I meant was using the family feature to ensure you only ever have one module loaded for an environment created by the conda easyblock (the module itself may have any name)
In the Conda easyblock, we are careful not to set
LD_LIBRARY_PATH
andLIBRARY_PATH
(see https://github.com/easybuilders/easybuild-easyblocks/blob/develop/easybuild/easyblocks/generic/conda.py#L100). I'd be concerned though that we may still have potential leakage due to the setting ofPKG_CONFIG_PATH
.The other issue is that simply using
bin
has the potential to impact any other install as it can contain unlimited other things likegcc
,python
,... I don't see an easy way around this and I think @branfosj had a good idea when he suggested that we make anything with theConda
easyblock conflict withGCCcore
(which probably makes the first point moot as well). In addition, I'd suggest that we give the Lmod family attributeconda
to the module so that you can't have more than one Conda env loaded at any one time.