Hi Carlos,

Thank you for your quick response and indeed that resolves the issue.
My impression was that this was already defined by easybuild and now it just 
gets appended.
Now, when I look the commented line above it assigns the configopts.

Best regards,
Robert

From: [email protected] <[email protected]> On 
Behalf Of Carlos Fenoy
Sent: Monday, 23 November 2020 18:16
To: easybuild <[email protected]>
Subject: Re: [easybuild] Name 'configopts' is not defined

Hi Robert,

It seems your problem seems to be the '+' sign before the assignment. As the 
error mentions "configopts" is not defined before your uncommented line and you 
are trying to append to it.

Simply try with:
configopts = '--with-slurm --with-pmi=/usr/include/slurm --with-pmi-libdir=/usr'

Regards,
Carlos

On Mon, Nov 23, 2020 at 5:48 PM Robert MIJAKOVIC 
<[email protected]<mailto:[email protected]>> wrote:
Hi guys,

I’m running EasyBuild 3.4.1 and tried to customize the OpenMPI 4.0.3 easy 
config by enabling SLURM integration by uncommenting:
configopts += '--with-slurm --with-pmi=/usr/include/slurm 
--with-pmi-libdir=/usr'

However, when I do it, I get the following error:
ERROR: Failed to process easyconfig 
/mnt/test-fs-1/homes/rmijakovic/easyconfigs/OpenMPI-4.0.3-GCC-9.3.0.eb: Parsing 
easyconfig file failed: name 'configopts' is not defined (line 26)

Any idea what I did wrong?

Easybuild is configured as follows:
…
buildpath            (F) = /mnt/test-fs-1/opt/apps/USE/2020-11-20-v0.1.b4/build
containerpath        (F) = /mnt/test-fs-1/opt/apps/containers
installpath          (F) = /mnt/test-fs-1/opt/apps/USE/2020-11-20-v0.1.b4
job                  (F) = True
job-backend          (F) = Slurm
module-naming-scheme (F) = CategorizedHMNS
repositorypath       (F) = /mnt/test-fs-1/opt/apps/ebfiles_repo
robot-paths          (F) = /mnt/test-fs-1/homes/rmijakovic/easyconfigs/, 
/mnt/test-fs-1/opt/apps/EasyBuild/software/EasyBuild/4.3.1/easybuild/easyconfigs
sourcepath           (F) = /mnt/test-fs-1/opt/apps/sources

BTW, any news on when FOSS-2020b is going to be available?

Thank you in advance for your time.

Best regards and stay healthy,
Robert

Robert Mijaković | HPC System Software Architect

LuxProvide
3, Op der Poukewiss | L-7795 Bissen
Grand-Duchy of Luxembourg
M (+352) 691 396 474
[email protected]<mailto:[email protected]> | 
www.luxprovide.lu<http://www.luxprovide.lu/>

Reply via email to