1.23
2.0
acw/focus-triggers
main
test-branch
|
Last change
on this file since 4de7516 was a96092d, checked in by Ziqing Luo <ziqing@…>, 12 years ago |
|
add new mpi example: mpi_pi and 2 test cases for MPI_Sys_status
some cvl programs have to be changed for new scheme of MPI_Sys_status
git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@1753 fb995dde-84ed-4084-dfe6-e5aef3e2452c
|
-
Property mode
set to
100644
|
|
File size:
172 bytes
|
| Line | |
|---|
| 1 | #include <mpi.h>
|
|---|
| 2 |
|
|---|
| 3 | #ifdef _CIVL
|
|---|
| 4 | $input int _NPROCS = 2;
|
|---|
| 5 | #endif
|
|---|
| 6 |
|
|---|
| 7 | int main(int argc, char * argv[]) {
|
|---|
| 8 | int rank;
|
|---|
| 9 |
|
|---|
| 10 | MPI_Comm_rank(MPI_COMM_WORLD, &rank);
|
|---|
| 11 | MPI_Finalize();
|
|---|
| 12 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.