Hi Kenneth,
My interest in Dalton has waned a little in the meantime. Sorry for that. I'll
see when I'll pick it up again. Thanks for the explanation anyway.
Best Regards,
Toon
On 08/05/2013 11:53 AM, Kenneth Hoste wrote:
Hi Toon,
It seems like this was left unanswered...
On 12 Jul 2013, at 09:04, Toon Verstraelen wrote:
Hello,
I would like to make an easybuild file for Dalton2011. It has a non-standard
build process. One basically has to create a config file like the one attached.
Is there an easyconfig file to start from (for another program) that does
something similar?
There are a couple of examples, ranging from rather simple (e.g. ABAQUS, see
[1]) to very involved (e.g. CP2K, see [2]).
In general, you want to override the configure_step function, and create the
config file in there.
Since Dalton2011 seems to be using Makefile's, I suggest you derive from the
ConfigureMake easyblock, since I'd guess the actual building/installing is done
with make/make install.
See for example the Doxygen easyblock [3], in which only configure_step and
sanity_check_step are redefined (and build_step/install_step are inherited from
ConfigureMake).
Do let us know if you need help, either via the mailing list, or more directly
via IM or IRC (see https://github.com/hpcugent/easybuild/wiki/Contact).
regards,
Kenneth
[1]
https://github.com/hpcugent/easybuild-easyblocks/blob/master/easybuild/easyblocks/a/abaqus.py
[2]
https://github.com/hpcugent/easybuild-easyblocks/blob/master/easybuild/easyblocks/c/cp2k.py
[3]
https://github.com/hpcugent/easybuild-easyblocks/blob/master/easybuild/easyblocks/d/doxygen.py