Dear Loris,

On 15/11/2018 10:39, Loris Bennett wrote:
Hi,

Somehow I goofed up.  Although I set EASYBUILD_PREFIX when building
EasyBuild, the software I subsequently built has ended up at the default
location:

   $ echo $EASYBUILD_PREFIX
   /home/loris/shared

   $ ls $EASYBUILD_PREFIX/software
   EasyBuild

Was $EASYBUILD_PREFIX set with "export EASYBUILD_PREFIX=..."?

That's crucial, since 'eb' starts a bash subshell, and only environment variables set via "export" will be passed on to EasyBuild.

You can check you current active configuration using "eb --show-config".


   $ ls .local/easybuild/software/
   Autoconf   Bison  FFTW        ...
   Automake   Boost  flex        ...
   Autotools  bzip2  fontconfig  ...
   binutils   expat  foss        ...

However, I have merged the two directory trees together and also rebuilt
one module successfully.

I can see that I could write a script to extract the names of the .eb
files from the other modules and rebuild them, but is there a simpler
way to rebuild all the modules?

The easyconfig files used for each installation are stored in the installation directory of each software package.

So, this should work:

eb $HOME/.local/easybuild/software/*/*/easybuild*/*.eb --robot

Alternative, you can look into the easyconfigs archive, and use the easyconfig files from there (see "repositorypath" in the output of "eb --show-config" for the location).


regards,

Kenneth


Cheers,

Loris

Reply via email to