On 04/12/2018 08:09, Loris Bennett wrote:
Dear Kenneth,

I think the real problem is that the easyconfig is looking for

   orca_4_0_1_linux_x86-64_openmpi202.tar.xz

whereas I have

   orca_4_0_1_2_linux_x86-64_openmpi202.tar.xz

If this the case, then the list of paths checked is a bit misleading.

How is it confusing? The error message clearly mentions the filename of the source file EasyBuild is looking for (although the difference is easy to overlook in this case, of course).


This raises the following question: What is the general approach in this
case where a binary package is needed which may have a patch level
beyond the version number the easyconfig is expecting?  Should it have a
separate easyconfig or can there be multiple patch levels within a
single easyconfig?

There's no (easy/clean) way to have multiple patch levels in a single easyconfig.

If you have a different source, you should use a (slightly) different easyconfig file.

In this case, I consider this to be a different version entirely...


regards,

Kenneth


Cheers,

Loris


Kenneth Hoste <[email protected]> writes:

Dear Loris,

Your configuration looks correct, EasyBuild should be able to find
orca_4_0_1_linux_x86-64_openmpi202.tar.xz if it's located in
/trinity/home/loris/shared/sources/o/ORCA based on your output of "eb
--show-config".

Did you copy the file into the o/ORCA/ subdirectory?

What does "find /trinity/home/loris/shared/sources/o/ORCA -type f" print out?


regards,

Kenneth

On 30/11/2018 13:26, Loris Bennett wrote:
Hi,

I have

    export EASYBUILD_PREFIX=/trinity/home/loris/shared

and have copied an archive to

    /trinity/home/loris/shared/sources/o/ORCA

However the build fails with the follwing error

    ...
    Couldn't find file orca_4_0_1_linux_x86-64_openmpi202.tar.xz anywhere,
    and downloading it didn't work either...
    Paths attempted (in order):
    
/trinity/home/loris/shared/software/EasyBuild/3.7.1/lib/python2.7/site-packages/easybuild_easyconfigs-3.7.1-py2.7.egg/easybuild/easyconfigs/o/ORCA/o/ORCA/orca_4")

Shouldn't the 'sources' directory under EASYBUILD_PREFIX be included in
the list of directories to search and why does the path within EasyBuild
contain 'o/ORCA' twice, especially since this directory does not exist?

My config is

[loris@admin ~]$ eb --show-config
#
# Current EasyBuild configuration
# (C: command line argument, D: default value, E: environment variable, F: 
configuration file)
#
buildpath      (E) = /trinity/home/loris/shared/build
containerpath  (E) = /trinity/home/loris/shared/containers
installpath    (E) = /trinity/home/loris/shared
packagepath    (E) = /trinity/home/loris/shared/packages
prefix         (E) = /trinity/home/loris/shared
repositorypath (E) = /trinity/home/loris/shared/ebfiles_repo
robot-paths (D) =
/trinity/home/loris/shared/software/EasyBuild/3.7.1/lib/python2.7/site-packages/easybuild_easyconfigs-3.7.1-py2.7.egg/easybuild/easyconfigs
sourcepath     (E) = /trinity/home/loris/shared/sources

Cheers,

Loris


Reply via email to