Comments (3)
It would be nice to have this documented in the OpenMPI documentation.
Agreed, should probably be documented better @Akshay-Venkatesh
@gonzalobg Thanks for the proposal, would you mind joining a dev call and pitch the proposal?
from ompi.
For mpi applications just the wrapper will do.
For building .cu object files and link with mpi.
Build the .cu objects and .c objects, and link them with the mpi wrapper.
from ompi.
Thanks. This:
module load mpi cuda
mpicc -c main.c -o main.o
nvcc -c multiply.cu -o multiply.o
mpicc main.o multiply.o -lcudart
does not cover how to build a main.cu
with the mpi wrapper.
That is, given a single GPU application in which all files, including main.cu
, are .cu
files, and a user wants to drop in some MPI calls here and there to turn it into a multi-GPU application, how does the user do that?
It would be nice to have this documented in the OpenMPI documentation.
Ideally it would be as easy as:
modue load mpi cuda
mpi___ -c main.cu -o main.o
mpi___ -c multiply.cu -o multiply.o
mpi___ main.o multiply.o
from ompi.
Related Issues (20)
- Installation problem with HWLOC HOT 14
- Compilation error HOT 7
- OMPI 5.0 segfault at startup with "uct_md.c:203 UCX ERROR" error unless -mca btl ^uct is added HOT 4
- Fault tolerance for node failure HOT 3
- Proposal: provide mpiacc wrapper script HOT 3
- btl/self is not accelerator aware
- osu_bcast fails with OFI cxi provider when using CUDA device buffers HOT 2
- TCP BTL fails to collect all interface addresses (when interfaces are on different subnets) HOT 35
- btl/ofi selects libfabric shm provider with libfabric 1.20+ HOT 3
- cpu-set/cpu-list/pe-list no longer understand CPU range syntax HOT 2
- Cannot launch mpirun on raspberry pi from Mac ( tcp_peer_recv_connect_ack: received unexpected process identifier) HOT 3
- error when install openmpi 4.1.5 HOT 3
- MTT create_group and inter-comm test failure due to #12223 HOT 1
- problem linking mpi memory routines from C++ HOT 21
- OSHMEM requests potentially destroyed more than once HOT 2
- shmem_init fails in ompi_comm_activate_nb HOT 2
- osc/rdma does not select btl/sm for intra-node communications HOT 8
- mpifort does not pass -I/usr/include to gfortran HOT 3
- ULFM is broken for intercommunicators HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ompi.