[CCPPETMR/CCPPETMR_VM] update to Ubuntu 18.04 (#104)

0 views
Skip to first unread message

Kris Thielemans

unread,
Dec 4, 2018, 5:19:46 PM12/4/18
to CCPPETMR/CCPPETMR_VM, Subscribed

You can view, comment on, or merge this pull request online at:

  https://github.com/CCPPETMR/CCPPETMR_VM/pull/104

Commit Summary

  • additional packages for ubuntu18.04
  • add path to local user binary directory
  • Added vagrantfile for 18.04
  • use ubuntu18.04 branch of SIRF-SuperBuild
  • remove install of gcc 6

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Kris Thielemans

unread,
Dec 8, 2018, 5:12:30 PM12/8/18
to CCPPETMR/CCPPETMR_VM, Push

@KrisThielemans pushed 2 commits.

  • 2466063 Merge branch 'master' into ubuntu18.04
  • 4896b68 remove checkout of ubuntu18.04 SIF-SuperBuild tag


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Kris Thielemans

unread,
Dec 15, 2018, 3:37:57 AM12/15/18
to CCPPETMR/CCPPETMR_VM, Push

@KrisThielemans pushed 1 commit.

  • d2de514 Fix and improve pip-install of python packages


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Kris Thielemans

unread,
Dec 15, 2018, 6:47:49 AM12/15/18
to CCPPETMR/CCPPETMR_VM, Push

@KrisThielemans pushed 1 commit.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Dec 15, 2018, 8:17:30 AM12/15/18
to CCPPETMR/CCPPETMR_VM, Subscribed

Vagrant suggests to use bento boxes as base boxes for different linux flavours.

We could/should change to bento/ubuntu-18.04.

Edoardo Pasca

unread,
Dec 17, 2018, 8:28:23 AM12/17/18
to CCPPETMR/CCPPETMR_VM, Subscribed

I'm trying to vagrant up but it's failing like

A customization command failed:

["storageattach", :id, "--storagectl", "IDE", "--port", "1", "--device", "0", "--type", "dvddrive", "--medium", "emptydrive"]

The following error was experienced:

#<Vagrant::Errors::VBoxManageError: There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["storageattach", "d7c7b264-e7bd-48e5-a8e2-f991b116557b", "--storagectl", "IDE", "--port", "1", "--device", "0", "--type", "dvddrive", "--medium", "emptydrive"]

Stderr: VBoxManage.exe: error: Could not find a controller named 'IDE'
>

Please fix this customization and try again.

Edoardo Pasca

unread,
Feb 4, 2019, 5:11:31 AM2/4/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 4 commits.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Feb 4, 2019, 11:00:55 AM2/4/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 2 commits.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Feb 8, 2019, 5:20:40 AM2/8/19
to CCPPETMR/CCPPETMR_VM, Subscribed

That error is due to the name of the "--storagectl", "IDE" which should be IDE Controller

Edoardo Pasca

unread,
Feb 8, 2019, 11:13:39 AM2/8/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 2 commits.

  • b0a6e76 add port forwarding, add 32 Mb video ram, 50 Gb HDD
  • 9c41fb5 use system boost


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Feb 8, 2019, 11:16:00 AM2/8/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Feb 8, 2019, 11:20:46 AM2/8/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.

  • ad2d659 removed links to specific VM and SuperBuild branches


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Feb 8, 2019, 11:28:43 AM2/8/19
to CCPPETMR/CCPPETMR_VM, Subscribed

This branch creates a VM that works fine with ubuntu18.04 SuperBuild branch.

Tests and notebooks (running on VM and accessed from host) work.

Requires CCPPETMR/SIRF-SuperBuild#149

Edoardo Pasca

unread,
Feb 25, 2019, 4:44:39 AM2/25/19
to CCPPETMR/CCPPETMR_VM, Subscribed

Kris Thielemans

unread,
Mar 3, 2019, 3:19:40 AM3/3/19
to CCPPETMR/CCPPETMR_VM, Subscribed

@KrisThielemans commented on this pull request.

Looks fine to me (some trailing white spaces) but I haven't tested it.

Please add lines to CHANGES.md (upgrade ubuntu, do port forwarding, don't install firefox)

Kris Thielemans

unread,
Mar 3, 2019, 3:47:15 AM3/3/19
to CCPPETMR/CCPPETMR_VM, Push

@KrisThielemans pushed 2 commits.

  • 8d9ba4f use globbing for resetting *URL and *TAG
  • 486eb75 set USE_ITK=ON


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Mar 4, 2019, 4:43:49 AM3/4/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 3 commits.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Mar 4, 2019, 5:23:11 AM3/4/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 3 commits.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Mar 4, 2019, 6:30:18 AM3/4/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Mar 4, 2019, 7:05:26 AM3/4/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 2 commits.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Mar 8, 2019, 7:10:59 AM3/8/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.

  • 7472310 added bootstrap_ubuntu.sh script


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Mar 14, 2019, 12:42:47 PM3/14/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.

  • dd8098c install missing boost libraries


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Mar 15, 2019, 7:42:02 AM3/15/19
to CCPPETMR/CCPPETMR_VM, Subscribed

closes #94

Edoardo Pasca

unread,
Mar 15, 2019, 7:45:10 AM3/15/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 2 commits.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Mar 15, 2019, 1:03:21 PM3/15/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.

  • e2b60c1 builds ubuntu18.04 SuperBuild


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Mar 15, 2019, 1:11:52 PM3/15/19
to CCPPETMR/CCPPETMR_VM, Subscribed

probably needs CCPPETMR/SIRF-SuperBuild#220

The VM gets created correctly on the ubuntu18.04 branch of the SuperBuild

Edoardo Pasca

unread,
Mar 15, 2019, 1:14:53 PM3/15/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 2 commits.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Mar 22, 2019, 9:10:38 AM3/22/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 3 commits.

Edoardo Pasca

unread,
Mar 22, 2019, 9:32:23 AM3/22/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.

Edoardo Pasca

unread,
Mar 22, 2019, 10:15:50 AM3/22/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.

  • ce6ea7f checks if user and homedir is already created

Edoardo Pasca

unread,
Mar 23, 2019, 8:45:13 AM3/23/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.

Edoardo Pasca

unread,
Mar 23, 2019, 8:48:36 AM3/23/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.

Edoardo Pasca

unread,
Mar 23, 2019, 8:51:54 AM3/23/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.

Kris Thielemans

unread,
Apr 9, 2019, 4:50:07 PM4/9/19
to CCPPETMR/CCPPETMR_VM, Subscribed

@KrisThielemans commented on this pull request.

Also will need to change SIRF_VM_VERSION in `UPDATE.sh


In scripts/bootstrap_ubuntu.sh:

> +# Could add custom logos here: /etc/gdm3/greeter.dconf-defaults 
+
+userHOME=/home/$SIRFUSERNAME
+
+if [ ! -d $userHOME/devel ]; then
+  mkdir $userHOME/devel 
+fi
+cd $userHOME/devel
+
+if [ ! -d $userHOME/devel/CCPPETMR_VM ]; then
+  git clone https://github.com/CCPPETMR/CCPPETMR_VM.git
+  cd CCPPETMR_VM
+  git checkout ubuntu18.04
+else
+  cd CCPPETMR_VM
+  git checkout ubuntu18.04

will need to change


In scripts/bootstrap_ubuntu.sh:

> +
+  # To remove the Ubuntu user from VM:
+#sudo deluser --remove-home ubuntu
+# Could add custom logos here: /etc/gdm3/greeter.dconf-defaults 
+
+userHOME=/home/$SIRFUSERNAME
+
+if [ ! -d $userHOME/devel ]; then
+  mkdir $userHOME/devel 
+fi
+cd $userHOME/devel
+
+if [ ! -d $userHOME/devel/CCPPETMR_VM ]; then
+  git clone https://github.com/CCPPETMR/CCPPETMR_VM.git
+  cd CCPPETMR_VM
+  git checkout ubuntu18.04

will need to change


In scripts/bootstrap_ubuntu.sh:

> +  git pull
+fi
+
+
+
+bash $userHOME/devel/CCPPETMR_VM/scripts/INSTALL_prerequisites_with_apt-get.sh
+bash $userHOME/devel/CCPPETMR_VM/scripts/INSTALL_CMake.sh /usr/local
+bash $userHOME/devel/CCPPETMR_VM/scripts/INSTALL_python_packages.sh
+
+# port 8888 is forwarded to 8888 so the user can use the host browser
+# Therefore no browser is installed on the VM
+python -m pip install jupyter
+python -m pip install spyder
+
+chown -R $SIRFUSERNAME:users $userHOME
+# the ubuntu18.04 branch latest commit

delete


In vagrant/Vagrantfile:

>         ]
-	vb.name = "SIRF_1.1.1"
+	vb.name = "SIRFCIL_2.0_18.04"

remove CIL


In CHANGES.md:

> @@ -1,5 +1,13 @@
 # ChangeLog
 
+## 2.0rc1
+- upgraded to Ubuntu 18.04
+- add port forwarding (8888 -> 8888 for jupyter)

and gadgetron?


You are receiving this because you are subscribed to this thread.

Reply to this email directly, view it on GitHub, or mute the thread.

Edoardo Pasca

unread,
Apr 9, 2019, 6:26:05 PM4/9/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.

  • 0be5275 install spyder and jupyter in pip script


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Apr 9, 2019, 7:03:30 PM4/9/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.

Kris Thielemans

unread,
Apr 9, 2019, 9:38:25 PM4/9/19
to CCPPETMR/CCPPETMR_VM, Subscribed

will need to update CHANGES.md


You are receiving this because you are subscribed to this thread.

Reply to this email directly, view it on GitHub, or mute the thread.

Edoardo Pasca

unread,
Apr 10, 2019, 5:40:28 AM4/10/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Apr 10, 2019, 5:47:37 AM4/10/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.

  • 3c04559 info on manual step to configure ip for jupyter

Edoardo Pasca

unread,
Apr 10, 2019, 8:01:30 AM4/10/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 5 commits.

  • 9e39448 add info on jupyter config
  • 98069ce removed reference to specific branches
  • d2ed794 updated VM name
  • eabb9f5 add new version
  • df0c4b2 Merge remote-tracking branch 'origin/master' into ubuntu18.04

Edoardo Pasca

unread,
Apr 10, 2019, 8:03:58 AM4/10/19
to CCPPETMR/CCPPETMR_VM, Subscribed

@paskino commented on this pull request.


In CHANGES.md:

> @@ -1,5 +1,13 @@
 # ChangeLog
 
+## 2.0rc1
+- upgraded to Ubuntu 18.04
+- add port forwarding (8888 -> 8888 for jupyter)

Do we have to document it also here?


You are receiving this because you are subscribed to this thread.

Reply to this email directly, view it on GitHub, or mute the thread.

Edoardo Pasca

unread,
Apr 10, 2019, 8:09:51 AM4/10/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Apr 10, 2019, 8:10:57 AM4/10/19
to CCPPETMR/CCPPETMR_VM, Subscribed

@paskino commented on this pull request.


In CHANGES.md:

> @@ -1,5 +1,13 @@
 # ChangeLog
 
+## 2.0rc1
+- upgraded to Ubuntu 18.04
+- add port forwarding (8888 -> 8888 for jupyter)

done it


You are receiving this because you are subscribed to this thread.

Reply to this email directly, view it on GitHub, or mute the thread.

Edoardo Pasca

unread,
Apr 10, 2019, 8:13:29 AM4/10/19
to CCPPETMR/CCPPETMR_VM, Push

@paskino pushed 1 commit.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Apr 10, 2019, 8:16:01 AM4/10/19
to CCPPETMR/CCPPETMR_VM, Subscribed

Merged #104 into master.


You are receiving this because you are subscribed to this thread.

Reply to this email directly, view it on GitHub, or mute the thread.

Reply all
Reply to author
Forward
0 new messages