Skip to content

Instantly share code, notes, and snippets.

@echo off
REM #################################################################################
REM
REM usage:
REM egs-parallel.bat (or double-click on this file)
REM
REM #################################################################################
REM # ask about command and number of processes
@ftessier
ftessier / egs-parallel.sh
Last active October 21, 2022 10:39
EGSnrc bash script to manually run jobs in parallel
#!/bin/bash
#####################################################################################
#
# usage:
#
# egs-parallel.sh <n> <command>
# n: number of jobs
# command: EGSnrc command you want to run in parallel
#