Hi

I'm new to easybuild, and I'm facing the following problem when building
the attached EB file using "eb ESMPy-8.0.1-intel-2021b.eb --robot":

== FAILED: Installation ended unsuccessfully (build directory:
/dev/shm/elshambakey1/juwels/ESMPy/8.0.1/intel-2021b): build failed (first
300 chars): Module command '/p/software/juwels/lmod/8.4.1/libexec/lmod
python load ESMF/8.2.0' failed with exit code 1; stderr: Lmod has detected
the following error: These module(s) or extension(s) exist but cannot be
loaded as requested:
"ESMF/8.2.0"
   Try: "module spider ESMF/8.2.0" to see how to load the m (took 22 secs)
== Results of the build can be found in the log file(s)
/tmp/eb-slj9g3kz/easybuild-ESMPy-8.0.1-20220428.094613.cAMko.log
ERROR: Build of
/p/largedata/deeprain/dg_rr/easybuild/xESMF/ESMPy-8.0.1-intel-2020b.eb
failed (err: 'build failed (first 300 chars): Module command
\'/p/software/juwels/lmod/8.4.1/libexec/lmod python load ESMF/8.2.0\'
failed with exit code 1; stderr: Lmod has detected the following error:
These module(s) or extension(s) exist but cannot be loaded as
requested:\n"ESMF/8.2.0"\n   Try: "module spider ESMF/8.2.0" to see how to
load the m')

I then tried to load the ESMF/8.2.0, then re-run the build command, but I
received an error:

ERROR: Found one or more non-allowed loaded (EasyBuild-generated) modules
in current environment:
* GCCcore/.11.2.0
* GCCcore/.11.2.0
* zlib/.1.2.11
* binutils/.2.37
* numactl/2.0.14
* nvidia-driver/.default
* CUDA/11.5
* UCX-settings/RC
* UCX-settings/RC
* pscom/.5.4-default
* XZ/.5.2.5
* libxml2/.2.9.10
* mpi-settings/UCX
* mpi-settings/UCX
* imkl/2021.4.0
* Szip/.2.1.1
* HDF5/1.12.1
* OpenSSL/1.1
* cURL/7.78.0
* PnetCDF/1.12.2
* netCDF/4.8.1
* netCDF-Fortran/4.5.3
* netCDF-C++4/4.3.1
* ESMF/8.2.0

This is not recommended since it may affect the installation procedure(s)
performed by EasyBuild.

To make EasyBuild allow particular loaded modules, use the
--allow-loaded-modules configuration option.
To specify action to take when loaded modules are detected, use
--detect-loaded-modules={error,ignore,purge,unload,warn}.

See http://easybuild.readthedocs.io/en/latest/Detecting_loaded_modules.html
for more information.

Then, I tried to use "--detect-loaded-modules=warn", but it gave me the
first error again. So, I replaced the "--detect-loaded-modules" option with
"eb ESMPy-8.0.1-intel-2021b.eb --robot --allow-loaded-modules=<comma
separated list of previous modules>" but it still gives the second error.

I really don't know what to do.

Regards

-- 
Mohammed

Attachment: ESMPy-8.0.1-intel-2021b.eb
Description: Binary data

Reply via email to