Hi Cormac,
On Dec 20, 2013, at 8:09 PM, Garvey, Cormac T wrote:
> Is there an easy way in Easybuild to copy an Application submission script to
> the Application install bin.
> I have been modifying easyconfig and easyblock files to accomplish this, it
> would be nice if easybuild
> has this built in functionality (i.e Just set for example run_script =
> sub_app in a easyconfig file and "sub_app"
> will be copied to the install bin)
would something like the following do the work for you?
installopts = " && cp bla %(installdir)s/bin"
Look at `problog` example or, try this one to fish more ideas:
grep -R installdir easybuild-easyconfigs/easybuild/easyconfigs/|grep -v patch
> Another issue I have is with Application license files, for example in the
> abaqus.py easyblock the license is
> hardwired (e.g "ABAQUSLM_LICENSE_FILE=@abaqusfea"), I use a different license
> server and so I currently
> need to create my own abaqus.py easyblock with a different license file. It
> would be nice if I could leave the
> easyblock untouched and supply the license file in my easyconfig file.
IMHO, the optimal model to handle it is the same one seen as regards the Intel
license file:
This allows you to have one point of control for a family of software, which is
desirable.
I wish we made this a standard (as much as possible) all across easybuild
reciPYs.
cheers,
Fotis
--
echo "sysadmin know better bash than english" | sed s/min/mins/ \
| sed 's/better bash/bash better/' # Yelling in a CERN forum