Dear Rajiv,

It looks like you have already modules _loaded_ when you are running the `eb` command. You need to make sure your environment is clean when running the `eb` command:

module purge

module load EasyBuild

The first command unloads all loaded modules, the second command loads the EasyBuild module (assuming that you are using EasyBuild via a module file).

Hope that helps,

Alan

On 11-Sep-23 3:29 PM, Rajiv Perseedoss wrote:
This is the error:

== FAILED: Installation ended unsuccessfully (build directory: /net/homes/rperseed/tmp_eb_HPL/build/cURL/7.69.1/GCCcore-9.3.0): build failed (first 300 chars): Module command '/usr/bin/modulecmd python load zlib/1.2.11-GCCcore-9.3.0' failed with exit code 1; stderr: zlib/1.2.11-GCCcore-9.3.0(26):ERROR:150: Module 'zlib/1.2.11-GCCcore-9.3.0' conflicts with the currently loaded module(s) 'zlib/1.2.11-GCCcore-9.3.0'
zlib/1.2.11-GCCcore-9.3.0(26):ERROR:102: Tc (took 27 secs)
== Results of the build can be found in the log file(s) /tmp/eb-hzsyqcha/easybuild-cURL-7.69.1-20230911.143132.qEOAg.log ERROR: Build of /net/homes/rperseed/easybuild/software/EasyBuild/4.8.0/easybuild/easyconfigs/c/cURL/cURL-7.69.1-GCCcore-9.3.0.eb failed (err: "build failed (first 300 chars): Module command '/usr/bin/modulecmd python load zlib/1.2.11-GCCcore-9.3.0' failed with exit code 1; stderr: zlib/1.2.11-GCCcore-9.3.0(26):ERROR:150: Module 'zlib/1.2.11-GCCcore-9.3.0' conflicts with the currently loaded module(s) 'zlib/1.2.11-GCCcore-9.3.0'\nzlib/1.2.11-GCCcore-9.3.0(26):ERROR:102: Tc")


Thanks
Rajiv

On Mon, Sep 11, 2023 at 2:08 PM Rajiv Perseedoss <[email protected]> wrote:

    Hi,
    I'm trying to install Qt5.14 using EasyBuild and its failing due
    to modules already existing. In my case its zlib. Prior to Qt, I
    installed HPL and GCC, where I have had more such errors.

    What should i do? I've tried --rebuild or --force and they always
    seem to fail still. I'm tempted to blow away the install directory
    and do the process again but then i'm scared that the next thing I
    install will have the same issue and i'll have the same issue later.

    Easybuild obviously does not have a remove option. What can i do
    please?

    Thanks
    Rajiv

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to