Skip to content

Vagrant VM with ebitsim installed along with pypy3 and needed libraries

Notifications You must be signed in to change notification settings

TITANCollaboration/ebitsim_vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

ebitsim_vagrant

This is a fully functional Vagrantfile for use with Vagrant. It contains the EBITSIM software and pypy3 with all dependencies.


Linux & Windows 10 64bit instructions, you just don't need the reboot on linux:

Download Virtual Box from https://www.virtualbox.org/ (Probably 6.0, not 6.1 currently)

Download Vagrant from https://www.vagrantup.com/

Restart PC (Installation may ask to reboot).

Download Vagrantfile file from the link into its own directory : https://github.com/TITANCollaboration/ebitsim_vagrant

Change to the directory where you put the Vagrantfile

Use command ‘vagrant up’; This will download all the files required.

Use command ‘vagrant ssh’ to login to virtual machine.

When finished working with VM, use command 'vagrant halt' to shut down virtual machine and free up RAM.


If this is your first time running this or just a good practice do the following to ensure the simulation code is up to date:

cd ebitsim
git pull

From the ebitsim directory you can run the simulation via : pypy3 ./ebitsim.py

Notes from original ebitsim project

Example usage :

Using command line arguments:

pypy3 ebitsim.py -z 51 -a 129 --chargeStates 46 47 48 49 50 51 --beamEnergy=25000.0 --breedingTime=12.0 --outputFile=BE25_I0.02_SB51_46_51.png

Using config file:

pypy3 ebitsim.py --configFile ebitsim.cfg


Grabbed periodic table of elements csv from : https://gist.github.com/GoodmanSciences/c2dd862cd38f21b0ad36b8f96b4bf1ee - Thank you!

Copy files from VM to PC folder

'/vagrant' is a symlink for local 'ebitsim' folder.

cp FILENAME.png /vagrant

About

Vagrant VM with ebitsim installed along with pypy3 and needed libraries

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published