HI Alan,

Thanks for the tip! I didn't remember the "modaltsoftname" option and using
it worked fine and I could build the module.

I guess you are right and my easyconfig modifications were breaking the
EBROOTPYTHON env var which probably is used by the numpy easyblock.

Thanks!
Pablo.

2018-01-12 9:27 GMT+01:00 Alan O'Cais <[email protected]>:

> Hmm, I wonder if you would be better off using modaltsoftname rather than
> changing the name of the software, your approach could kick off some
> problems with EBROOTPYTHON perhaps?
>
> Alan
>
> On 11 January 2018 at 13:12, Pablo Escobar Lopez <
> [email protected]> wrote:
>
>> Hi,
>>
>> One of my users needs to load both python2 and python3 modules together
>> so I tried to install a custom python3 module named Python3. The main
>> modification I did in the easyconfig are:
>>
>> easyblock = 'EB_Python'
>> name = 'Python3'
>> sources = ['Python-%(version)s.tgz']
>>
>> The main installation of python3 works ok but in the extensions part I
>> have a weird problem when building numpy
>>
>> "gcc: error: unrecognized command line option ‘-fstack-protector-strong’"
>> "cmd "/bin/python2 setup.py config" exited with exitcode 1 and output"
>>
>> This is the full log:
>> https://gist.github.com/anonymous/8e4b0f91b6d4a264c8628f6c63f25114
>>
>> any explanation about why the system python2 binary is being used? Any
>> suggestion about how to solve it?
>>
>> Do you recommend a different approach to be able to load both python2 and
>> python3 modules together?
>>
>> regards,
>> Pablo.
>>
>>
>> --
>> Pablo Escobar López
>> HPC systems engineer
>> sciCORE, University of Basel
>> SIB Swiss Institute of Bioinformatics
>> http://scicore.unibas.ch
>>
>
>
>
> --
> Dr. Alan O'Cais
> E-CAM Software Manager
> Juelich Supercomputing Centre
> Forschungszentrum Juelich GmbH
> 52425 Juelich, Germany
>
> Phone: +49 2461 61 5213 <+49%202461%20615213>
> Fax: +49 2461 61 6656 <+49%202461%20616656>
> E-mail: [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
> ------------------------------------------------------------
> ------------------------------------
> ------------------------------------------------------------
> ------------------------------------
>
>


-- 
Pablo Escobar López
HPC systems engineer
sciCORE, University of Basel
SIB Swiss Institute of Bioinformatics
http://scicore.unibas.ch

Reply via email to