Re: PyTrilinos import error Mac OS

2017-08-22 Thread Guyer, Jonathan E. Dr. (Fed)
Apple moved something between 10.11 and 10.12. It looks like my rebuild for 
10.12 from a few weeks ago broke 10.11. I'll have to figure out how to post 
both versions (and rebuild the 10.11 version at all).


> On Aug 22, 2017, at 9:58 AM, Seufzer, William J. (LARC-D307) 
>  wrote:
> 
> I get the following error on Mac OS 10.11.6 (Xcode 8.2.1 w/ command line 
> tools installed). I used:
> 
> conda create --name pytril --channel guyer --channel condo-forge fipy
> 
> to create the environment (BTW, thanks for setting that up!!)
> 
> Father Google doesn’t seem to be of any help on this one.
> 
> The error:
> 
> (pytril) ~: python
> Python 2.7.13 | packaged by conda-forge | (default, May  2 2017, 13:29:36) 
> [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
 from mpi4py import MPI
 from PyTrilinos import Epetra
> Traceback (most recent call last):
>  File "", line 1, in 
>  File 
> "/Users/wseufzer/anaconda3/envs/pytril/lib/python2.7/site-packages/PyTrilinos/Epetra.py",
>  line 78, in 
>_Epetra = swig_import_helper()
>  File 
> "/Users/wseufzer/anaconda3/envs/pytril/lib/python2.7/site-packages/PyTrilinos/Epetra.py",
>  line 74, in swig_import_helper
>_mod = imp.load_module('_Epetra', fp, pathname, description)
> ImportError: 
> dlopen(/Users/wseufzer/anaconda3/envs/pytril/lib/python2.7/site-packages/PyTrilinos/_Epetra.so,
>  258): Symbol not found: _cgesv_
>  Referenced from: 
> /Users/wseufzer/anaconda3/envs/pytril/lib/python2.7/site-packages/PyTrilinos/../../..//libteuchosnumerics.11.dylib
>  Expected in: 
> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
> in 
> /Users/wseufzer/anaconda3/envs/pytril/lib/python2.7/site-packages/PyTrilinos/../../..//libteuchosnumerics.11.dylib
 
> 
> I’m on a centrally managed Mac, so OS update is not an option. Xcode, gcc, 
> and Conda install are under my control.
> 
> Thanks,
> 
> Bill
> 
> ___
> 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 ]


PyTrilinos import error Mac OS

2017-08-22 Thread Seufzer, William J. (LARC-D307)
I get the following error on Mac OS 10.11.6 (Xcode 8.2.1 w/ command line tools 
installed). I used:

conda create --name pytril --channel guyer --channel condo-forge fipy

to create the environment (BTW, thanks for setting that up!!)

Father Google doesn’t seem to be of any help on this one.

The error:

(pytril) ~: python
Python 2.7.13 | packaged by conda-forge | (default, May  2 2017, 13:29:36) 
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from mpi4py import MPI
>>> from PyTrilinos import Epetra
Traceback (most recent call last):
  File "", line 1, in 
  File 
"/Users/wseufzer/anaconda3/envs/pytril/lib/python2.7/site-packages/PyTrilinos/Epetra.py",
 line 78, in 
_Epetra = swig_import_helper()
  File 
"/Users/wseufzer/anaconda3/envs/pytril/lib/python2.7/site-packages/PyTrilinos/Epetra.py",
 line 74, in swig_import_helper
_mod = imp.load_module('_Epetra', fp, pathname, description)
ImportError: 
dlopen(/Users/wseufzer/anaconda3/envs/pytril/lib/python2.7/site-packages/PyTrilinos/_Epetra.so,
 258): Symbol not found: _cgesv_
  Referenced from: 
/Users/wseufzer/anaconda3/envs/pytril/lib/python2.7/site-packages/PyTrilinos/../../..//libteuchosnumerics.11.dylib
  Expected in: 
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
 in 
/Users/wseufzer/anaconda3/envs/pytril/lib/python2.7/site-packages/PyTrilinos/../../..//libteuchosnumerics.11.dylib
>>> 

I’m on a centrally managed Mac, so OS update is not an option. Xcode, gcc, and 
Conda install are under my control.

Thanks,

Bill

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