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
""" | |
mpi4py Hello World | |
""" | |
from mpi4py import MPI | |
import sys | |
MPI_COMM = MPI.COMM_WORLD | |
size = MPI_COMM.Get_size() | |
rank = MPI_COMM.Get_rank() |
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
= History overview for case 'i1' (#1/1) = | |
= w17x17_enr4.5_mod0.71_pwr41_mtu1, 1 MTU: IRRAD+DECAY 1 = | |
------------------------------------------------------------------------------------------------------------------------- | |
step t0 t1 dt t flux fluence power energy | |
(-) (d) (d) (s) (s) (n/cm2-s) (n/cm2) (MW) (MWd) | |
1 0.0000E+00 1.0615E+03 9.1710E+07 9.1710E+07 3.5180E+14 3.2263E+22 4.1000E+01 4.3520E+04 | |
= History overview for case 'i1' (#1/1) = | |
= w17x17_enr4.5_mod0.71_pwr41_mtu10, 10 MTU: IRRAD+DECAY 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
opy_eats_macaron ~/cyclus/testing $ cymetric test_gr.sqlite -e "from cymetric import cycamore_root_metrics; print(AgentState_cycamore_GrowthRegionInfo[:])" | |
/home/opy/.local/lib/python2.7/site-packages/cymetric/metrics.py:10: QAWarning: pyne.data is not yet QA compliant. | |
from pyne import data | |
/home/opy/.local/lib/python2.7/site-packages/cymetric/metrics.py:11: QAWarning: pyne.material is not yet QA compliant. | |
import pyne.enrichment as enr | |
/home/opy/.local/lib/python2.7/site-packages/cymetric/metrics.py:11: QAWarning: pyne.enrichment is not yet QA compliant. | |
import pyne.enrichment as enr | |
Traceback (most recent call last): | |
File "/home/opy/.local/bin/cymetric", line 4, in <module> | |
main() |
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
opy_eats_macaron ~/cyclus/cymetric/tests (expinv) $ nosetests -x -s test_metrics.py:test_agents | |
/home/opy/cyclus/cymetric/tests/test_metrics.py:17: QAWarning: pyne.data is not yet QA compliant. | |
from pyne import data | |
/home/opy/cyclus/cymetric/tests/test_metrics.py:18: QAWarning: pyne.material is not yet QA compliant. | |
import pyne.enrichment as enr | |
/home/opy/cyclus/cymetric/tests/test_metrics.py:18: QAWarning: pyne.enrichment is not yet QA compliant. | |
import pyne.enrichment as enr | |
F | |
====================================================================== | |
FAIL: test_metrics.test_agents |
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
opy_eats_macaron ~/cyclus/cymetric (develop) $ nosetests -w tests/ -v | |
/home/opy/.local/lib/python2.7/site-packages/pyne-0.5.0rc1-py2.7.egg/pyne/__init__.py:15: Warning: Error importing PyNE: you should not try to import PyNE from its source directory; please exit the PyNE source tree, and relaunch your python interpreter from there. | |
warn(msg, Warning) | |
: | |
.CL:CC CC _Q _Q _Q_Q _Q _Q _Q | |
CC;CCCCCCCC:C; /_\) /_\)/_/\\) /_\) /_\) /_\) | |
CCCCCCCCCCCCCl __O|/O___O|/O_OO|/O__O|/O__O|/O____________O|/O__ | |
CCCCCCf iCCCLCC ///////////////////////////////////////////////// | |
iCCCt ;;;;;. CCCC | |
CCCC ;;;;;;;;;. CClL. c |
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
opy_eats_macaron ~/cyclus/cymetric (gonuke-fix_hdf5) $ nosetests -w tests/ | |
/home/opy/.local/lib/python2.7/site-packages/cymetric/metrics.py:10: QAWarning: pyne.data is not yet QA compliant. | |
from pyne import data | |
/home/opy/.local/lib/python2.7/site-packages/cymetric/metrics.py:11: QAWarning: pyne.material is not yet QA compliant. | |
import pyne.enrichment as enr | |
/home/opy/.local/lib/python2.7/site-packages/cymetric/metrics.py:11: QAWarning: pyne.enrichment is not yet QA compliant. | |
import pyne.enrichment as enr | |
: | |
.CL:CC CC _Q _Q _Q_Q _Q _Q _Q | |
CC;CCCCCCCC:C; /_\) /_\)/_/\\) /_\) /_\) /_\) |
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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:9decc598ea7e541629c216e0a6761757ba9e0078ad404d93d6aa00aa83c927df" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
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
tbl= 'Inventories' | |
cym.root_metric(name=tbl) | |
cym.exec_code("print({0}[:])".format(tbl), db) | |
--------------------------------------------------------------------------- | |
RuntimeError Traceback (most recent call last) | |
/home/opotowsky/cyclus/temp/cycamore_root_metrics.py in <module>() | |
1 tbl= 'Inventories' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder