-
Notifications
You must be signed in to change notification settings - Fork 0
Monte Carlo
Carole Hayakawa edited this page Jul 2, 2020
·
6 revisions
- An installation of git. To install on Ubuntu 18.04, bring up a terminal window and type:
sudo apt-get update
sudo apt-get install git
git config --global user.name "yournamehere"
git config --global user.email "youremailaddresshere"
- An installation of dotnet 3.1 runtime, on Ubuntu 18.04 the commands are:
wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update; \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y aspnetcore-runtime-3.1
- An installation of powershell, on Ubuntu 19.04 the commands are:
# Download the Microsoft repository GPG keys
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
# Register the Microsoft repository GPG keys
sudo dpkg -i packages-microsoft-prod.deb
# Update the list of products
sudo apt-get update
# Enable the "universe" repositories
sudo add-apt-repository universe
# Install PowerShell
sudo apt-get install -y powershell
# Start 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
To generate sample infiles for MCCL
./mc geninfiles
To run MCCL with sample infile
./mc 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