Re: [firedrake] installation Linux
Hi Floriane, It looks like you are trying to use the automatic package installation features on a linux distribution which is not based on apt. Which distro is this? Is it CentOS (like many of the Leeds machines)? If so, you should call: firedrake-install --no-package-manager In that case, you need to ensure that the following packages are installed: * 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 * CMake * libspatialindex and headers * zlib Regards, David On Tue, 10 May 2016 at 07:59 Floriane Gidel [RPG] <mmfg@leeds.ac.uk> wrote:
Dear all,
I am working on a Linux machine on which the IT team tried to install Firedrake, but got the following error:
Traceback (most recent call last): File "firedrake-install", line 766, in <module> check_call(["apt-get", "--version"]) 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
Do you know what the issue is?
Best,
Floriane
Hi David, Thanks for your reply. I am now based at MARIN where I work on a machine with Scientific Linux release 7.2 (Nitrogen). Which packages do I need in that case? Best, Floriane ________________________________ De : firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> de la part de David Ham <David.Ham@imperial.ac.uk> Envoyé : mardi 10 mai 2016 08:53:38 À : firedrake Objet : Re: [firedrake] installation Linux Hi Floriane, It looks like you are trying to use the automatic package installation features on a linux distribution which is not based on apt. Which distro is this? Is it CentOS (like many of the Leeds machines)? If so, you should call: firedrake-install --no-package-manager In that case, you need to ensure that the following packages are installed: * 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 * CMake * libspatialindex and headers * zlib Regards, David On Tue, 10 May 2016 at 07:59 Floriane Gidel [RPG] <mmfg@leeds.ac.uk<mailto:mmfg@leeds.ac.uk>> wrote: Dear all, I am working on a Linux machine on which the IT team tried to install Firedrake, but got the following error: Traceback (most recent call last): File "firedrake-install", line 766, in <module> check_call(["apt-get", "--version"]) 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 Do you know what the issue is? Best, Floriane
On 10/05/16 09:34, Floriane Gidel [RPG] wrote:
Hi David,
Thanks for your reply. I am now based at MARIN where I work on a machine with Scientific Linux release 7.2 (Nitrogen). Which packages do I need in that case?
The same as on CentOS (SL is basically the same, just with a different badge). I'm not sure what those are called. They probably have very similar names to the packages on ubuntu. Lawrence
Ok, thanks! Floriane ________________________________________ De : firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> de la part de Lawrence Mitchell <lawrence.mitchell@imperial.ac.uk> Envoyé : mardi 10 mai 2016 09:42:37 À : firedrake@imperial.ac.uk Objet : Re: [firedrake] installation Linux On 10/05/16 09:34, Floriane Gidel [RPG] wrote:
Hi David,
Thanks for your reply. I am now based at MARIN where I work on a machine with Scientific Linux release 7.2 (Nitrogen). Which packages do I need in that case?
The same as on CentOS (SL is basically the same, just with a different badge). I'm not sure what those are called. They probably have very similar names to the packages on ubuntu. Lawrence
Dear all, The IT team is still struggling to install Firedrake on the linux machine. This is the error that they get: root@lin0320 ~ # firedrake-install --no-package-manager -bash: firedrake-install: command not found root@lin0320 ~ # 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 * CMake * libspatialindex and headers * zlib Installing virtualenv. Traceback (most recent call last): File "firedrake-install", line 813, in <module> check_call(["pip", "install", "--user", "virtualenv"]) 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 Do you have any suggestion? Thanks, Floriane ________________________________________ De : firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> de la part de Floriane Gidel [RPG] <mmfg@leeds.ac.uk> Envoyé : mardi 10 mai 2016 09:46:54 À : firedrake@imperial.ac.uk Objet : Re: [firedrake] installation Linux Ok, thanks! Floriane ________________________________________ De : firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> de la part de Lawrence Mitchell <lawrence.mitchell@imperial.ac.uk> Envoyé : mardi 10 mai 2016 09:42:37 À : firedrake@imperial.ac.uk Objet : Re: [firedrake] installation Linux On 10/05/16 09:34, Floriane Gidel [RPG] wrote:
Hi David,
Thanks for your reply. I am now based at MARIN where I work on a machine with Scientific Linux release 7.2 (Nitrogen). Which packages do I need in that case?
The same as on CentOS (SL is basically the same, just with a different badge). I'm not sure what those are called. They probably have very similar names to the packages on ubuntu. Lawrence _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
participants (3)
-
David Ham
-
Floriane Gidel [RPG]
-
Lawrence Mitchell