Show More
@@ -1,25 +1,32 b'' | |||||
1 | c = get_config() |
|
1 | c = get_config() | |
2 |
|
2 | |||
3 |
c.MPI.use = ' |
|
3 | c.MPI.use = '' | |
4 |
|
4 | |||
5 | c.MPI.mpi4py = """from mpi4py import MPI as mpi |
|
5 | c.MPI.mpi4py = """from mpi4py import MPI as mpi | |
6 | mpi.size = mpi.COMM_WORLD.Get_size() |
|
6 | mpi.size = mpi.COMM_WORLD.Get_size() | |
7 | mpi.rank = mpi.COMM_WORLD.Get_rank() |
|
7 | mpi.rank = mpi.COMM_WORLD.Get_rank() | |
8 | """ |
|
8 | """ | |
9 |
|
9 | |||
10 | c.MPI.pytrilinos = """from PyTrilinos import Epetra |
|
10 | c.MPI.pytrilinos = """from PyTrilinos import Epetra | |
11 | class SimpleStruct: |
|
11 | class SimpleStruct: | |
12 | pass |
|
12 | pass | |
13 | mpi = SimpleStruct() |
|
13 | mpi = SimpleStruct() | |
14 | mpi.rank = 0 |
|
14 | mpi.rank = 0 | |
15 | mpi.size = 0 |
|
15 | mpi.size = 0 | |
16 | """ |
|
16 | """ | |
17 |
|
17 | |||
18 | c.Global.log_to_file = False |
|
18 | c.Global.log_to_file = False | |
19 | c.Global.exec_lines = [] |
|
19 | ||
|
20 | c.Global.exec_lines = ['import numpy'] | |||
|
21 | ||||
20 | c.Global.log_dir_name = 'log' |
|
22 | c.Global.log_dir_name = 'log' | |
|
23 | ||||
21 | c.Global.security_dir_name = 'security' |
|
24 | c.Global.security_dir_name = 'security' | |
|
25 | ||||
|
26 | c.Global.log_level = 10 | |||
|
27 | ||||
22 | c.Global.shell_class = 'IPython.kernel.core.interpreter.Interpreter' |
|
28 | c.Global.shell_class = 'IPython.kernel.core.interpreter.Interpreter' | |
23 | self.default_config.Global.furl_file_name = 'ipcontroller-engine.furl' |
|
|||
24 | self.default_config.Global.furl_file = '' |
|
|||
25 |
|
29 | |||
|
30 | c.Global.furl_file_name = 'ipcontroller-engine.furl' | |||
|
31 | ||||
|
32 | c.Global.furl_file = '' |
General Comments 0
You need to be logged in to leave comments.
Login now