-
Notifications
You must be signed in to change notification settings - Fork 9
Getting Started on Mac
Lisa Malenfant edited this page Apr 23, 2017
·
6 revisions
- An installation of git. To install on El Capitan, download from git-scm.com and install. Bring up a terminal window and type
git --version
A window will pop-up asking to install the git developers tools -> click "Install". Now the command "git --version" should show the version of git installed.
- An installation of mono. Download from mono-project.com and install. To get terminal commandline capabilities for mono, type
export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin/:${PATH}
Clone the source code from GitHub using the command:
git clone https://github.com/VirtualPhotonics/vts.git
This will create a directory "vts" in your current directory.
- Using commandline:
cd vts
./GetMonoLibs.sh
./MonoBuild.sh
To execute any application, e.g. Monte Carlo CommandLine (MCCL):
cd src/Vts.MonteCarlo.CommandLineApplication/bin/Debug
To generate sample infiles for MCCL
mono mc.exe geninfiles
To run MCCL with sample infile
mono mc.exe infile=infile_one_layer_all_detectors.txt
Virtual Photonics Technology Initiative
Project Site | Discussion | Education