Hi Frank,

I think the tutorial part on module naming schemes could be helpful here too, it explains the hierarchical setup quite well: https://easybuilders.github.io/easybuild-tutorial/2021-isc21/module_naming_schemes

If you prefer watching the recording for this part of the tutorial, see https://www.youtube.com/watch?v=lJJiBVnYlsI&t=10481s, which includes a live demo as well.


regards,

Kenneth

On 09/02/2022 15:05, Alan O'Cais wrote:
You should be using
module use /opt/local/hmns/modules/all/Core
not
module use /opt/local/hmns/modules/all
when defining your MODULEPATH

On Wed, 9 Feb 2022 at 14:57, Heckes, Frank <[email protected] <mailto:[email protected]>> wrote:

    Hi all,____

    I’m sorry if I overlooked something in the tutorials, documentation
    or mail archive and my question has been answered before.____

    __ __

    I set-up easybuild (4.5.1), lua-5.3.6 and utilize a dedicated user
    for software builds . For a usage test I installed gcc-10.3 and
    OpenMPI-4.0.7-GCC-10.3.0 with HMNS
    without any problems (see eb config and module avail output below). ____

    __ __

    Trying to use the installation with my own account fails. Running
    spider on the OpenMPI module shows:
                               ‘This module can be loaded directly:
    module load Compiler/GCC/10.3.0/OpenMPI/4.1.1’

    ____

    Anyway trying to load the module always results in an error message:
                          “”
                         Lmod has detected the following error: The
    following module(s) are unknown: "OpenSSL/1.1"____

    __ __

                         Please check the spelling or version number.
    Also try "module spider ..."____

                         It is also possible your cache file is
    out-of-date; it may help to try:____

                         $ module --ignore-cache load "OpenSSL/1.1"____

    __ __

                        Also make sure that all modulefiles written in
    TCL start with the string #%Module____

                        “””____

    __ __

    The –ignore-cache option doesn’t help and I’m sure that no
    modulefiles written in TCL were loaded.
    I’m confused that module ‘Core/OpenSSL/1.1’ (loaded actually)
    doesn’t resolve the dependency. This same error occurs also when I
    load gcc-10.3 first. (for which
    I haven’t openSSL/1.1 in Compiler/GCCcore/10.3.0/)

    ____

    Does anyone has an idea what went wrong? Many thanks in advance.____

    Cheers,____

    -Frank____

    __ __

    __ __

    __ __

    CONFIG____

    #____

    # Current EasyBuild configuration____

    # (C: command line argument, D: default value, E: environment
    variable, F: configuration file)____

    #____

    buildpath            (E) = /opt/local/easybuild/build____

    containerpath        (E) = /opt/local/easybuild/containers____

    installpath          (E) = /opt/local____

    installpath-modules  (E) = /opt/local/hmns/modules____

    installpath-software (E) = /opt/local____

    module-naming-scheme (E) = HierarchicalMNS____

    repositorypath       (D) =
    /home/yadmin/.local/easybuild/ebfiles_repo____

    robot-paths          (D) =
    /home/yadmin/easybuild/software/EasyBuild/4.5.1/easybuild/easyconfigs____

    sourcepath           (E) = /opt/local/easybuild/sources____

    umask                (E) = 022____

    __ __

    module --version____

    __ __

    Modules based on Lua: Version 8.4.28  2021-03-20 19:48 -05:00____

         by Robert McLay [email protected]
    <mailto:[email protected]>____

    __ __

    EASYBUILD_INSTALLPATH_SOFTWARE=/opt/local____

    EASYBUILD_MODULE_NAMING_SCHEME=HierarchicalMNS____

    EASYBUILD_INSTALLPATH=/opt/local____

    EBVERSIONEASYBUILD=4.5.1____

    EASYBUILD_BUILDPATH=/opt/local/easybuild/build____

    EASYBUILD_INSTALLPATH_MODULES=/opt/local/hmns/modules____

    EASYBUILD_SOURCEPATH=/opt/local/easybuild/sources____

    EBROOTEASYBUILD=/home/yadmin/easybuild/software/EasyBuild/4.5.1____

    EASYBUILD_CONTAINERPATH=/opt/local/easybuild/containers____

    EASYBUILD_UMASK=022____

    
EASYBUILD_ROBOT_PATHS=/home/yadmin/easybuild/software/EasyBuild/4.5.1/easybuild/easyconfigs____

    
EBDEVELEASYBUILD=/home/yadmin/easybuild/software/EasyBuild/4.5.1/easybuild/EasyBuild-4.5.1-easybuild-devel____

    EASYBUILD_REPOSITORYPATH=/home/yadmin/.local/easybuild/ebfiles_repo____

    __ __

    __ __

    __ __

    MODULE LIST____

    heckes:~> module avail____

    ---------------------------------------------------------------
    /opt/local/hmns/modules/all/Compiler/GCCcore/10.3.0
    ----------------------------------------------------------------____

   Autoconf/2.71         DB/18.1.40             Perl/5.32.1 (D)    expat/2.2.9        hwloc/2.4.1 libreadline/8.1         ncurses/6.2           zlib/1.2.11____

   Automake/1.16.3       M4/1.4.18 UCX/1.10.0             flex/2.6.4         libevent/2.1.12 libtool/2.4.6           numactl/2.0.14____

   Autotools/20210128    PMIx/3.2.3 XZ/5.2.5               groff/1.22.4       libfabric/1.12.1 libxml2/2.9.10          pkg-config/0.29.2____

   Bison/3.7.6           Perl/5.32.1-minimal binutils/2.36.1        help2man/1.48.3    libpciaccess/0.16 makeinfo/6.7-minimal    xorg-macros/1.19.3____

    __ __

    ----------------------------------------------------------------------------
    /opt/local/hmns/modules/all
    
----------------------------------------------------------------------------____

   Compiler/GCC/10.3.0/OpenMPI/4.1.1 Compiler/GCCcore/10.3.0/XZ/5.2.5 Compiler/GCCcore/10.3.0/libtool/2.4.6 Core/GCCcore/10.3.0    (L)____

   Compiler/GCCcore/10.3.0/Autoconf/2.71 Compiler/GCCcore/10.3.0/binutils/2.36.1 Compiler/GCCcore/10.3.0/libxml2/2.9.10              Core/M4/1.4.18____

   Compiler/GCCcore/10.3.0/Automake/1.16.3 Compiler/GCCcore/10.3.0/expat/2.2.9 Compiler/GCCcore/10.3.0/makeinfo/6.7-minimal Core/OpenSSL/1.1       (L)____

   Compiler/GCCcore/10.3.0/Autotools/20210128 Compiler/GCCcore/10.3.0/flex/2.6.4 Compiler/GCCcore/10.3.0/ncurses/6.2 Core/binutils/2.36.1____

   Compiler/GCCcore/10.3.0/Bison/3.7.6 Compiler/GCCcore/10.3.0/groff/1.22.4 Compiler/GCCcore/10.3.0/numactl/2.0.14              Core/flex/2.6.4____

   Compiler/GCCcore/10.3.0/DB/18.1.40 Compiler/GCCcore/10.3.0/help2man/1.48.3 Compiler/GCCcore/10.3.0/pkg-config/0.29.2 Core/gettext/0.21____

   Compiler/GCCcore/10.3.0/M4/1.4.18 Compiler/GCCcore/10.3.0/hwloc/2.4.1 Compiler/GCCcore/10.3.0/xorg-macros/1.19.3          Core/ncurses/6.2____

   Compiler/GCCcore/10.3.0/PMIx/3.2.3 Compiler/GCCcore/10.3.0/libevent/2.1.12 Compiler/GCCcore/10.3.0/zlib/1.2.11 Core/pkg-config/0.29.2____

   Compiler/GCCcore/10.3.0/Perl/5.32.1-minimal Compiler/GCCcore/10.3.0/libfabric/1.12.1 Core/Bison/3.5.3                                    Core/zlib/1.2.11____

   Compiler/GCCcore/10.3.0/Perl/5.32.1         (D) Compiler/GCCcore/10.3.0/libpciaccess/0.16 Core/Bison/3.7.6                             (D)____

   Compiler/GCCcore/10.3.0/UCX/1.10.0 Compiler/GCCcore/10.3.0/libreadline/8.1      Core/GCC/10.3.0____

    __ __

       Where:____

        D:  Default Module____

        L:  Module is loaded____

    __ __

    __ __


Reply via email to