use --no_package_manager

With this you'll need to make sure you have all the other libraries and packages installed. The script will spit out a list of everything you need and will return an error if something is missing i believe

On Thu, Mar 30, 2017 at 9:08 PM, Francis Poulin <fpoulin@uwaterloo.ca> wrote:
Justin,

Yes, that is a much simpler idea I agree.  Thanks.

I removed my PETSC_DIR and honour the python path but not get another problem.

I am running this on CENTos and it would appear that apt-get is not present. 

I remember someone saying that you can install firedrake has been installed on Centos.  Is it possible to do it without apt-get or is there something I'm missing?

$ python firedrake-install --honour-pythonpath
Traceback (most recent call last):
  File "firedrake-install", line 1024, in <module>
    check_call(["apt-get", "--version"])
  File "firedrake-install", line 369, in check_call
    subprocess.check_call(arguments, env=env)
  File "/opt/sharcnet/python/2.7.8/intel/lib/python2.7/subprocess.py", line 535, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/opt/sharcnet/python/2.7.8/intel/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/opt/sharcnet/python/2.7.8/intel/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/opt/sharcnet/python/2.7.8/intel/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Francis


------------------
Francis Poulin                    
Associate Professor
Department of Applied Mathematics
University of Waterloo

email:           fpoulin@uwaterloo.ca
Web:            https://uwaterloo.ca/poulin-research-group/
Telephone:  +1 519 888 4567 x32637


From: firedrake-bounces@imperial.ac.uk [firedrake-bounces@imperial.ac.uk] on behalf of Justin Chang [jychang48@gmail.com]
Sent: Thursday, March 30, 2017 9:54 PM
To: Firedrake Project
Subject: Re: [firedrake] installing firedrake on a cluster

Francis,

Why don't you just unset the PETSC_DIR environment variable when you install firedrake on your cluster? Or do you plan on using the existing PETSc for your firedrake?

Justin

On Thu, Mar 30, 2017 at 8:47 PM, Francis Poulin <fpoulin@uwaterloo.ca> wrote:
Hello,

I started trying to install firedrake on a cluster and I have some rather silly problems.

First, it won't install because PYTHONPATH is installed.  That's easy to resolve since I can ask it to honour the python path and then it goes forward.

Second, it notices that there is a PETSc directory.  I am pretty sure that I won't the install script to build petsc and not use what's there. 

IS there a way to get it to ignore both of these?  I tried

PYTHONPATH=''

but that didn't seem to help for the first part so I don't imagine it will help much for the second.

The good news is that the default python is 2.7.8

Any advice would be greatly appreciated to get by the python and petsc path's already set?

Cheers, Francis


------------------
Francis Poulin                    
Associate Professor
Department of Applied Mathematics
University of Waterloo

email:           fpoulin@uwaterloo.ca
Web:            https://uwaterloo.ca/poulin-research-group/
Telephone:  +1 519 888 4567 x32637


_______________________________________________
firedrake mailing list
firedrake@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake



_______________________________________________
firedrake mailing list
firedrake@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake