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
opotowsky_eats_CakeBalls ~/cyclus/ciclus (cym) $ conda build cymetric | |
BUILD START: cymetric-0.0-py27_0 | |
Fetching package metadata: .......... | |
Solving package specifications: . | |
The following packages will be downloaded: | |
package | build | |
---------------------------|----------------- | |
numpy-1.9.1 | py27_0 7.7 MB |
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
$ kernprof -l -v cymetric 60yr.h5 -e "print(Materials[:])" | |
/home/opotowsky/.local/lib/python2.7/site-packages/cymetric/metrics.py:10: QAWarning: pyne.data is not yet QA compliant. | |
from pyne import data | |
SimId QualId ResourceId ObjId \ | |
0 c21bd208-7851-40d0-98ac-c9668490d354 2 11 10 | |
1 c21bd208-7851-40d0-98ac-c9668490d354 2 29 24 | |
2 c21bd208-7851-40d0-98ac-c9668490d354 2 47 38 | |
3 c21bd208-7851-40d0-98ac-c9668490d354 2 65 52 | |
4 c21bd208-7851-40d0-98ac-c9668490d354 2 83 66 | |
5 c21bd208-7851-40d0-98ac-c9668490d354 2 101 80 |
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
$ kernprof -l -v cymetric 60yr.h5 -e "print(Materials[:])" | |
/home/opotowsky/.local/lib/python2.7/site-packages/cymetric/metrics.py:10: QAWarning: pyne.data is not yet QA compliant. | |
from pyne import data | |
SimId QualId ResourceId ObjId \ | |
0 c21bd208-7851-40d0-98ac-c9668490d354 2 11 10 | |
1 c21bd208-7851-40d0-98ac-c9668490d354 2 29 24 | |
2 c21bd208-7851-40d0-98ac-c9668490d354 2 47 38 | |
3 c21bd208-7851-40d0-98ac-c9668490d354 2 65 52 | |
4 c21bd208-7851-40d0-98ac-c9668490d354 2 83 66 | |
5 c21bd208-7851-40d0-98ac-c9668490d354 2 101 80 |
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
[ 41%] [ 41%] [ 47%] [ 52%] [ 58%] Building CXX object src/CMakeFiles/Brightlite_unit_tests.dir/__/Brightlite/reactor_facility.cc.o | |
Building CXX object src/CMakeFiles/Brightlite_unit_tests.dir/__/Brightlite/reactor_facility_tests.cc.o | |
Building CXX object src/CMakeFiles/Brightlite_unit_tests.dir/__/Brightlite/fuelfab_facility_tests.cc.o | |
Building CXX object src/CMakeFiles/Brightlite_unit_tests.dir/home/opotowsky/.local/share/cyclus/cyclus_default_unit_test_driver.cc.o | |
Building CXX object src/CMakeFiles/Brightlite_unit_tests.dir/__/Brightlite/fuelfab_facility.cc.o | |
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc: In function ‘bool reactor::stream_check(cyclus::Material::Ptr&)’: | |
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:24:5: error: ‘comp_new’ was not declared in this scope | |
comp_new = mat1->comp()->mass(); | |
^ | |
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:25:5: error: ‘comp_old’ was not declared in this scope |
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
For the following code snippet: | |
``` | |
u = pd.Series(u, index=m.index) | |
u = u.groupby(level=['TimeCreated']).sum() | |
u.name = 'FcoUMined' | |
# sum by years (12 time steps) | |
print u | |
u_year = u.groupby(pd.cut(u.index, np.arange(0, 12, 12)))['FcoUMined'].sum() | |
print u_year |
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
ubuntu@ubuntu:~$ sudo lshw -short | |
H/W path Device Class Description | |
==================================================== | |
system XPS13 9333 (060A) | |
/0 bus 0D13CR | |
/0/0 processor Intel(R) Core(TM) i7-4510U CPU @ 2.00GH | |
/0/0/2 memory 32KiB L1 cache | |
/0/0/3 memory 256KiB L2 cache | |
/0/0/4 memory 4MiB L3 cache | |
/0/1 memory 32KiB L1 cache |
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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' |
OlderNewer