Skip to content

Repo to generate a virtualbox machine from scratch for deal.II and ASPECT

Notifications You must be signed in to change notification settings

tjhei/dealii-vm

Repository files navigation

dealii-vm

Generate a virtualbox machine from scratch for deal.II and ASPECT

binaries available online at http://www.math.clemson.edu/~heister/dealvm/

Howto:

  1. Get candi:

    git clone https://github.com/dealii/candi
    
  2. Get vagrant from https://www.vagrantup.com/ and the vagrant disksize plugin:

    vagrant plugin install vagrant-disksize
    vagrant up
    
  3. compilation:

    cd ~/libs && ./setup.sh
    cd ~/deal.II/ && ./setup.sh && make clean
    cd ~/aspect && ./_setup.sh && make && mv aspect aspect.debug && make clean && mv aspect.debug aspect
    
  4. Manual setup:

  1. For releasing the image:
    • update software: apt-get update && apt-get upgrade && apt-get autoremove && apt-get autoclean
    • remove deal.II build files
    • run zerofree to remove disk size (need to boot into safe mode using ESC): reboot into recovery systemctl stop systemd-journald.socket systemctl stop systemd-journald.service echo u >/proc/sysrq-trigger mount -n -o remount,ro -t ext4 /dev/sda1 / zerofree -v /dev/sda1 also see https://wiki.ubuntu.com/RecoveryMode
    • remove shared vagrant folder
    • set to 2 cores, 7GB RAM
    • serial port: disconnected
    • export virtual machine after shutting down: product URL: https://www.math.clemson.edu/~heister/dealvm/ name: deal.II VM
    • git tag -s -m "Version 1.15.0" v1.15.0 && git push mygithub HEAD v1.15.0

About

Repo to generate a virtualbox machine from scratch for deal.II and ASPECT

Resources

Stars

Watchers

Forks

Packages

No packages published