(Related to this question:
http://fenicsproject.org/pipermail/fenics-support/2015-February/001231.html
)

Hello,

I downloaded fenics-install.sh but I once again get the following error
when I try to run it (I had to change the cluster I'm working on):









*Starting build...Downloading
http://python.org/ftp/python/2.7.9/Python-2.7.9.tgz.
<http://python.org/ftp/python/2.7.9/Python-2.7.9.tgz.>..[ERROR] urllib
failed to download (reason: [Errno 8] _ssl.c:504: EOF occurred in violation
of protocol): http://python.org/ftp/python/2.7.9/Python-2.7.9.tgz
<http://python.org/ftp/python/2.7.9/Python-2.7.9.tgz>Downloading
http://python.org/ftp/python/2.7.9/Python-2.7.9.tgz.
<http://python.org/ftp/python/2.7.9/Python-2.7.9.tgz.>..[ERROR] urllib
failed to download (reason: [Errno 8] _ssl.c:504: EOF occurred in violation
of protocol): http://python.org/ftp/python/2.7.9/Python-2.7.9.tgz
<http://python.org/ftp/python/2.7.9/Python-2.7.9.tgz>Downloading
http://python.org/ftp/python/2.7.9/Python-2.7.9.tgz.
<http://python.org/ftp/python/2.7.9/Python-2.7.9.tgz.>..[ERROR] urllib
failed to download (reason: [Errno 8] _ssl.c:504: EOF occurred in violation
of protocol): http://python.org/ftp/python/2.7.9/Python-2.7.9.tgz
<http://python.org/ftp/python/2.7.9/Python-2.7.9.tgz>[CRITICAL] You may
wish to check your Internet connection or the remote server*


Based on the remark from Jan pointing to this link:
https://github.com/hashdist/hashdist/issues/83 , I tried to change the
python version used to download urllib by changing the PATH and PYTHONPATH
in install.sh to point them to a different python version from the cluster.
It didn't work.

Then, I tried to have a python module loaded by changing - as suggested by
Johannes - the default.yaml as follows to force to use a different version:






















































*extends:- file: linux.yamlparameters:  PROLOGUE: |    export
MODULEPATH=/usr/share/Modules/modulefiles; echo "loading modules"; use -l
python-2.7.3# The packages list specifies all the packages that you#
require installed.  <#> will ensure that all packages# and their
dependencies are installed when you build this# profile.packages:
launcher:  cmake:  python:    link: shared  mpi:    use: mpich  blas:
use: openblas lapack:    use: openblas  hypre:    with_openblas: true
without_check: true  petsc:    build_with: |      openblas, parmetis,
scotch, suitesparse, superlu_dist, hypre    download: |      mumps,
scalapack, blacs, ml    coptflags: -O2    link: shared    debug: false
swig:  boost:    toolset: gcc    address_model: 64    build_with: python
ipython:  matplotlib:  ffc:  fiat:  instant:  ufl:  uflacs:  dolfin:
build_with: |      openblas, hdf5, parmetis, petsc, petsc4py, suitesparse,
scotch, slepc, slepc4py, zlib  mpi4py:  mshr:*

The error stays the same although I checked calling "which python" that the
python version used has changed (2.7.3 instead of 2.6.6)

So I am starting to wonder if this error really comes from the python
version...

Any thoughts?

Thanks a lot!
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to