-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started on Mac
Carole Hayakawa edited this page Jul 2, 2020
·
15 revisions
These instructions describe how to clone the source code on OSX and build it
- An installation of git. To install on OSX, bring up a terminal window
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew install git
- An installation of dotnet core 3.1 runtime for MacOS (https://dotnet.microsoft.com/download/dotnet-core/3.1)
- An installation of powershell, on OSX the commands are:
brew cask install powershell
pwsh
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 powershell:
cd vts
pwsh
./BuildTestRelease.ps1
exit
To execute any application, e.g. Monte Carlo CommandLine (MCCL):
cd src/Vts.MonteCarlo.CommandLineApplication/bin/Debug/netcoreapp2.1
To generate sample infiles for MCCL
dotnet mc.dll geninfiles
To run MCCL with sample infile
dotnet mc.dll infile=infile_one_layer_all_detectors.txt
Virtual Photonics Technology Initiative
Project Site | Discussion | Education
- Getting Started
- Editing infiles
- Examples
- Capabilities & Implementation
- Source, Tissue, Detector Options
- Post Processor
- Inverse Solutions
- Parallel Processing
- Validation & Comparison with MCML
- References
- FAQ
- Downloads & Latest Release