Early Year Projects

For the start of the year, I've been working on some little projects that I've enjoyed. I guess one of the projects was big. I finished three bookshelves for my cousins for xmas.

I made a midori style notebook, which I still can't decide if I like or not.

And to put inside I made some personalized notebooks, which I do like quite a bit.

Also note in the picture above is a homemade awl I made to poke holes in the notebooks for sewing. It was a good idea, but the needle is sticking out too far. So if I really push, the needle bends. So I could maybe cut the end of that needle off and put it in a shorter handle.

I used epoxy to get the needle in the handle and I had some left over. So I used that to fix some cracks in my shoes. The weather has gotten much nicer now, so I haven't worn them yet in any snow. But I think this will work nice and save me from having to buy a new pair of shoes.

Lastly, I think that the last chance of frost has passed, so I'm moving into gardening mode. I went out to look at my cold frame. And once it got a little warmer, the spinach started growing again. It's pretty indestructible apparently. The lettuce seems to have died, so I put some more seed out there. But I'm happy with how this looks now.

Compiling GEANT4

This one is strictly work-related.

This is what I used to compile GEANT4 on an RHEL6 computer. Note that first I had to install and compile a new gcc to be able to compile GEANT4.

Also be sure to create /etc/ld.so.conf.d/gcc-4.9.4.conf and add /usr/local/lib and /usr/local/lib64 to it. Then run ldconfig -v.

# tar xzf geant4.10.03.tar.gz
# mkdir geant.4.10.03-build
# # cd geant4.10.03-build/
# cmake3 -DCMAKE_INSTALL_PREFIX=/code/geant4.10.03-rhel6 /code/download/geant4/geant4.10.03/ -DCMAKE_C_COMPILER=/usr/local/bin/gcc -DCMAKE_CXX_COMPILER=/usr/local/bin/g++ -DGEANT4_INSTALL_DATA=ON -DWITH_ANALYSIS_USE=ON
# make -j2
# make install

I also needed to make geant4-9.6.4, here's the cmake command that I used. The other commands are basically the same. And I think that this probably has the options that I should use by default. (Can leave off specifying the compiler if the default one works.)

#  cmake3 -DCMAKE_INSTALL_PREFIX=/code/geant4.9.6.4 /code/geant4.9.6.4-src -DCMAKE_C_COMPILER=/usr/local/bin/gcc -DCMAKE_CXX_COMPILER=/usr/local/bin/g++ -DGEANT4_INSTALL_DATA=ON -DWITH_ANALYSIS_USE=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_INSTALL_EXAMPLES=ON

For RHEL7 systems, the gcc that comes with it is new enough, so I can leave those tags out.

# cd /code/src/geant4-src/geant4-9.5.2-build
# cmake -DCMAKE_INSTALL_PREFIX=/code/geant4.9.5.2 -DGEANT4_INSTALL_DATA=ON -DWITH_ANALYSIS_USE=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_INSTALL_EXAMPLES=ON ../geant4