cmake \
-D CMAKE_BUILD_TYPE:STRING=RELEASE \
-D Trilinos_ENABLE_PyTrilinos:BOOL=ON \
-D BUILD_SHARED_LIBS:BOOL=ON \
-D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
-D TPL_ENABLE_MPI:BOOL=ON \
-D MPI_BASE_DIR:PATH=${ANACONDA} \
-D Trilinos_ENABLE_TESTS:BOOL=ON \
-D DART_TESTING_TIMEOUT:STRING=600 \
-D CMAKE_INSTALL_PREFIX:PATH=${ANACONDA} \
-D PyTrilinos_INSTALL_PREFIX:PATH=${ANACONDA} \
${PREFIX}
works for me under conda.
On Mar 2, 2015, at 4:21 PM, [email protected] wrote:
> Dear Fipy Developers,
>
> When I try to test the parallel running by $ mpirun -np 3 python
> examples/parallel.py. I got the following error massage.
>
> from PyTrilinos import Epetra
> ImportError: No module named PyTrilinos
>
> If I understand correctly, Trilinos is a huge package with many
> sub-packages(including PyTrilions and Epetra). I do not want to install
> all of the Trilinos. So, I am wondering if there is the list of minimum
> required packages for parallel running regarding the Trilinos?
>
> Thanks
> Ronghai
>
> _______________________________________________
> fipy mailing list
> [email protected]
> http://www.ctcms.nist.gov/fipy
> [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
[ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]