Skip to content

Instantly share code, notes, and snippets.

View jbae11's full-sized avatar

Jin Whan Bae jbae11

  • Oak Ridge National Laboratory
  • Knoxville, TN
View GitHub Profile
@jbae11
jbae11 / error_message
Last active March 8, 2018 17:06
raven question
bae@h2ologin2:/projects/sciteam/bahg/projects/raven/framework/CodeInterfaces/SERPENT$ $ravenx use_rom.xml
/mnt/bwpy/single/usr/lib/python2.7/site-packages/sklearn/cross_validation.py:41: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
"This module will be removed in 0.20.", DeprecationWarning)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.---. .------###### ##### ### ### ######## ### ###
/ \ __ / --### ### ### ### ### ### ### ##### ###
/ / \( )/ --### ### ### ### ### ### ###### ### ######
////// ' \/ ` --####### ######### ### ### ### ### #####
@jbae11
jbae11 / decom_power.xml
Created October 21, 2017 19:11
[Reactor] Produces power at refueling outage if refueling outage time = exit time
<!-- 1 Source Source, 1 Sink Sink -->
<simulation>
<control>
<duration>12</duration>
<startmonth>1</startmonth>
<startyear>2000</startyear>
</control>
<archetypes>
@jbae11
jbae11 / cv.tex
Created October 5, 2017 18:50
cv template
% !TEX TS-program = xelatex
% !TEX encoding = UTF-8 Unicode
% -*- coding: UTF-8; -*-
% vim: set fenc=utf-8
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% CV.tex
%% <https://github.com/zachscrivena/simple-resume-cv>
%% This is free and unencumbered software released into the
%% public domain; see <http://unlicense.org> for details.
@jbae11
jbae11 / build.md
Last active September 29, 2017 16:29
bright-lite errors
dkadkf@arfc-100 ~/github/Bright-lite (0.9) $ python install.py 
/usr/bin/cmake

-- CMAKE_INSTALL_RPATH: /home/dkadkf/.local/lib:/home/dkadkf/.local/lib/cyclus:/usr/lib:/usr/lib/cyclus
CMAKE_MODULE_PATH /share/cmake-2.8/Modules;/home/dkadkf/github/Bright-lite/cmake
-- Dependency Root Dir (DEPS_ROOT_DIR): /usr
-- Dependency Hints (DEPS_HINTS): HINTS;/usr
-- Dependency Binary Hints (DEPS_BIN_HINTS): HINTS;/usr;/usr/bin
-- Dependency Library Hints (DEPS_LIB_HINTS): HINTS;/usr;/usr/lib
@jbae11
jbae11 / tag_fail.md
Created September 5, 2017 14:26
tag fail
~/github/cyborg/scripts (master) $ python2 arp2obl.py --obiwan ~/SCALE/SCALE-6.2-serial-6.2.2-Source/build/gcc/INSTALL/bin/obiwan --arpdata ~/SCALE/SCALE-6.2-serial-6.2.2-Source/data/arpdata.txt
ORIGEN Library directory used:  .
Obiwan executable location used:  /home/dkadkf/SCALE/SCALE-6.2-serial-6.2.2-Source/build/gcc/INSTALL/bin/obiwan
Arpdata.txt location used:  /home/dkadkf/SCALE/SCALE-6.2-serial-6.2.2-Source/data/arpdata.txt
Found Assembly Type: abb8x8-1
These libraries are uranium fueled.  There are 35 libraries                   for the abb8x8-1 assembly type.
Name of library: abb_e05w01.f33
Name of library: abb_e05w03.f33
Name of library: abb_e05w05.f33
@jbae11
jbae11 / output.txt
Created August 30, 2017 16:56
arp2obl.py output
ORIGEN Library directory used: .
Obiwan executable location used: obiwan
Arpdata.txt location used: /home/dkadkf/SCALE/SCALE-6.2-serial-6.2.2-Source/data/arpdata.txt
Found Assembly Type: abb8x8-1
These libraries are uranium fueled. There are 35 libraries for the abb8x8-1 assembly type.
Name of library: abb_e05w01.f33
Name of library: abb_e05w03.f33
Name of library: abb_e05w05.f33
Name of library: abb_e05w07.f33
Name of library: abb_e05w09.f33
@jbae11
jbae11 / cyborg_run_error.md
Created August 28, 2017 15:17
Cyborg Error
dkadkf@arfc-100 ~/github/cyborg (master) $ cyclus inputs/UOX-BWR/1_Enrichment_1_Reactor_1y.xml 
              :                                                               
          .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                         
   CCCC ,;;       ;;: CCCC  ;                   : CCCCi                       
@jbae11
jbae11 / half_trans.xml
Created August 14, 2017 17:13
Simple Input File for testing CYCAMORE::REACTOR half-transmute when decommissioned mid-cycle
<simulation>
<control>
<duration>60</duration>
<startmonth>1</startmonth>
<startyear>2000</startyear>
</control>
<archetypes>
<spec> <lib>agents</lib> <name>NullInst</name></spec>
<spec> <lib>agents</lib> <name>NullRegion</name></spec>
```
Performing C++ SOURCE FILE Test FINITE_VALUE_HAVE_GLOBAL_ISNAN failed with the following output:
Change Dir: /home/dkadkf/SCALE/SCALE-6.2-serial-6.2.2-Source/build/gcc/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_2cd78/fast"
/usr/bin/make -f CMakeFiles/cmTC_2cd78.dir/build.make CMakeFiles/cmTC_2cd78.dir/build
make[1]: Entering directory '/home/dkadkf/SCALE/SCALE-6.2-serial-6.2.2-Source/build/gcc/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_2cd78.dir/src.cxx.o
/usr/bin/g++ -std=c++11 -DFINITE_VALUE_HAVE_GLOBAL_ISNAN -o CMakeFiles/cmTC_2cd78.dir/src.cxx.o -c /home/dkadkf/SCALE/SCALE-6.2-serial-6.2.2-Source/build/gcc/CMakeFiles/CMakeTmp/src.cxx
/home/dkadkf/SCALE/SCALE-6.2-serial-6.2.2-Source/build/gcc/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
#
# The USE_CYCLUS, INSTALL_CYCLUS_STANDALONE, INSTALL_CYCLUS_MODULE macros builds
# agent libraries for Cyclus given some source files.
#
# INSTALL_CYCLUS_STANDALONE is meant to build a single agent into its own
# module.  It implicitly calls USE_CYCLUS.  For example,
#
#   install_cyclus_standalone("TestFacility" "test_facility" "tests")
#