This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |