Skip to content

Commit 709a4fa

Browse files
author
Vasileios Karakasis
committed
Fix comment formatting
1 parent ac1f77e commit 709a4fa

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

cscs-checks/prgenv/mpi.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,29 @@
44

55
@rfm.required_version('>=2.14')
66
@rfm.parameterized_test(['single'], ['funneled'], ['serialized'], ['multiple'])
7-
class Mpi_InitTest(rfm.RegressionTest):
8-
'''
9-
This test checks the value returned by calling MPI_Init_thread:
10-
Output should look the same for every prgenv (cray, gnu, intel, pgi)
11-
(mpi_thread_multiple seems to be not supported):
7+
class MpiInitTest(rfm.RegressionTest):
8+
"""This test checks the value returned by calling MPI_Init_thread.
9+
10+
Output should look the same for every prgenv (cray, gnu, intel, pgi)
11+
(mpi_thread_multiple seems to be not supported):
12+
1213
# 'single':
1314
['mpi_thread_supported=MPI_THREAD_SINGLE
1415
mpi_thread_queried=MPI_THREAD_SINGLE 0'],
16+
1517
# 'funneled':
1618
['mpi_thread_supported=MPI_THREAD_FUNNELED
1719
mpi_thread_queried=MPI_THREAD_FUNNELED 1'],
20+
1821
# 'serialized':
1922
['mpi_thread_supported=MPI_THREAD_SERIALIZED
2023
mpi_thread_queried=MPI_THREAD_SERIALIZED 2'],
24+
2125
# 'multiple':
2226
['mpi_thread_supported=MPI_THREAD_SERIALIZED
2327
mpi_thread_queried=MPI_THREAD_SERIALIZED 2']
24-
'''
28+
29+
"""
2530

2631
def __init__(self, required_thread):
2732
super().__init__()

0 commit comments

Comments
 (0)