Hi Kenneth,

Kenneth Hoste writes:

> Someone warned me about this change, but I haven't had time to look at 
> this yet (and I haven't had a pressing need to bump the WRF version yet 
> either).
> However, it's probably not as bad as it sounds...
>
> run_cmd_qa has support for answering a question where the answer to be 
> given is a part of the question text (for example, picking a number).
> This is already done for versions prior to v3.8, cfr. 
> https://github.com/hpcugent/easybuild-easyblocks/blob/master/easybuild/easyblocks/w/wrf.py#L135
>
> It basically boils down to defining the build_type_question regular 
> expression 'a bit' for version 3.8 (and up).
>
> How good are you with Python and regular expressions? ;-)

My Python is pretty good, I'd say, but with regular expressions I'd
classify as (almost absolute) beginner.  But I'm sure I can somehow get
there.

How would the decision which easyblock version to use be done properly?
I'd somehow have to add support for WRF >= 3.8 without taking away
support for earlier versions.  Would that go via subclassing the EB_WRF
class?  If so, how would I ensure that EasyBuild automatically picks the
correct easyblock depending on the version?

But maybe I should start working on the right regexp ... ;)

Sunny greetings,
  Andreas.


-- 
Dr. Andreas Hilboll

Center for Marine Environmental Sciences (MARUM)
                    - AND -
    Institute of Environmental Physics (IUP)

University of Bremen

U3145
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

Reply via email to