Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TESTS, Examples: Add comment for MPI_THREAD_MULTIPLE #3293

Merged
merged 2 commits into from
Aug 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/basics/globalArray/globalArray_write.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ int main(int argc, char *argv[])
int rank = 0, nproc = 1;
#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &nproc);
Expand Down
2 changes: 2 additions & 0 deletions examples/basics/joinedArray/joinedArray_write.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ int main(int argc, char *argv[])
#if ADIOS2_USE_MPI
int nproc = 1;
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &nproc);
Expand Down
2 changes: 2 additions & 0 deletions examples/basics/localArray/localArray_write.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ int main(int argc, char *argv[])
#if ADIOS2_USE_MPI
int nproc = 1;
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &nproc);
Expand Down
2 changes: 2 additions & 0 deletions examples/basics/values/values_write.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ int main(int argc, char *argv[])
int rank = 0, nproc = 1;
#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &nproc);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
int main(int argc, char *argv[])
{
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down
1 change: 1 addition & 0 deletions examples/heatTransfer/read/heatRead.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ int main(int argc, char *argv[])
threadSupportLevel = MPI_THREAD_MULTIPLE;
}

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, threadSupportLevel, &provided);

/* When writer and reader is launched together with a single mpirun command,
Expand Down
1 change: 1 addition & 0 deletions examples/heatTransfer/write/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ int main(int argc, char *argv[])
threadSupportLevel = MPI_THREAD_MULTIPLE;
}

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, threadSupportLevel, &provided);

/* When writer and reader is launched together with a single mpirun command,
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/bpAttributeWriter/helloBPAttributeWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
int main(int argc, char *argv[])
{
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/bpFWriteCRead/CppReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
int main(int argc, char *argv[])
{
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/bpFWriteCRead/CppWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
int main(int argc, char *argv[])
{
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/bpFlushWriter/helloBPFlushWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
int main(int argc, char *argv[])
{
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/bpReader/helloBPReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
int main(int argc, char *argv[])
{
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/bpReader/helloBPReaderHeatMap2D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
int main(int argc, char *argv[])
{
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/bpReader/helloBPReaderHeatMap3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
int main(int argc, char *argv[])
{
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/bpTimeWriter/helloBPTimeWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
int main(int argc, char *argv[])
{
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/bpWriter/helloBPPutDeferred.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ int main(int argc, char *argv[])

#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/bpWriter/helloBPSZ.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ int main(int argc, char *argv[])

#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/bpWriter/helloBPSubStreams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ int main(int argc, char *argv[])
int rank, size;
#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/bpWriter/helloBPWriter.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ int main(int argc, char *argv[])

#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/bpWriter/helloBPWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ int main(int argc, char *argv[])
int rank, size;
#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/datamanReader/helloDataManReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ int main(int argc, char *argv[])
{
// initialize MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &mpiRank);
MPI_Comm_size(MPI_COMM_WORLD, &mpiSize);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/datamanWriter/helloDataManWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ int main(int argc, char *argv[])
{
// initialize MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &mpiRank);
MPI_Comm_size(MPI_COMM_WORLD, &mpiSize);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/dataspacesReader/helloDataSpacesReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ int main(int argc, char *argv[])

#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/dataspacesWriter/helloDataSpacesWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ int main(int argc, char *argv[])

#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/hdf5Reader/helloHDF5Reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ void ReadData(adios2::IO h5IO, adios2::Engine &h5Reader,
int main(int argc, char *argv[])
{
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/hdf5Writer/helloHDF5Writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
int main(int argc, char *argv[])
{
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/inlineReaderWriter/helloInlineReaderWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ int main(int argc, char *argv[])
int rank = 0, size = 1;
#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/skeleton/helloSkeletonReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ int main(int argc, char *argv[])
int wrank = 0, wnproc = 1;
MPI_Comm mpiReaderComm;
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &wrank);
MPI_Comm_size(MPI_COMM_WORLD, &wnproc);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/skeleton/helloSkeletonWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ int main(int argc, char *argv[])
int wrank = 0, wnproc = 1;
MPI_Comm mpiWriterComm;
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
MPI_Comm_rank(MPI_COMM_WORLD, &wrank);
MPI_Comm_size(MPI_COMM_WORLD, &wnproc);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/sstReader/helloSstReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ int main(int argc, char *argv[])

#if ADIOS2_USE_MPI
int provide;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provide);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
Expand Down
2 changes: 2 additions & 0 deletions examples/hello/sstWriter/helloSstWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ int main(int argc, char *argv[])

#if ADIOS2_USE_MPI
int provide;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provide);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
Expand Down
2 changes: 2 additions & 0 deletions examples/query/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
int main(int argc, char *argv[])
{
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ int main(int argc, char *argv[])
int rank = 0, nproc = 1;
#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
int wrank, wnproc;
MPI_Comm_rank(MPI_COMM_WORLD, &wrank);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ int main(int argc, char *argv[])
int rank = 0, nproc = 1;
#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);
int wrank, wnproc;
MPI_Comm_rank(MPI_COMM_WORLD, &wrank);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ int main(int argc, char **argv)
{
#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(nullptr, nullptr, MPI_THREAD_MULTIPLE, &provided);
#endif

Expand Down
2 changes: 2 additions & 0 deletions testing/adios2/bindings/C/TestBPWriteAggregateReadLocal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,8 @@ int main(int argc, char **argv)
{
#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(nullptr, nullptr, MPI_THREAD_MULTIPLE, &provided);
#endif

Expand Down
2 changes: 2 additions & 0 deletions testing/adios2/bindings/C/TestBPWriteReadMultiblock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ int main(int argc, char **argv)
{
#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(nullptr, nullptr, MPI_THREAD_MULTIPLE, &provided);
#endif

Expand Down
2 changes: 2 additions & 0 deletions testing/adios2/bindings/C/TestBPWriteTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,8 @@ int main(int argc, char **argv)
{
#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(nullptr, nullptr, MPI_THREAD_MULTIPLE, &provided);
#endif

Expand Down
2 changes: 2 additions & 0 deletions testing/adios2/bindings/C/TestNullWriteRead.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ int main(int argc, char **argv)
{
#if ADIOS2_USE_MPI
int provided;

// MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
MPI_Init_thread(nullptr, nullptr, MPI_THREAD_MULTIPLE, &provided);
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ program main
external testing_adios_io_engine_default

INTEGER provided

! MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
call MPI_Init_thread(MPI_THREAD_MULTIPLE, provided, ierr)

call testing_adios_io_engine()
Expand Down
2 changes: 2 additions & 0 deletions testing/adios2/bindings/fortran/TestBPReadGlobalsByName.F90
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ program TestBPReadGlobalsByName

! Launch MPI
INTEGER provided

! MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
call MPI_Init_thread(MPI_THREAD_MULTIPLE, provided, ierr)
call MPI_Comm_rank(MPI_COMM_WORLD, irank, ierr)
call MPI_Comm_size(MPI_COMM_WORLD, isize, ierr)
Expand Down
2 changes: 2 additions & 0 deletions testing/adios2/bindings/fortran/TestBPWriteReadAttributes.F90
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ program TestBPWriteAttributes

! Launch MPI
INTEGER provided

! MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
call MPI_Init_thread(MPI_THREAD_MULTIPLE, provided, ierr)

! Create adios handler passing the communicator, debug mode and error flag
Expand Down
2 changes: 2 additions & 0 deletions testing/adios2/bindings/fortran/TestBPWriteTypes.F90
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ program TestBPWriteTypes
#if ADIOS2_USE_MPI
! Launch MPI
INTEGER provided

! MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
call MPI_Init_thread(MPI_THREAD_MULTIPLE, provided, ierr)
call MPI_Comm_rank(MPI_COMM_WORLD, irank, ierr)
call MPI_Comm_size(MPI_COMM_WORLD, isize, ierr)
Expand Down
2 changes: 2 additions & 0 deletions testing/adios2/bindings/fortran/TestBPWriteTypesByName.F90
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ program TestBPWriteTypes

! Launch MPI
INTEGER provided

! MPI_THREAD_MULTIPLE is only required if you enable the SST MPI_DP
call MPI_Init_thread(MPI_THREAD_MULTIPLE, provided, ierr)
call MPI_Comm_rank(MPI_COMM_WORLD, irank, ierr)
call MPI_Comm_size(MPI_COMM_WORLD, isize, ierr)
Expand Down
Loading