Skip to content

Instantly share code, notes, and snippets.

View iliiliiliili's full-sized avatar

Illia Oleksiienko iliiliiliili

View GitHub Profile
@iliiliiliili
iliiliiliili / compile.txt
Created March 9, 2019 13:09
MS MPI Windows 10 g++
1. Install MSMPIv6, MSMPIv10 will throw error: '_Out_writes_' has not been declared.
Execute both msmpisdk.msi and msmpisetup.exe
2. copy "%windir%/system32/msmpi.dll" to your project root folder
3. run g++ -I "<PATH TO MPI_INC (%MPI_INC% or C:\Program Files (x86)\Microsoft SDKs\MPI\Include)>" -L . -lmsmpi -g <cpp file name> -o <exe filel name>
if you will not include MPI_INC, you will get
mpi.h: No such file or directory
@iliiliiliili
iliiliiliili / ubuntu-cli-install-and-run-avd.sh
Last active March 19, 2019 13:57
Install android-sdk for cli ubuntu and run android emulator as daemon for selected android API level
#!/bin/bash
#################################
# run from home directory #
#################################
#If you want to run it on GCP, you need to create nested-vm
#It will prompt you on Java instalation and avd creation
#You may need to run source ~/.bashrc after