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 
<pablo.escobarlo...@unibas.ch<mailto:pablo.escobarlo...@unibas.ch>> 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
Fax: +49 2461 61 6656
E-mail: a.oc...@fz-juelich.de<mailto:a.oc...@fz-juelich.de>
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