Hi Nil, Thank you for answering so quickly! Awesome, we’ll try your scripts and hopefully it’ll run! Could you tell us a bit more about the ccache you’re doing? I know absolutely nothing about these things and all hints help tremendously!
Thank you! Johannes On Wed, Mar 20, 2019 at 12:12 'Nil Geisweiller' via opencog < [email protected]> wrote: > Hi, > > sorry to hear about that. > > I have the following scripts in my opencog repos. > > To purge opencog from my system: > > ==== clean-opencog.sh ==== > sudo rm -fr /usr/local/include/opencog > sudo rm -fr /usr/local/share/opencog > sudo rm -fr /usr/local/lib/opencog > sudo rm -fr /usr/share/guile/site/2.2/opencog* > sudo rm -fr /usr/local/share/guile/site/2.2/opencog* > rm -fr ~/.cache/guile > ========================== > > To build opencog > > ==== build.sh ==== > rm -fr build > mkdir build > cd build > cmake .. > make -j4 && sudo make install > cd .. > =================== > > When I get weird errors, I run clean-opencog.sh, then rebuild cogutil, > atomspace, opencog (and possibly more) with my build scripts. > > I very have rarely problems and since I use ccache (with an SSD) it is > usually very fast. > > Now my clean script doesn't purge python modules because I do not use > Python, but that should be easy to add. > > Hopefully it helps, let us know otherwise. > > Nil > > On 3/20/19 12:48 PM, Johannes Castner wrote: > > Hi Nil and Linas, > > > > Austin and I are working together and our biggest problem isn't that > > those three tests fail, but rather that we cannot import certain things > > and perhaps they're missing (?): > > > > Traceback (most recent call last): > > File "scheme_router.py", line 5, in <module> > > from opencog.atomspace import types > > ImportError: libattentionbank.so: cannot open shared object file: No > > such file or directory > > > > We thought that the same problem that makes these tests fail might also > > be responsible for the above error? We're desperately trying to figure > > out how we can better build the system in a reliable way, such that once > > we run into a bug and lets say, you've fixed that bug in your code, we > > can quickly update from your code and then set everything up again and > > have a working system. Right now, every time we update it is > > exceedingly hard to get back to where we were before, minus the bug that > > made us want to reset in the first place. Is there some way you could > > maybe guide us to how we can have a system that follows all of your > > improvements and bug fixes and that doesn't have problems with setting > > up and installing? I would love us to be able to contribute more and > > spend less time setting up the three libraries again and again. If it > > were easy to set them all up--i.e. if there were a script that reliably > > sets them up and tests them, this would improve things massively! > > > > With gratitude and great appreciation, > > > > Johannes > > > > On Tuesday, March 19, 2019 at 6:14:31 PM UTC, Nil wrote: > > > > On 3/19/19 8:03 PM, Austin wrote: > > > After reinstalling and doing that, now 3 of the tests still > > continue to > > > fail. > > > > They also fail for me. > > > > Nil > > > > > > > > Austin > > > > > > On Tue, Mar 19, 2019 at 11:49 AM 'Nil Geisweiller' via opencog > > > <[email protected] <javascript:> > > <mailto:[email protected] <javascript:>>> wrote: > > > > > > Hi Austin, > > > > > > you might need to install opencog before running the unit > tests. > > > > > > Nil > > > > > > On 3/19/19 12:52 PM, Austin wrote: > > > > Hello people! > > > > > > > > Hope you are doing well. Since the last update, With > > cogutil and > > > > Atomspace building fine. some of the make tests for the > > opencog > > > > directory have failed on my end. Even though it seems to > > make ok. > > > Please > > > > find attached a screenshot of these errors. > > > > > > > > Also for a better work process; I'm trying to figure out > > how to work > > > > with docker. I would like to use opencog's atomspace in > > production > > > > through docker. However in building opencog with > > "docker-compose run > > > > --service-ports dev". There seems to be no module called > > > > "opencog.atomspace" in this dev docker container. Does > > atomspace > > > exist > > > > as a different container ? If not, what changes may need > > to be > > > made to > > > > make use of atomspace in the opencog docker environment ? > > > > > > > > Thank you in advance :) > > > > > > > > Austin > > > > > > > > On Fri, Mar 15, 2019 at 12:32 PM Vitaly Bogdanov > > > <[email protected] <javascript:> <mailto:[email protected] > > <javascript:>> > > > > <mailto:[email protected] <javascript:> > > <mailto:[email protected] <javascript:>>>> wrote: > > > > > > > > ParallelUTest issue should be fixed in latest master, > > please see > > > > https://github.com/opencog/atomspace/issues/2127 > > <https://github.com/opencog/atomspace/issues/2127> > > > > > > > > On Friday, March 15, 2019 at 1:39:12 PM UTC+3, Austin > > wrote: > > > > > > > > Hi Vitaly > > > > > > > > Thank you for your reply! Yes indeed, I do have > > enough free > > > > memory. I have been able to build the atomspace by > > > running make -j4. > > > > I understand without the number, it spawns a > > process for each > > > > core I have; so it builds with only test 16 - > > ParallelUTest > > > > failing (SEGFAULT). > > > > However, I'll try the docker image if it makes > > > things easier for > > > > regular updating and rebuilding of the libraries. > > Thanks > > > again! > > > > > > > > Best, > > > > Austin > > > > > > > > > > > > > > > > On Wed, Mar 13, 2019 at 4:06 PM Vitaly Bogdanov > > > > <[email protected] <mailto:[email protected]>> > wrote: > > > > > > > > Hi Austin, > > > > > > > > My machine has 16 Gib of RAM, 5 of them are > > occupied by > > > > operating system almost constantly. At least > > it is > > > enough to > > > > build opencog. I have just make a test and I > > didn't > > > see more > > > > than 2 GiB were used during build. Have you > tried > > > executing > > > > "free" command to see how much of free memory > > do you > > > have? > > > > > > > > Best regards, > > > > Vitaly > > > > > > > > > > > > On Tuesday, March 12, 2019 at 7:54:06 PM UTC+3, > > > Austin wrote: > > > > > > > > Hi, > > > > > > > > After reinstalling and recompiling for the > > new > > > updates. > > > > In running make for the atomspace. I get > > errors > > > such as > > > > virtual memory exhausted: Cannot allocate > > memory.Find > > > > attached the error images in detail. > > > > > > > > Please what could cause this; The AWS EC2 > > > instance type > > > > used is t3.large. Also, I am wondering if > any > > > specific > > > > recommendations of memory size required to > > run all of > > > > opencog efficiently ? > > > > > > > > Greatly appreciate any help provided. > > > > Thank you! > > > > > > > > -- > > > > You received this message because you are > > subscribed > > > to the > > > > Google Groups "opencog" group. > > > > To unsubscribe from this group and stop > > receiving emails > > > > from it, send an email to > > > [email protected] > > <mailto:opencog%[email protected]>. > > > > To post to this group, send email to > > > [email protected] <mailto:[email protected]>. > > > > Visit this group at > > > https://groups.google.com/group/opencog > > <https://groups.google.com/group/opencog>. > > > > To view this discussion on the web visit > > > > > > > > > > https://groups.google.com/d/msgid/opencog/18e0a808-96d2-4740-8213-c115a8a7255a%40googlegroups.com > > < > https://groups.google.com/d/msgid/opencog/18e0a808-96d2-4740-8213-c115a8a7255a%40googlegroups.com > > > > > > > > > > > > > < > https://groups.google.com/d/msgid/opencog/18e0a808-96d2-4740-8213-c115a8a7255a%40googlegroups.com?utm_medium=email&utm_source=footer > < > https://groups.google.com/d/msgid/opencog/18e0a808-96d2-4740-8213-c115a8a7255a%40googlegroups.com?utm_medium=email&utm_source=footer > >>. > > > > For more options, visit > > > https://groups.google.com/d/optout > > <https://groups.google.com/d/optout>. > > > > > > > > -- > > > > You received this message because you are subscribed > > to the > > > Google > > > > Groups "opencog" group. > > > > To unsubscribe from this group and stop receiving > > emails from it, > > > > send an email to [email protected] > > <javascript:> > > > <mailto:opencog%[email protected] <javascript:>> > > > > <mailto:[email protected] <javascript:> > > > <mailto:opencog%[email protected] <javascript:>>>. > > > > To post to this group, send email to > > [email protected] <javascript:> > > > <mailto:[email protected] <javascript:>> > > > > <mailto:[email protected] <javascript:> > > > <mailto:[email protected] <javascript:>>>. > > > > Visit this group at > > https://groups.google.com/group/opencog > > <https://groups.google.com/group/opencog>. > > > > To view this discussion on the web visit > > > > > > > > > > https://groups.google.com/d/msgid/opencog/6862df1e-8b77-4563-a0e5-6601fb505206%40googlegroups.com > > < > https://groups.google.com/d/msgid/opencog/6862df1e-8b77-4563-a0e5-6601fb505206%40googlegroups.com > > > > > > > > > > > > > < > https://groups.google.com/d/msgid/opencog/6862df1e-8b77-4563-a0e5-6601fb505206%40googlegroups.com?utm_medium=email&utm_source=footer > < > https://groups.google.com/d/msgid/opencog/6862df1e-8b77-4563-a0e5-6601fb505206%40googlegroups.com?utm_medium=email&utm_source=footer > >>. > > > > For more options, visit > > https://groups.google.com/d/optout > > <https://groups.google.com/d/optout>. > > > > > > > > -- > > > > You received this message because you are subscribed to > > the Google > > > > Groups "opencog" group. > > > > To unsubscribe from this group and stop receiving emails > > from it, > > > send > > > > an email to [email protected] <javascript:> > > > <mailto:opencog%[email protected] <javascript:>> > > > > <mailto:[email protected] <javascript:> > > > <mailto:opencog%[email protected] <javascript:>>>. > > > > To post to this group, send email to > > [email protected] <javascript:> > > > <mailto:[email protected] <javascript:>> > > > > <mailto:[email protected] <javascript:> > > <mailto:[email protected] <javascript:>>>. > > > > Visit this group at > > https://groups.google.com/group/opencog > > <https://groups.google.com/group/opencog>. > > > > To view this discussion on the web visit > > > > > > > > > > https://groups.google.com/d/msgid/opencog/CADbdzdz3a-N2TtV5iRvZPdh-_gNkGQQE19KAh5YJVSMpVPN%3DJA%40mail.gmail.com > > < > https://groups.google.com/d/msgid/opencog/CADbdzdz3a-N2TtV5iRvZPdh-_gNkGQQE19KAh5YJVSMpVPN%3DJA%40mail.gmail.com > > > > > > > > > > > > > > > > < > https://groups.google.com/d/msgid/opencog/CADbdzdz3a-N2TtV5iRvZPdh-_gNkGQQE19KAh5YJVSMpVPN%3DJA%40mail.gmail.com?utm_medium=email&utm_source=footer > > < > https://groups.google.com/d/msgid/opencog/CADbdzdz3a-N2TtV5iRvZPdh-_gNkGQQE19KAh5YJVSMpVPN%3DJA%40mail.gmail.com?utm_medium=email&utm_source=footer > >>. > > > > > > For more options, visit https://groups.google.com/d/optout > > <https://groups.google.com/d/optout>. > > > > > > -- > > > You received this message because you are subscribed to the > > Google > > > Groups "opencog" group. > > > To unsubscribe from this group and stop receiving emails from > > it, > > > send an email to [email protected] <javascript:> > > > <mailto:opencog%[email protected] <javascript:>>. > > > To post to this group, send email to [email protected] > > <javascript:> > > > <mailto:[email protected] <javascript:>>. > > > Visit this group at https://groups.google.com/group/opencog > > <https://groups.google.com/group/opencog>. > > > To view this discussion on the web visit > > > > > > https://groups.google.com/d/msgid/opencog/6c88b141-3deb-b937-174f-23319806e835%40gmail.com > > < > https://groups.google.com/d/msgid/opencog/6c88b141-3deb-b937-174f-23319806e835%40gmail.com > >. > > > > > For more options, visit https://groups.google.com/d/optout > > <https://groups.google.com/d/optout>. > > > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "opencog" group. > > > To unsubscribe from this group and stop receiving emails from it, > > send > > > an email to [email protected] <javascript:> > > > <mailto:[email protected] <javascript:>>. > > > To post to this group, send email to [email protected] > > <javascript:> > > > <mailto:[email protected] <javascript:>>. > > > Visit this group at https://groups.google.com/group/opencog > > <https://groups.google.com/group/opencog>. > > > To view this discussion on the web visit > > > > > > https://groups.google.com/d/msgid/opencog/CADbdzdwPUCTa1uQ%3D5YWZfDJ1%3DdV8c2-fPxjEJAx1VpjCcpHtiw%40mail.gmail.com > > < > https://groups.google.com/d/msgid/opencog/CADbdzdwPUCTa1uQ%3D5YWZfDJ1%3DdV8c2-fPxjEJAx1VpjCcpHtiw%40mail.gmail.com > > > > > > > > > < > https://groups.google.com/d/msgid/opencog/CADbdzdwPUCTa1uQ%3D5YWZfDJ1%3DdV8c2-fPxjEJAx1VpjCcpHtiw%40mail.gmail.com?utm_medium=email&utm_source=footer > > < > https://groups.google.com/d/msgid/opencog/CADbdzdwPUCTa1uQ%3D5YWZfDJ1%3DdV8c2-fPxjEJAx1VpjCcpHtiw%40mail.gmail.com?utm_medium=email&utm_source=footer > >>. > > > > > For more options, visit https://groups.google.com/d/optout > > <https://groups.google.com/d/optout>. > > > > -- > > You received this message because you are subscribed to the Google > > Groups "opencog" group. > > To unsubscribe from this group and stop receiving emails from it, send > > an email to [email protected] > > <mailto:[email protected]>. > > To post to this group, send email to [email protected] > > <mailto:[email protected]>. > > Visit this group at https://groups.google.com/group/opencog. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/opencog/80dd5251-5f92-4865-a32d-a8511651032d%40googlegroups.com > > < > https://groups.google.com/d/msgid/opencog/80dd5251-5f92-4865-a32d-a8511651032d%40googlegroups.com?utm_medium=email&utm_source=footer > >. > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "opencog" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/opencog. > To view this discussion on the web visit > https://groups.google.com/d/msgid/opencog/70627e75-9512-5234-93d0-2461b1508375%40gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- Johannes -------------------------------------------------------------------------------------------------------- "Peace cannot be kept by force; it can only be achieved by understanding." - Albert Einstein -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/opencog. To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/CABZZiPJMKnicdox7z5DjYreDpCG%3DB3WL51vb_PO7TTn0kV-OcQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
