Success!

Here are the results from running parallel.py in the FiPy examples folder.

(pytril) examples: mpirun -np 4 python parallel.py 
mpi4py: processor 0 of 4 :: PyTrilinos: processor 0 of 4 :: FiPy: 4 cells on 
processor 0 of 4
mpi4py: processor 1 of 4 :: PyTrilinos: processor 1 of 4 :: FiPy: 6 cells on 
processor 1 of 4
mpi4py: processor 3 of 4 :: PyTrilinos: processor 3 of 4 :: FiPy: 6 cells on 
processor 3 of 4
mpi4py: processor 2 of 4 :: PyTrilinos: processor 2 of 4 :: FiPy: 6 cells on 
processor 2 of 4

Thanks!

Bill Seufzer, PhD
NASA Langley Research Center

> On Aug 25, 2017, at 12:54 PM, Guyer, Jonathan E. Dr. (Fed) 
> <jonathan.gu...@nist.gov> wrote:
> 
> OK, multiple things are messed up here and I'm not sure any of them are 
> related to Apple possibly moving things. 
> 
> Things should work on Mac OS X and Linux with:
> 
>  conda create --name <MYFIPYENV> --channel guyer --channel conda-forge fipy 
> nomkl
> 
> 
> 
> Note, this does not work on Windows. On that platform, you should be able to 
> do:
> 
>  conda create --name <MYFIPYENV> --channel guyer --channel conda-forge python 
> numpy scipy matplotlib mayavi
>  source activate <MYFIPYENV>
>  pip install fipy
> 
> There are presently no conda packages of any solver suite but scipy available 
> for Windows.
> 
> 
>> On Aug 22, 2017, at 12:03 PM, Guyer, Jonathan E. Dr. (Fed) 
>> <jonathan.gu...@nist.gov> wrote:
>> 
>> 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) 
>>> <bill.seuf...@nasa.gov> 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 "<stdin>", line 1, in <module>
>>> File 
>>> "/Users/wseufzer/anaconda3/envs/pytril/lib/python2.7/site-packages/PyTrilinos/Epetra.py",
>>>  line 78, in <module>
>>>  _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 ]
> 
> 
> _______________________________________________
> 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 ]

Reply via email to