Skip to content

python does not have cPickle module on SuSe13 #2253

@davydden

Description

@davydden

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions