Skip to content

Instantly share code, notes, and snippets.

View wahalulu's full-sized avatar

Marck Vaisman wahalulu

View GitHub Profile

App Install Plan

Critical

#run from the compute node
source /opt/intel/impi/5.1.3.181/bin64/mpivars.sh
mpirun -hosts 10.0.0.4,10.0.0.5 -env I_MPI_FABRICS=shm:dapl -env I_MPI_DAPL_PROVIDER=ofa-v2-ib0 -env I_MPI_DYNAMIC_CONNECTION=0 -ppn 1 -n 2 /opt/intel/impi/5.1.3.181/bin64/IMB-MPI1 pingpong
# =============
# === Setup ===
# =============
# install packages
library(devtools)
install_github("azure/razurebatch")
install_github("azure/doazureparallel")
# import the doAzureParallel library and its dependencies
# install the package devtools
install.packages("devtools")
library(devtools)
# install the doAzureParallel and rAzureBatch package
install_github(c("Azure/rAzureBatch", "Azure/doAzureParallel"))
@wahalulu
wahalulu / gist:b60273cffa0087fcb94238d4a58afcf5
Created January 27, 2017 15:09 — forked from jimbojsb/gist:1630790
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

@wahalulu
wahalulu / install-rstudio-server.sh
Created November 14, 2016 00:30 — forked from cosmincatalin/install-rstudio-server.sh
AWS EMR bootstrap to install RStudio Server along with sparklyr
#!/bin/bash
# These variables can be overwritten using the arguments bellow
VERSION="1.0.110"
# drwho is listed as user in YARN's Resource Manager UI.
USER="drwho"
# Depending on where the EMR cluster lives, you might have to change this to avoid security issues.
# To change the default password (and user), use the arguments bellow.
# If the cluster is not visible on the Internet, you can just leave the defaults for convenience.
PASS="tardis"
@wahalulu
wahalulu / rstudio_sparkr_emr4.sh
Created November 13, 2016 23:03 — forked from tomz/rstudio_sparkr_emr4.sh
rstudio_sparkr_emr4.sh
#!/bin/bash
set -x -e
# Usage:
# --no-rstudio - don't install rstudio-server
# --sparklyr - install RStudio's sparklyr package
# --sparkr - install SparkR package
# --shiny - install Shiny server
#
# --user - set user for rstudio, default "hadoop"
@wahalulu
wahalulu / rstudio_sparkr_emr4-proc.sh
Created November 13, 2016 23:03 — forked from tomz/rstudio_sparkr_emr4-proc.sh
rstudio_sparkr_emr4-proc.sh
#!/bin/bash
set -x -e
# AWS EMR bootstrap script
# for installing open-source R (www.r-project.org) with RHadoop packages and RStudio on AWS EMR
#
# tested with AMI 4.0.0 (hadoop 2.6.0)
#
# schmidbe@amazon.de
# 24. September 2014
@wahalulu
wahalulu / # gcc - 2016-08-14_22-44-11.txt
Created August 15, 2016 14:10
gcc on Mac OS X 10.10.5 - Homebrew build logs
Homebrew build logs for gcc on Mac OS X 10.10.5
Build date: 2016-08-14 22:44:11
@wahalulu
wahalulu / Makefile
Created April 5, 2016 15:27 — forked from lmullen/Makefile
PDF slides and handouts using Pandoc and Beamer
SLIDES := $(patsubst %.md,%.md.slides.pdf,$(wildcard *.md))
HANDOUTS := $(patsubst %.md,%.md.handout.pdf,$(wildcard *.md))
all : $(SLIDES) $(HANDOUTS)
%.md.slides.pdf : %.md
pandoc $^ -t beamer --slide-level 2 -o $@
%.md.handout.pdf : %.md
pandoc $^ -t beamer --slide-level 2 -V handout -o $@