Gi Installation instructions have disappeared

79 views
Skip to first unread message

Stephen Read

unread,
Jan 23, 2024, 11:40:58 PM1/23/24
to Randall O'Reilly, emergen...@googlegroups.com

I wanted to have my class start installing the emergent code soon (tomorrow), but I went to review the installation instructions and discovered that the installation instructions for Gi have disappeared. For both cogentcore and the original  gi installation, if you click on both the Wiki and the Install links they just link back to the same page.  Installation instructions for both gi and the widget example are nowhere to be found.  Also, if there is a particular version of Vulkan that needs to be installed that is not mentioned either. 

  I would appreciate it if someone would either provide instructions or fix the links so that they work.

 

Thanks, Steve

 

 

Randall O'Reilly

unread,
Jan 25, 2024, 2:52:25 AM1/25/24
to Stephen Read, emergen...@googlegroups.com
I just restored these -- got moved in the update to the new version of the gui framework, which is now at: https://github.com/cogentcore/core

For a sample of what is possible with the new system, here is a very quick start on the website, which is auto-generated from docs/*.md markdown files, and is actually a WASM Go app entirely written in the new framework! https://www.cogentcore.org/core/ The code shown in various places is actually extracted from the .md files, compiled, and run as part of the app, so they are "live" demos of what the code does.

At some point, this means that all the textbook sims will be runnable entirely through the web. We just need to get the WebGPU framework supported -- right now it is only 2D.

- Randy

Michael J Frank

unread,
Jan 25, 2024, 10:05:04 AM1/25/24
to Randall O'Reilly, Stephen Read, emergen...@googlegroups.com, Krishn Bera
we had lots of install problems this past year due to incompatibilities with vulkan windows , mac chips etc, all requiring different solutions. Mostly worked out in the end but Krishn my TA (cc'd) offered to potentially create a docker container for all the sims together for the next year, which might make it much easier, at least for those that are not building from source. Let us know your thoughts on this or if this is not worthwhile if by next Fall everything would be doable on a browser which would be super (though again not building from source..)

Michael J Frank, PhD | Edgar L. Marston Professor
Brown University
website 



--
You received this message because you are subscribed to the Google Groups "emergent-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emergent-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emergent-users/A620D9AD-544F-4C09-9733-146A8A64FFBD%40gmail.com.

Stephen Read

unread,
Jan 25, 2024, 12:28:46 PM1/25/24
to Michael J Frank, Randall O'Reilly, emergen...@googlegroups.com, Krishn Bera

I haven’t had that many problems with running the compiled sims, except for one Windows users who needs to update her graphic card drivers.  But I did have a lot of problems with installing the source code when I wanted them to work on having to actually modify some of the sims and ra25 for doing the final project and the srn homework.

  I don’t know if the docker would solve that issue, but if it would that would be great.  In addition to the incompatibilities, there are many issues with them not carefully following the instructions for all the steps.

Steve

Stephen Read

unread,
Jan 25, 2024, 1:01:13 PM1/25/24
to Randall O'Reilly, emergen...@googlegroups.com

One question. If one follows the current instructions will that create an installation that runs with the v1 branch of gi or does one have to do the additional steps of setting the stable version and the v1 branch.

 

From: Randall O'Reilly <rcore...@gmail.com>
Date: Wednesday, January 24, 2024 at 11:52
PM
To: Stephen Read <re...@usc.edu>
Cc: emergen...@googlegroups.com <emergen...@googlegroups.com>
Subject: Re: Gi Installation instructions have disappeared

I just restored these -- got moved in the update to the new version of the gui framework, which is now at: https://urldefense.com/v3/__https://github.com/cogentcore/core__;!!LIr3w8kk_Xxm!u_lKZ2RE3tPiCb9DsRfGfe3dSQUfXY4i9ZiQcaiKxQRDWxQc3ewuJAs6pbeySDkP_IOUSpTdoIykwLA$ 

For a sample of what is possible with the new system, here is a very quick start on the website, which is auto-generated from docs/*.md markdown files, and is actually a WASM Go app entirely written in the new framework!  https://urldefense.com/v3/__https://www.cogentcore.org/core/__;!!LIr3w8kk_Xxm!u_lKZ2RE3tPiCb9DsRfGfe3dSQUfXY4i9ZiQcaiKxQRDWxQc3ewuJAs6pbeySDkP_IOUSpTdpYOrKec$   The code shown in various places is actually extracted from the .md files, compiled, and run as part of the app, so they are "live" demos of what the code does.

Randall O'Reilly

unread,
Jan 25, 2024, 2:40:23 PM1/25/24
to Stephen Read, Michael Frank, emergen...@googlegroups.com, Krishn Bera
I don't think the docker thing would work except on a linux host, based on a quick google, e.g.:

https://www.reddit.com/r/vulkan/comments/13een6v/can_i_run_a_ubuntu_docker_with_vulkan_installed/

https://forums.developer.nvidia.com/t/how-to-get-vulkan-working-on-a-ubuntu20-04-docker-container/240371/3

WebGPU is more likely to be a better solution for the longer term, but will be a fair amount of work to get going unfortunately. we'll see when we get around to it..

Also, I just reverted all the github.com/goki/* <http://github.com/goki/*> repositories (ki, pi, gi) so that the main branch is v1, and v2 is a sub-branch, so when people clone those repos, they'll get v1. This hopefully makes things a bit simpler. I'm also detaching gi from the cogentcode/core repo so it wont show as a fork there. Too bad we didn't figure out our new branding, repo stuff at the start -- would have been a lot less disruptive to v1.

- Randy

Stephen Read

unread,
Jan 25, 2024, 3:14:26 PM1/25/24
to Randall O'Reilly, Michael Frank, emergen...@googlegroups.com, Krishn Bera

Thanks for doing this, although I noticed on gi, that v1 is still listed as a branch and main is the default branch. Sorry if I’m misunderstanding something.

 

 

From: Randall O'Reilly <rcore...@gmail.com>
Date: Thursday, January 25, 2024 at 11:40

AM


To: Stephen Read <re...@usc.edu>
Cc: Michael Frank <Michae...@brown.edu>, emergen...@googlegroups.com <emergen...@googlegroups.com>, Krishn Bera <krish...@brown.edu>
Subject: Re: Gi Installation instructions have disappeared

I don't think the docker thing would work except on a linux host, based on a quick google, e.g.:


WebGPU is more likely to be a better solution for the longer term, but will be a fair amount of work to get going unfortunately. we'll see when we get around to it..

Also, I just reverted all the github.com/goki/* <https://urldefense.com/v3/__http://github.com/goki/*__;Kg!!LIr3w8kk_Xxm!pR8HdQErucCESrElftikqlvnm_OHz3l9WXGvbAVrDiY1jsOWxSAMXvJDp1EC7seB5RVI4blpbOAumKw$ > repositories (ki, pi, gi) so that the main branch is v1, and v2 is a sub-branch, so when people clone those repos, they'll get v1.  This hopefully makes things a bit simpler.  I'm also detaching gi from the cogentcode/core repo so it wont show as a fork there.  Too bad we didn't figure out our new branding, repo stuff at the start -- would have been a lot less disruptive to v1.



- Randy

> On Jan 25, 2024, at 9:28 AM, Stephen Read <re...@usc.edu> wrote:
>
> I haven’t had that many problems with running the compiled sims, except for one Windows users who needs to update her graphic card drivers.  But I did have a lot of problems with installing the source code when I wanted them to work on having to actually modify some of the sims and ra25 for doing the final project and the srn homework.
>   I don’t know if the docker would solve that issue, but if it would that would be great.  In addition to the incompatibilities, there are many issues with them not carefully following the instructions for all the steps.
> Steve
>   From: Michael J Frank <Michae...@brown.edu>
> Date: Thursday, January 25, 2024 at 7:05 AM
> To: Randall O'Reilly <rcore...@gmail.com>
> Cc: Stephen Read <re...@usc.edu>, emergen...@googlegroups.com <emergen...@googlegroups.com>, Krishn Bera <krish...@brown.edu>
> Subject: Re: Gi Installation instructions have disappeared
> we had lots of install problems this past year due to incompatibilities with vulkan windows , mac chips etc, all requiring different solutions. Mostly worked out in the end but Krishn my TA (cc'd) offered to potentially create a docker container for all the sims together for the next year, which might make it much easier, at least for those that are not building from source. Let us know your thoughts on this or if this is not worthwhile if by next Fall everything would be doable on a browser which would be super (though again not building from source..)
>  Michael J Frank, PhD | Edgar L. Marston Professor
> Director, Carney Center for Computational Brain Science
> Laboratory of Neural Computation and Cognition  Brown University
> website    On Thu, Jan 25, 2024 at 2:52 AM Randall O'Reilly <rcore...@gmail.com> wrote:

> I just restored these -- got moved in the update to the new version of the gui framework, which is now at: https://urldefense.com/v3/__https://github.com/cogentcore/core__;!!LIr3w8kk_Xxm!pR8HdQErucCESrElftikqlvnm_OHz3l9WXGvbAVrDiY1jsOWxSAMXvJDp1EC7seB5RVI4blp4yew6hc$
>
> For a sample of what is possible with the new system, here is a very quick start on the website, which is auto-generated from docs/*.md markdown files, and is actually a WASM Go app entirely written in the new framework!  https://urldefense.com/v3/__https://www.cogentcore.org/core/__;!!LIr3w8kk_Xxm!pR8HdQErucCESrElftikqlvnm_OHz3l9WXGvbAVrDiY1jsOWxSAMXvJDp1EC7seB5RVI4blpHCgiHm8$   The code shown in various places is actually extracted from the .md files, compiled, and run as part of the app, so they are "live" demos of what the code does.


>
> At some point, this means that all the textbook sims will be runnable entirely through the web.  We just need to get the WebGPU framework supported -- right now it is only 2D.
>
> - Randy
>
> > On Jan 23, 2024, at 8:40 PM, Stephen Read <re...@usc.edu> wrote:
> >
> > I wanted to have my class start installing the emergent code soon (tomorrow), but I went to review the installation instructions and discovered that the installation instructions for Gi have disappeared. For both cogentcore and the original  gi installation, if you click on both the Wiki and the Install links they just link back to the same page.  Installation instructions for both gi and the widget example are nowhere to be found.  Also, if there is a particular version of Vulkan that needs to be installed that is not mentioned either.    I would appreciate it if someone would either provide instructions or fix the links so that they work.
> >  Thanks, Steve
>
>
> --
> You received this message because you are subscribed to the Google Groups "emergent-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to emergent-user...@googlegroups.com.

Randall O'Reilly

unread,
Jan 25, 2024, 5:59:38 PM1/25/24
to Stephen Read, Michael Frank, emergen...@googlegroups.com, Krishn Bera
good point -- got rid of v1 there now. Also note that the emer repos still require going to v1, although leabra itself is still on v1, so most people will be fine just getting that from github and using go.mod it will do the right thing.

- Randy

Stephen Read

unread,
Jan 26, 2024, 3:37:18 PM1/26/24
to Randall O'Reilly, Michael Frank, emergen...@googlegroups.com, Krishn Bera

One last question.  For the mac, running the sims requires a specific, older version of Vulkan. But if you install the current source for gi and emergent do they play well with that version of Vulkan? Or do you need the most recent version?  If it plays well with the version required for the sims, then should there be some note on the gi page, that if one has already installed Vulkan, there is no need to install it again?

Steve

Randall O'Reilly

unread,
Jan 26, 2024, 3:55:20 PM1/26/24
to Stephen Read, Michael Frank, emergen...@googlegroups.com, Krishn Bera
Looks like they released 1.3.275.0 on Jan 17, and it is now working again! So the bottom line: do NOT install 268.1 -- otherwise any version of Vulkan should work for any (reasonably recent) version of gi / emergent.

- Randy
> > > For a sample of what is possible with the new system, here is a very quick start on the website, which is auto-generated from docs/*.md markdown files, and is actually a WASM Go app entirely written in the new framework!https://urldefense.com/v3/__https://www.cogentcore.org/core/__;!!LIr3w8kk_Xxm!pR8HdQErucCESrElftikqlvnm_OHz3l9WXGvbAVrDiY1jsOWxSAMXvJDp1EC7seB5RVI4blpHCgiHm8$ The code shown in various places is actually extracted from the .md files, compiled, and run as part of the app, so they are "live" demos of what the code does.

Stephen Read

unread,
Jan 26, 2024, 4:02:43 PM1/26/24
to Randall O'Reilly, Michael Frank, emergen...@googlegroups.com, Krishn Bera

Great! Thanks, Steve

Randall O'Reilly

unread,
Jan 30, 2024, 1:35:38 PM1/30/24
to Stephen Read, Michael Frank, emergen...@googlegroups.com, Krishn Bera
Actually hold off on updating to the latest version -- it is hanging when resizing windows. Best to use 261.1

- Randy

Stephen Read

unread,
Jan 30, 2024, 1:44:42 PM1/30/24
to Randall O'Reilly, Michael Frank, emergen...@googlegroups.com, Krishn Bera

Okay, thanks.

Reply all
Reply to author
Forward
0 new messages