FreeBSD Bugzilla – Attachment 197408 Details for
Bug 231641
cad/scotch: Change from net/mpich2 to net/mpich
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
testcase.cc
testcase.cc (text/plain), 752 bytes, created by
Yuri Victorovich
on 2018-09-23 17:35:15 UTC
(
hide
)
Description:
testcase.cc
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2018-09-23 17:35:15 UTC
Size:
752 bytes
patch
obsolete
>#define MPICH_IGNORE_CXX_SEEK 1 >#include <stdint.h> >#include <stdio.h> >#include <mpi.h> >#include <ptscotch.h> >#include <iostream> >#include <cstdlib> > >int main() { > int provided; > SCOTCH_Dgraph dgrafdat; > > MPI_Init_thread(0, 0, MPI_THREAD_MULTIPLE, &provided); > > if (SCOTCH_dgraphInit(&dgrafdat, MPI_COMM_WORLD) != 0) { > if (MPI_THREAD_MULTIPLE > provided) { > std::cout << "MPI implementation is not thread-safe:" << std::endl; > std::cout << "SCOTCH should be compiled without SCOTCH_PTHREAD" << std::endl; > exit(1); > } > else { > std::cout << "libptscotch linked to libscotch or other unknown error" << std::endl; > exit(2); > } > } > else { > SCOTCH_dgraphExit(&dgrafdat); > } > > MPI_Finalize(); > > return 0; >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 231641
:
197407
| 197408