Dear Peleg,

It looks like you haven't actually initialised Lmod in your shell (see the 
output of type module). To initialise Lmod you need to do (something like):
source /usr/local/lmod/lmod/init/bash

Alan


On 6 October 2017 at 17:16, Peleg Bar-Sapir 
<[email protected]<mailto:[email protected]>> wrote:
Hello,

I was following the installation 
instructions<http://easybuild.readthedocs.io/en/latest/Installation.html#bootstrapping-easybuild>,
 but I'm having some issues.
I chose to install Lmod, and up to and including the bootstrap script, 
everything seems to be in order.
When I try to perform the sanity check, I get an error:
$ module use $EASYBUILD_PREFIX/modules/all
$ module load EasyBuild
ModuleCmd_Load.c(208):ERROR:105: Unable to locate a modulefile for 'EasyBuild'

I tried to get where is this code stemming from, but couldn't find any useful 
info, and so I would appreciate any suggestions.

As per the installation issues suggestion (commands in bold for easier reading):

$ python -V
Python 2.7.13

$ type module
module is a function
module ()
{
    eval `/usr/bin/modulecmd $modules_shell $*`
}

$ type -f module
bash: type: module: not found

$ module --version
VERSION=3.2.10
DATE=2012-12-21

AUTOLOADPATH=undef
BASEPREFIX="/usr"
BEGINENV=99
CACHE_AVAIL=undef
DEF_COLLATE_BY_NUMBER=undef
DOT_EXT=""
EVAL_ALIAS=1
HAS_BOURNE_FUNCS=1
HAS_BOURNE_ALIAS=1
HAS_TCLXLIBS=undef
HAS_X11LIBS=undef
LMSPLIT_SIZE=1000
MODULEPATH="/usr/share/modules/modulefiles"
MODULES_INIT_DIR="/usr/Modules/3.2.10/init"
PREFIX="/usr/Modules/3.2.10"
TCL_VERSION="8.6"
TCL_PATCH_LEVEL="8.6.6"
TMP_DIR="/tmp"
USE_FREE=undef
VERSION_MAGIC=1
VERSIONPATH="/usr/share/modules/versions"
WANTS_VERSIONING=1
WITH_DEBUG_INFO=undef

$ module av EasyBuild
ModuleCmd_Avail.c(211):ERROR:107: 'MODULEPATH' not set

$ which -a ./.local/bin/eb
./.local/bin/eb

$ ./.local/bin/eb --version
This is EasyBuild 3.4.0 (framework: 3.4.0, easyblocks: 3.4.0) on host [----].

Best,
Peleg



--
Dr. Alan O'Cais
E-CAM Software Manager
Juelich Supercomputing Centre
Forschungszentrum Juelich GmbH
52425 Juelich, Germany

Phone: +49 2461 61 5213
Fax: +49 2461 61 6656
E-mail: [email protected]<mailto:[email protected]>
WWW:    http://www.fz-juelich.de/ias/jsc/EN


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Reply via email to