Howdy Alastair,
If you are only loading the GCCcore Python module
and not the foss module, you might loading the appropriate
binutils module (binutils/2.31.1-GCCcore-8.2.0) or the
full foss module before doing your 'pip'. That might
help with the assembly errors.
GCCcore modules don't include the binutils.
Jack Perdue
Lead Systems Administrator
High Performance Research Computing
TAMU Division of Research
[email protected] http://hprc.tamu.edu
HPRC Helpdesk: [email protected]
On 7/19/19 12:25 PM, Alastair Neil wrote:
Hi
I am new to easybuild. I just installed version 3.9.3 on a centos
7.6.1810 system. I first built the foss 2019a toolchain using:
> eb foss-2019a.eb -r
This completed with mo obvious issues. I then built python 2.7.15 using:
> eb Python-2.7.15-GCCcore-8.2.0.eb -r
This too seemed to complete without issue.
I then tried to install a module using pip:
> module load Python/2.7.15-GCCcore-8.2.0
> pip -v install pycurl
this dies with:
Command
"/opt/apps/easybuild/software/Python/2.7.15-GCCcore-8.2.0/bin/python
-u -c "import setuptools,
tokenize;__file__='/tmp/pip-install-mX9yps/pycurl/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))"
--with-openssl install --record
/tmp/pip-record-Ui6qsC/install-record.txt
--single-version-externally-managed --compile" failed with error
code 1 in /tmp/pip-install-mX9yps/pycurl/
The issue seems to be an assembler error:
gcc -fno-strict-aliasing -O2 -ftree-vectorize -march=native
-fno-math-errno -fPIC -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fPIC -DPYCURL_VERSION="7.43.0.3" -DHAVE
_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1
-DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1
-I/opt/apps/easybuild/software/Python/2.7.15-GCCcore-8.2.0/include/python2.7
-c src/
easy.c -o build/temp.linux-x86_64-2.7/src/easy.o
/tmp/ccOJ03YM.s: Assembler messages:
/tmp/ccOJ03YM.s:15: Error: unknown .loc sub-directive `view'
/tmp/ccOJ03YM.s:15: Error: junk at end of line, first
unrecognized character is `-'
/tmp/ccOJ03YM.s:17: Error: unknown .loc sub-directive `view'
/tmp/ccOJ03YM.s:17: Error: unknown pseudo-op: `.lvu1'
/tmp/ccOJ03YM.s:20: Error: unknown .loc sub-directive `view'
/tmp/ccOJ03YM.s:20: Error: unknown pseudo-op: `.lvu2'
/tmp/ccOJ03YM.s:23: Error: unknown .loc sub-directive `view'
/tmp/ccOJ03YM.s:23: Error: unknown pseudo-op: `.lvu3'
.... many more similar lines deleted....
any pointers welcome as to how to resolve this.
--Thanks
Alastair