-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Errors in Archetype Developer Tutorial "Hello, Cyclus!" #280
Comments
Hi @lkissin2 thanks for reporting. Have you added the conda-forge channel to your condarc (via |
I have added the channel and updated the dependencies.
|
That is quite odd. It should give
|
Do you have a repo or a script that demonstrates the errors? I think that might help me debug. I can't tell if it is a problem with your system somehow, with cycstub, with the build system, or with some combo of those. |
Sorry, I'm not quite sure what you mean. Do you mean the commands I ran to get the libraries? I first did:
to get the build deps (later I tried Then I cloned cyclus:
then
Then I changed Tick{} and Tock{} to print "Hello, Cyclus!", and ran I hope that helped, but if not let me know what you meant so I can give you the right info. Thanks |
Unless I'm mistaken CycStub is no longer supported and not how you should
be building new modules. This should be updated to bring that inline with
1.5.3.
You can also try building a module with Python.
http://fuelcycle.org/arche/tutorial_py/index.html
…On Thu, Mar 1, 2018 at 12:35 PM, Louis Kissinger ***@***.***> wrote:
Sorry, I'm not quite sure what you mean. Do you mean the commands I ran to
get the libraries?
I first did:
sudo apt-get install -y cmake make libboost-all-dev libxml2-dev libxml++2.6-dev \
libsqlite3-dev libhdf5-serial-dev libbz2-dev coinor-libcbc-dev coinor-libcoinutils-dev \
coinor-libosi-dev coinor-libclp-dev coinor-libcgl-dev libblas-dev liblapack-dev g++ \
libgoogle-perftools-dev python3-dev python3-tables python3-pandas python3-numpy python3-nose \
python3-jinja2 cython3
to get the build deps (later I tried conda install -c conda-forge
cyclus-build-deps, which just told me my files were updated)
Then I cloned cyclus:
git clone https://github.com/cyclus/cyclus .
git fetch
git checkout master
then cyclus_unit_tests, which told me all tests passed
I then ran 'cyclus example.xml` and got a succesful cyclus run
Next I cloned cycstub:
$ cd tutorial
Then I changed Tick{} and Tock{} to print "Hello, Cyclus!", and ran python
install.py and got the errors from the first message.
I hope the helped but if not let me know what you meant so I can give you
the right info.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#280 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAtCa8MGpdCr8SiJgl13M74WhJNmLfw3ks5taC4sgaJpZM4SVcfP>
.
--
Robert Flanagan Ph.D.
Post Doctoral Fellow
Department of Mechanical Engineering
University of South Carolina in Columbia
|
I thought it was that cloning from the cycstub repo wasn't supported but that command line utility is |
I think he cloned the arfc/cycstub repo?
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
…On Thu, Mar 1, 2018 at 2:06 PM, Anthony Scopatz ***@***.***> wrote:
I thought it was that cloning from the cycstub repo wasn't supported but
that command line utility is
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#280 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAtCawdhfiBJ2CrEMOL4tUR5sg2Oxc4Xks5taEadgaJpZM4SVcfP>
.
--
Robert Flanagan Ph.D.
Post Doctoral Fellow
Department of Mechanical Engineering
University of South Carolina in Columbia
|
Oh you are right, @lkissin2 did do a clone. |
I am also running into a similar problem while attempting initiate the install.py. My system is running on ubuntu 17.10 and I am getting the error
Additionally, unless I am misinterpreting the purpose of the install.py, I was thinking that since I already have cyclus installed on my system (through conda), I would try to go through the tutorial and run cyclus on the example.xml anyways, I get the error:
|
Hi @chiudaniels - It seems that you are attempting to install to you root system environment. Perhaps this is because you are using your system Python, rather than the one that comes from conda. In any event, the error is because some part of boost isn't installed via apt. I would highly recommend against installing cyclus to your root system. (The default is to install it to userspace after all.) Can you please send the commands you are using AND the errors that you are seeing? Thanks! |
@scopatz Hi! I used the command
which prompted the
After, I tried to continue the tutorial despite the error and initiated
and received the error
I think your suggestion is correct in that I'm using the system Python when I installed cyclus with conda. I'll continue to test and update if if I find a solution. |
@scopatz @FlanFlanagan I believed, that the a
|
sorry i missed that issue ... |
Yeah I thought cycstub was deprecated too. We should change the readme to say something along those lines and modify the command to only print a message about how it is deprecated rather than trying to do anything real. |
I am attempting to complete the hello, cyclus tutorial for @kdhuff, but I am unable to build cycstub. This is on Ubuntu 16.04 with cyclus and cycamore installed from source. Both pass all unit tests. I installed the dependencies with apt and, after encountering this error, attempted to reinstall with
conda install -c conda-forge cyclus-build-deps
This is the error message when I run
python install.py --clean-build
in the tutorial directory, which is a clone of /arfc/cycstub:Here is the error when I run
python install.py --clean-build
in the cyclus directory, which is a clone of /cyclus/cyclus:Finally, here is the error when I type
cycstub --type facility /home/lou/tutorial:mylib:myfacility
in the tutorial directory:The text was updated successfully, but these errors were encountered: