Hi,

I have written a hook which works find if I do, say,

  eb --hooks hooks/hpc_hooks.py OpenMPI-3.1.3-GCC-8.2.0-2.31.1.eb --robot 
--rebuild

I then tried to to add the path to the hooks file to my config like this:

  [basic]
  logtostdout = false

  [config]
  modules-tool: Lmod
  prefix=/trinity/shared/easybuild/
  hooks=~/hooks/hpc_hooks.py

but this leads to the following

  eb --hooks hooks/hpc_hooks.py OpenMPI-3.1.3-GCC-8.2.0-2.31.1.eb --robot 
--rebuild --dry-run
  == temporary log file in case of crash /tmp/eb-VhgLws/easybuild-NUbTBs.log
  ERROR: Specified path for hooks implementation does not exist: 
hooks/hpc_hooks.py

How should I be specifying the path?

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to