arfc / predicting-the-past

The predicting the past project.
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

Check out the input files in Cycamore #6

Closed katyhuff closed 7 years ago

katyhuff commented 8 years ago

There are a handful of simple input files in Cycamore. Try to understand what each of them does. Summarize your findings as a comment in this issue.

The input files are here: https://github.com/cyclus/cycamore/tree/develop/input

eriewski commented 8 years ago

Hey Katy,

When I run the input .xml files in the directory, I get the following error, ERROR(core ):No module found for path libcycamore.so I was wondering if you had any idea what was causing this. I have installed Cyclus, Cycamore and all their dependencies. I image the problem is that some path is not working as intended.

katyhuff commented 8 years ago

You'll need to make sure the install location is in your LD_LIBRARY_PATH . To see how such things are set, you'll find a discussion of environment variables in the bash chapter of the book. Depending on where Cyclus installed itself (perhaps "~/.local"?), you'll want to add something like "export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${HOME}/.local/lib" to your .bashrc file.

On Tue, Sep 20, 2016 at 6:48 PM, eriewski notifications@github.com wrote:

Hey Katy,

When I run the input .xml files in the directory, I get the following error, ERROR(core ):No module found for path libcycamore.so I was wondering if you had any idea what was causing this. I have installed Cyclus, Cycamore and all their dependencies. I image the problem is that some path is not working as intended.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arfc/predicting-the-past/issues/6#issuecomment-248469869, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYCq-gH197G9n_KeC5LiQ88KNibhMCrks5qsHDKgaJpZM4KAdjk .

http://katyhuff.github.com

eriewski commented 8 years ago

I've tried adding export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${HOME}/.local/lib" and export PATH="$HOME/.local/bin:$PATH" as well as other lines to the end of my .bashrc file, but I still get the same error. After much troubleshooting and searching online, I can't seem to get the path working correctly. I have cyclus located here ~/cyclus$ and cycamore located here ~/cycamore$.

katyhuff commented 8 years ago

Your LD_LIBRARY_PATH should point to the install location. If cyclus and cycamore installed correctly, they should be in ~/.local. The shared libraries should be in ~/.local/lib . In the command line, navigate to those locations and determine whether libcyclus.so and libcycamore.so are located there.

eriewski commented 8 years ago

A directory named cyclus and a file named libcyclus.so are located there. I don't see a libcycamore.so file. I can't seem to fine where cycamore is installed. Should I try installing cycamore again?

eriewski commented 8 years ago

I found the location of libcycamore.so. It's located at ./cycamore/build/lib/cyclus/cycamore/libcycamore.so

katyhuff commented 8 years ago

It seems cycamore has partially built, but not completely installed. Try installing again and look closely in the build output (what appears in the terminal) for errors.

On Sun, Sep 25, 2016 at 3:00 PM, eriewski notifications@github.com wrote:

I found the location of libcycamore.so. It's located at ./cycamore/build/lib/cyclus/cycamore/libcycamore.so

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arfc/predicting-the-past/issues/6#issuecomment-249443075, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYCq61pW2b_a8q36DIN6p8cYyPlQRYBks5qttLxgaJpZM4KAdjk .

http://katyhuff.github.com

eriewski commented 8 years ago

Since the code in the xml files are not committed, I'm finding it somewhat difficult to understand what part of the code is doing what, since I don't have experience in xml at the moment, From what I understand files such as recycle.xml and greedy_recycle.xml are reading in data given for different facilities, such as enrichment and separation facilities, then simulating where fuel will be located and in what quantity at different facilities in the future.

On another note, I am able to successfully read output database files after running an input file. However, I'm not quite sure what output data of interest I should be looking at in my sqlite viewer.

katyhuff commented 8 years ago

Since the code in the xml files are not committed,

What do you mean by this? The xml files were committed in the cycamore repository.

, From what I understand files such as recycle.xml and greedy_recycle.xml are reading in data given for different facilities,

Yes, these files each define a single simulation.

On Sun, Oct 2, 2016 at 12:15 AM, eriewski notifications@github.com wrote:

Since the code in the xml files are not committed, I'm finding it somewhat difficult to understand what part of the code is doing what, since I don't have experience in xml at the moment, From what I understand files such as recycle.xml and greedy_recycle.xml are reading in data given for different facilities, such as enrichment and separation facilities, then simulating where fuel will be located and in what quantity at different facilities in the future.

On another note, I am able to successfully read output database files after running an input file. However, I'm not quite sure what output data of interest I should be looking at in my sqlite viewer.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arfc/predicting-the-past/issues/6#issuecomment-250954286, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYCq8L_F0krOPyERfS_QN0wePXMcI3zks5qvz3dgaJpZM4KAdjk .

http://katyhuff.github.com

katyhuff commented 7 years ago

Here is a helpful doc that summarizes what we discussed in my office Friday: http://fuelcycle.org/user/writing_input.html

katyhuff commented 7 years ago

bitmoji