This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
******************************************************************************* | |
Build the project: LA_SuperLU | |
******************************************************************************* | |
[*] Configuring the project with (-j1, CONFIG+=shellSuperLU)... | |
qmake-qt4 -makefile LA_SuperLU.pro -r CONFIG+=release CONFIG+=silent CONFIG+=shellCompile customPython=/usr/bin/python3.5 -spec linux-g++ CONFIG+=shellSuperLU | |
Project MESSAGE: If python major is 3; otherwise the suffix is empty. | |
Project MESSAGE: SuperLU | |
[*] Cleaning the project... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------------------------------------- | |
Libraries have been installed in: | |
/home/raymond/builds/mine_python-daetools-svn/20160429/src/trunk/nlopt/build/lib | |
If you ever happen to want to link against installed libraries | |
in a given directory, LIBDIR, you must either use libtool, and | |
specify the full pathname of the library, or use the `-LLIBDIR' | |
flag during linking and do at least one of the following: | |
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable | |
during execution |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[*] Building deal.II... | |
Scanning dependencies of target report_features | |
Scanning dependencies of target expand_instantiations | |
Scanning dependencies of target obj_base.release | |
Scanning dependencies of target obj_functionparser.release | |
Scanning dependencies of target make_dependencies | |
[ 0%] Building CXX object cmake/scripts/CMakeFiles/expand_instantiations.dir/expand_instantiations.cc.o | |
[ 0%] Building CXX object bundled/functionparser/CMakeFiles/obj_functionparser.release.dir/fparser.cc.o | |
[ 0%] Building CXX object cmake/scripts/CMakeFiles/make_dependencies.dir/make_dependencies.cc.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fipy as fp | |
Lx = 1. | |
nx = 1500 | |
dx = Lx/nx | |
mesh = fp.Grid1D(nx=nx, dx=dx) | |
phi = fp.CellVariable(name="elec. potential", mesh=mesh, value=0., | |
hasOld=True) | |
c_m = fp.CellVariable(name="conc.", mesh=mesh, value=1.0, hasOld=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fipy as fp | |
Lx1 = 2e-2 | |
Lx2 = 2e-2 | |
Lx3 = 2e-2 | |
Ly = 3e-3 | |
Lx = Lx1 + Lx2 + Lx3 | |
nx = 20 | |
ny = 10 | |
dx = Lx/nx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fipy as fp | |
Lx = 1. | |
nx = 1000 | |
dx = Lx/nx | |
mesh = fp.Grid1D(nx=nx, dx=dx) | |
phi = fp.CellVariable(name="elec. potential", mesh=mesh, value=0.) | |
c_m = fp.CellVariable(name="conc.", mesh=mesh, value=1.0) | |
#V = -6e-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c, P, D, r, C1, C2 = var('c P D r C1 C2') | |
# Characteristic equation to solve ODE | |
f1(r) = r**2 - P*r- D | |
# Solution for roots | |
print solve(f1(r) == 0, r) | |
# (answer) | |
r1 = 0.5*(P - sqrt(P^2 + 4*D)) | |
r2 = 0.5*(P + sqrt(P^2 + 4*D)) | |
# Function and first derivative | |
csol(x, C1, C2) = C1*exp(r1*x) + C2*exp(r2*x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/daetools-package/daetools/solvers/Linux_x86_64_py26$ ldd pyTrilinos.so | |
linux-vdso.so.1 => (0x00007fff8bdff000) | |
libboost_python-daetools-py26.so.1.52.0 => /home/smithrb/builds/daetools-svn518/usr/lib64/libboost_python-daetools-py26.so.1.52.0 (0x00007fd4cd619000) | |
libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0x00007fd4cd14a000) | |
libboost_system-daetools-py26.so.1.52.0 => /home/smithrb/builds/daetools-svn518/usr/lib64/libboost_system-daetools-py26.so.1.52.0 (0x00007fd4ccf46000) | |
libboost_thread-daetools-py26.so.1.52.0 => /home/smithrb/builds/daetools-svn518/usr/lib64/libboost_thread-daetools-py26.so.1.52.0 (0x00007fd4ccd25000) | |
libboost_filesystem-daetools-py26.so.1.52.0 => /home/smithrb/builds/daetools-svn518/usr/lib64/libboost_filesystem-daetools-py26.so.1.52.0 (0x00007fd4ccb0f000) | |
librt.so.1 => /lib/librt.so.1 (0x00007fd4cc906000) | |
libgfortran.so.3 => /usr/lib/libgfortran.so.3 (0x00007fd4cc61a000) | |
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fd4cc3fe000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[*] Building deal.II... | |
... | |
Scanning dependencies of target obj_dofs.release | |
[ 70%] Building CXX object source/dofs/CMakeFiles/obj_dofs.release.dir/block_info.cc.o | |
[ 70%] Building CXX object source/numerics/CMakeFiles/obj_numerics.release.dir/data_postprocessor.cc.o | |
[ 70%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_bdm.cc.o | |
[ 71%] Building CXX object source/numerics/CMakeFiles/obj_numerics.release.dir/derivative_approximation.cc.o | |
[ 71%] Building CXX object source/dofs/CMakeFiles/obj_dofs.release.dir/dof_accessor.cc.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[*] Building deal.II... | |
Scanning dependencies of target obj_fe.release | |
[ 71%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/block_mask.cc.o | |
[ 71%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/component_mask.cc.o | |
[ 71%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_abf.cc.o | |
[ 71%] Building CXX object source/numerics/CMakeFiles/obj_numerics.release.dir/dof_output_operator.cc.o | |
[ 71%] Building CXX object source/numerics/CMakeFiles/obj_numerics.release.dir/error_estimator.cc.o | |
[ 71%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_bdm.cc.o | |
[ 71%] Building CXX object source/numerics/CMakeFiles/obj_numerics.release.dir/fe_field_function.cc.o |