Ok, thank you David.


Regards,

Floriane


De : firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> de la part de David Ham <David.Ham@imperial.ac.uk>
Envoyé : lundi 8 août 2016 16:28:31
À : firedrake
Objet : Re: [firedrake] Installing firedrake without internet connection
 
Hi Floriane,

I'm afraid that what firedrake-install does is downloads and builds firedrake and all its components so it's not going to work without internet access. Also note that firedrake-update works by downloading updates to firedrake so even if you manage to install once with no network, updating is not going to work.

Now, what you in principle can do is manually set up all the dependencies of firedrake on the cluster (assuming you can find a way of copying them to the cluster) and then build everything in a virtualenv yourself, but this is not going to be a lot of fun.

You should also be aware that cluster environments are somewhat different from the usual PC environment. You in particular need to make sure you pick up the officially blessed MPI implementation in order to access the high speed network correctly. It may also be necessary to load environment modules or take other steps in order to access the right compilers, Python or even git.

Regards,

David



On Mon, 8 Aug 2016 at 16:06 Floriane Gidel [RPG] <mmfg@leeds.ac.uk> wrote:

Dear all,


Is it possible to install Firedrake without internet connection ? I managed to get the firedrake-install file, and I get the following error when running it:


[fgidel@marclus3login2 ~]$ python firedrake-install --no-package-manager
apt-get not found or disabled. Proceeding on the rash assumption that your compiled dependencies are in place.
If this is not the case, please install the following and try again:
* A C and C++ compiler (for example gcc/g++ or clang), GNU make
* A Fortran compiler (for PETSc)
* MPI
* Blas and Lapack
* Git, Mercurial
* Python version 2.7
* pip and the Python headers
* autoconf, automake, libtool
* CMake
* zlib
Creating firedrake virtualenv.
/home/fgidel/firedrake/bin/pip install -U pip

Requirement already up-to-date: pip in ./firedrake/lib/python2.7/site-packages
Cloning firedrake

Failed to clone firedrake using ssh, falling back to https.
Traceback (most recent call last):
  File "firedrake-install", line 857, in <module>
    git_clone("git+https://github.com/firedrakeproject/firedrake.git")
  File "firedrake-install", line 285, in git_clone
    check_call(["git", "clone", "-q", "-b", branch, git_url(plain_url, "https")])
  File "firedrake-install", line 205, in check_call
    subprocess.check_call(arguments, env=env)
  File "/usr/lib64/python2.7/subprocess.py", line 537, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib64/python2.7/subprocess.py", line 524, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


I know that the cluster on which I am trying to install it has no access to internet. Is it the reason for the error ? How could I manage to install firedrake despite that ?


Thanks and best regards,

Floriane