ompi-x / moc Goto Github PK
View Code? Open in Web Editor NEWMPI Open MP Coordination library
MPI Open MP Coordination library
Copyright statements are missing in src/moc.c and outdated in test/simple_test.c
Add support to MOC to use generic (unmodified) OpenMP runtime, but define the OMP_PLACES
value as a function of the MPI ranks (i.e., OMPI_PLACES
defined in MOC_Init() before OpenMP initialized).
This should be enabled/disabled at compile time to avoid any unexpected interactions when using a modified OMP runtime (e.g., libomp
).
NOTE: Focus on OpenMP threads (places) on "cores" use case first. Also, avoid NUMA case at first because we do not have hwloc/fine-grained info.
Target use cases (in order of interest/priority):
For now, I am using a handwritten Makefile to compile mpi_omp_hello.c
CC=clang
CFLAGS=-fopenmp
MPI_COMPILE_FLAGS=$(shell mpicc --showme:compile)
MPI_LINK_FLAGS=$(shell mpicc --showme:link)
all: mpi_omp_hello
mpi_omp_hello: mpi_omp_hello.c
$(CC) -I/home/gvh/projects/OMPIX/codes/install/llvm/include \
-I/home/gvh/projects/OMPIX/install/pmix/include \
-I/home/gvh/projects/OMPIX/install/moc/include \
-L/home/gvh/projects/OMPIX/install/pmix/lib \
-L/home/gvh/projects/OMPIX/install/moc/lib \
$(MPI_COMPILE_FLAGS) $(CFLAGS) $(MPI_LINK_FLAGS) \
-o mpi_omp_hello mpi_omp_hello.c -lpmix -lmoc
clean:
rm -f mpi_omp_hello
We want to be able to support two different contexts:
Since these modes are not compatible, a configure/compile-time option is acceptable. Documentation is required.
Setup the build environment on Summitdev for the "vanilla" OMP (no modifications to OpenMP) case. This will require OpenMPI (libevent, pmix, ompi) and MOC (ompi, pmix) and a proper LLVM/Clang.
Note: Install into stf010
area.
tjn-myrank-place-vanilla
)A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.