Hi all,
I want to create easyconfigs for ecCodes[1] and EMOS[2]. ecCodes comes
with Python bindings, so I'm setting a
versionsuffix = '-Python-%(pyver)s'
EMOS depends on ecCodes, but does not depend on Python at all.
I have built two ecCodes modules, one for Python-2.7.11 and one for
Python-3.5.1. I'm wondering how to specify the dependencies in the EMOS
easyconfig, without having to provide a Python-dependent easyconfig for
EMOS. Ideally, when loading EMOS, lmod should pick the ecCodes module
which causes the least conflict:
- if no other Python is loaded, chose any default
- if either Python/2.7.11 or Python/3.5.1 are already loaded, chose the
matching ecCodes module
Is this somehow possible?
Cheers,
Andreas.
[1] https://software.ecmwf.int/wiki/display/ECC
[2] https://software.ecmwf.int/wiki/display/EMOS
--
Dr. Andreas Hilboll
Center for Marine Environmental Sciences (MARUM)
- AND -
Institute of Environmental Physics (IUP)
University of Bremen
NW1 / S3132
Otto-Hahn-Allee 1
D-28359 Bremen
Germany
+49(0)421 218 62133 (phone)
+49(0)421 218 98 62133 (fax)
http://www.iup.uni-bremen.de/~hilboll