Re: bug in solvers/scipy/linearLUSolver.py

2017-11-09 Thread James Pringle
update -- as of scipy 0.19, linalg.splu had a depreciated option "drop_tol"
which did nothing:
https://docs.scipy.org/doc/scipy-0.19.1/reference/generated/generated/scipy.sparse.linalg.splu.html

As of version 1.0, the keyword seems to have been dropped entirely, and
should be removed from linearLUSolver.py. It had not done anything, and so
can be removed.

This is the only place this keyword exists.

Jamie

On Thu, Nov 9, 2017 at 6:16 PM, James Pringle  wrote:

> Dear all --
>
> I just installed fipy from the conda channel with a fresh install of
> anaconda. It is based on python 2.7.14. When I run with the scipy solver it
> crashes with
>
>   File "/home/pringle/anaconda3/envs/MYFIPYENV27/lib/python2.7/
> site-packages/fipy/solvers/scipy/linearLUSolver.py", line 64, in _solve_
> permc_spec=3)
> TypeError: splu() got an unexpected keyword argument 'drop_tol'
>
>
> splu is loaded from scipy.sparse.linalg, and indeed it does not have the
> drop_tol keyword. When I remove the drop_tol keyword, it appears to run as
> intended, and produce good solutions for my problem.
>
> However, I am not sure that is the optimal solution...
>
> Jamie Pringle
>
___
fipy mailing list
fipy@nist.gov
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]


bug in solvers/scipy/linearLUSolver.py

2017-11-09 Thread James Pringle
Dear all --

I just installed fipy from the conda channel with a fresh install of
anaconda. It is based on python 2.7.14. When I run with the scipy solver it
crashes with

  File
"/home/pringle/anaconda3/envs/MYFIPYENV27/lib/python2.7/site-packages/fipy/solvers/scipy/linearLUSolver.py",
line 64, in _solve_
permc_spec=3)
TypeError: splu() got an unexpected keyword argument 'drop_tol'


splu is loaded from scipy.sparse.linalg, and indeed it does not have the
drop_tol keyword. When I remove the drop_tol keyword, it appears to run as
intended, and produce good solutions for my problem.

However, I am not sure that is the optimal solution...

Jamie Pringle
___
fipy mailing list
fipy@nist.gov
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]


Re: fipy python 2.7

2017-11-09 Thread James Pringle
Worked fine.
Thank you, and apologize for the noise
Jamie

On Thu, Nov 9, 2017 at 3:44 AM, Benny Malengier 
wrote:

> I suppose the normal way adding  python=2.7
> to the conda arguments was tried and did not work?
>
> 2017-11-08 23:01 GMT+01:00 James Pringle :
>
>> Dear all -- (but mainly Daniel Wheeler, I guess)
>>
>>I am in the midst of finishing up a paper, but am trying to transition
>> to a new workstation. I have always installed fipy with
>>
>> conda create --name  --channel guyer --channel conda-forge fipy 
>> nomkl
>>
>>
>> and now, under anaconda, it installs fipy 3.1.3 with python 3.6.3. Is
>> there anyway to use conda to install it under python 2.7? I have nothing
>> against upgrading to python 3.6 -- but not as a finish a manuscript
>>
>> This is not urgent -- I have my old setup. But if there was any easy way
>> to use conda to install a new copy of fipy under python 2.7 until the paper
>> is out the door, that would be great.
>>
>> Thanks,
>> Jamie
>>
>> ___
>> fipy mailing list
>> fipy@nist.gov
>> http://www.ctcms.nist.gov/fipy
>> 
>>   [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy
>> 
>> ]
>>
>>
>
___
fipy mailing list
fipy@nist.gov
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]


Re: fipy python 2.7

2017-11-09 Thread Benny Malengier
I suppose the normal way adding  python=2.7
to the conda arguments was tried and did not work?

2017-11-08 23:01 GMT+01:00 James Pringle :

> Dear all -- (but mainly Daniel Wheeler, I guess)
>
>I am in the midst of finishing up a paper, but am trying to transition
> to a new workstation. I have always installed fipy with
>
> conda create --name  --channel guyer --channel conda-forge fipy 
> nomkl
>
>
> and now, under anaconda, it installs fipy 3.1.3 with python 3.6.3. Is
> there anyway to use conda to install it under python 2.7? I have nothing
> against upgrading to python 3.6 -- but not as a finish a manuscript
>
> This is not urgent -- I have my old setup. But if there was any easy way
> to use conda to install a new copy of fipy under python 2.7 until the paper
> is out the door, that would be great.
>
> Thanks,
> Jamie
>
> ___
> fipy mailing list
> fipy@nist.gov
> http://www.ctcms.nist.gov/fipy
>   [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
>
>
___
fipy mailing list
fipy@nist.gov
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]