spack: python does not have cPickle module on SuSe13
update:
it looks like there is a problem with python built by spack, see below.
those who use python, do you know what could be the problem with cPickle module missing in Python built by Spack:
cat /tmp/iwtm009/spack-stage/spack-stage-mrG47q/petsc-3.7.4/spack-build.out
<bound method Petsc.install of <spack.pkg.builtin.petsc.Petsc object at 0x71e99d0>>
==> './configure' '--prefix=/calculate/spack/opt/spack/linux-SuSE13-x86_64/gcc-4.8/petsc-3.7.4-twnt2hfl2dulrsetdkr4ulfvnkh43tkq' '--with-ssl=0' '--download-c2html=0' '--download-hwloc=0' '--with-mpi=1' '--with-mpi-dir=/calculate/spack/opt/spack/linux-SuSE13-x86_64/gcc-4.8/openmpi-2.0.1-osy2cutkplq4i4iwbam2etf573axq3bv' '--with-cpp=cpp' '--with-cxxcpp=cpp' '--with-precision=double' '--with-scalar-type=real' '--with-shared-libraries=1' '--with-debugging=0' '--with-blas-lapack-lib=/calculate/spack/opt/spack/linux-SuSE13-x86_64/gcc-4.8/openblas-0.2.19-td2nztpmot3lngv4cmistsibu3p6zcx6/lib/libopenblas.so' '--with-metis=1' '--with-metis-dir=/calculate/spack/opt/spack/linux-SuSE13-x86_64/gcc-4.8/metis-5.1.0-uri2t4x6h26d4q3rpf4cjln46dw3cmzv' '--with-boost=0' '--with-hdf5=1' '--with-hdf5-dir=/calculate/spack/opt/spack/linux-SuSE13-x86_64/gcc-4.8/hdf5-1.10.0-patch1-r5lcom3ltwcc3jdpmk2dlf4zy4ntaz5h' '--with-hypre=1' '--with-hypre-dir=/calculate/spack/opt/spack/linux-SuSE13-x86_64/gcc-4.8/hypre-2.11.1-d72uxnfitqiybgdvl3a5hxusrvq3u3vq' '--with-parmetis=1' '--with-parmetis-dir=/calculate/spack/opt/spack/linux-SuSE13-x86_64/gcc-4.8/parmetis-4.0.3-bbpmfqbjcyufac3mtbjmiwghxausiydj' '--with-mumps=1' '--with-mumps-dir=/calculate/spack/opt/spack/linux-SuSE13-x86_64/gcc-4.8/mumps-5.0.2-m3bcskvwe5hnrkylnwsklmre7qpsibpf' '--with-scalapack=1' '--with-scalapack-dir=/calculate/spack/opt/spack/linux-SuSE13-x86_64/gcc-4.8/netlib-scalapack-2.0.2-l5n4cd5yctjn4zi2s5obb2lpn4tvbhqm' '--with-superlu_dist-include=/calculate/spack/opt/spack/linux-SuSE13-x86_64/gcc-4.8/superlu-dist-5.1.1-xhleqgylzdhciku66dhro2s7d6k6vz24/include' '--with-superlu_dist-lib=/calculate/spack/opt/spack/linux-SuSE13-x86_64/gcc-4.8/superlu-dist-5.1.1-xhleqgylzdhciku66dhro2s7d6k6vz24/lib/libsuperlu_dist.a' '--with-superlu_dist=1'
===============================================================================
Configuring PETSc to compile on your system
===============================================================================
Traceback (most recent call last):
File "./configure", line 10, in <module>
execfile(os.path.join(os.path.dirname(__file__), 'config', 'configure.py'))
File "./config/configure.py", line 496, in <module>
petsc_configure([])
File "./config/configure.py", line 396, in petsc_configure
import config.base
File "/tmp/iwtm009/spack-stage/spack-stage-mrG47q/petsc-3.7.4/config/BuildSystem/config/base.py", line 60, in <module>
import script
File "/tmp/iwtm009/spack-stage/spack-stage-mrG47q/petsc-3.7.4/config/BuildSystem/script.py", line 6, in <module>
import cPickle
ImportError: No module named cPickle
?
Do you think it’s PETSc issue or Python built by Spack? Anyone tried bulding petsc with Spack on SuSE13?
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 16 (16 by maintainers)
Commits related to this issue
- Python command, libraries, and headers (#3367) ## Motivation Python installations are both important and unfortunately inconsistent. Depending on the Python version, OS, and the strength of the Ea... — committed to spack/spack by adamjstewart 10 years ago
- Python command, libraries, and headers (#3367) ## Motivation Python installations are both important and unfortunately inconsistent. Depending on the Python version, OS, and the strength of the Ea... — committed to diaena/spack by adamjstewart 10 years ago
- Python command, libraries, and headers (#3367) ## Motivation Python installations are both important and unfortunately inconsistent. Depending on the Python version, OS, and the strength of the Ea... — committed to xavierandrade/spack by adamjstewart 10 years ago
- Python command, libraries, and headers (#3367) ## Motivation Python installations are both important and unfortunately inconsistent. Depending on the Python version, OS, and the strength of the Ea... — committed to EmreAtes/spack by adamjstewart 10 years ago
this worked! I will create a PR to do that extra step during installation…
does not this mean that we are missing some dependencies in
python, i.e. rely on some additional system packages to be available?@christianbaensch @davydden I think you need to inspect closely the
build.outofpython. I encountered a similar case where theurllibmodule in aspackbuilt python was severely flawed on arhelmachine because some*-develsystem package was missing.I would try some experimentation. Run the Python you think it’s getting and try ‘import cPickle’. This is really strange, `cPickle’ is a standard part of Python2.
Or… just use your System Python.
On Tue, Nov 8, 2016 at 4:07 AM, Denis Davydov notifications@github.com wrote: