This file contains 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
#include <algorithm> | |
#include <limits.h> | |
#include <time.h> | |
#include <stdlib.h> | |
#include <mpi.h> | |
#include <assert.h> | |
#include <map> | |
#include "mis.h" |
This file contains 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
cwsmith@jenga:testMIS$ mpirun -np 4 ./testMIS | |
|V| = 4 | |
running test_EastWestNet_EastWestAdjacent... | |
[0] has nbor 3 | |
[0] has nbor 1 | |
DEBUG bsp after [0] sending to 1 | |
DEBUG bsp after [0] sending to 3 | |
DEBUG [0] sending to 3 (3) | |
DEBUG [0] sending to 1 (1) | |
[1] has nbor 0 |
This file contains 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
#include <stdio.h> | |
#include <set> | |
#include <vector> | |
#include "mis.h" | |
#include "mpi.h" | |
using std::set; | |
using std::vector; | |
/** |
This file contains 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
mis.h | |
================== | |
#define PARMA_MAJOR_VERSION 1 | |
#define PARMA_MINOR_VERSION 0 | |
#define PARMA_PATCH_VERSION 170:177M | |
void mis_init(int randNumSeed, const char* maj, const char* min, const char* patch); | |
//#define misInit(seed) printf("misInit: %d\n", seed) | |
#define misInit(seed) mis_init(seed, PARMA_MAJOR_VERSION, PARMA_MINOR_VERSION, PARMA_PATCH_VERSION) |
This file contains 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 | |
#This is a build script for the SCOREC software stack. | |
#users should first modify the CC, CXX, and FC variables below: | |
#set the C and C++ compilers to point at MPI compiler wrappers | |
export CC="not set" | |
export CXX="not set" | |
export FC="not set" | |
PREFIX="not set" | |
DEBUG='-g ' | |
BUILD_DIR="not set" |
This file contains 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
module load xl | |
mpicxx mallocStatsTest.cc -o mallocStatsTestXL |
This file contains 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
/* This program should be run on a single Blue Gene/Q node | |
* using 5 or more parallel processes and 8 threads per process. | |
* Run the program with: | |
* mpirun -np 5 ./deadlock 8 | |
* where 8 specifies number of threads per process. | |
* It has a high probability of going into a deadlocked state | |
* (or at least timing out at 5~10 minutes). | |
* The probability increases as LOOPS is increased. */ | |
#include <mpi.h> |
This file contains 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
#include <mpi.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int main(int argc, char **argv) { | |
int rank, nprocs; | |
MPI_File file; | |
MPI_Init(&argc, &argv); | |
MPI_Comm_size(MPI_COMM_WORLD, &nprocs); |
This file contains 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
cd /work/02422/cwsmith/phastaShared/phastaGH/buildIntel15/phSolver/compressible \ | |
/opt/apps/intel/15/composer_xe_2015.2.164/bin/intel64/icpc \ | |
-mmic \ | |
-g \ | |
CMakeFiles/phastaC.exe.dir/main.c.o \ | |
-o \ | |
../../bin/phastaC.exe \ | |
-rdynamic \ | |
/opt/apps/intel15/impi/5.0.2.044/mic/lib/libmpicxx.so \ |
This file contains 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
TACC: Starting up job 5198658 | |
TACC: Starting parallel tasks... | |
# Command used to run job in: /home1/02422/cwsmith/.slurm/job.5198658.runcmd.QH2ZVF1r | |
[0] MPI startup(): Multi-threaded optimized library | |
[0] DAPL startup(): trying to open DAPL provider from I_MPI_DAPL_PROVIDER: ofa-v2-mlx4_0-1u | |
[1] DAPL startup(): trying to open DAPL provider from I_MPI_DAPL_PROVIDER: ofa-v2-mlx4_0-1u | |
[2] DAPL startup(): trying to open DAPL provider from I_MPI_DAPL_PROVIDER: ofa-v2-mlx4_0-1u | |
[3] DAPL startup(): trying to open DAPL provider from I_MPI_DAPL_PROVIDER: ofa-v2-mlx4_0-1u | |
[4] DAPL startup(): trying to open DAPL provider from I_MPI_DAPL_PROVIDER: ofa-v2-mlx4_0-1u | |
[5] DAPL startup(): trying to open DAPL provider from I_MPI_DAPL_PROVIDER: ofa-v2-mlx4_0-1u |
OlderNewer