Skip to content

Commit 87ad104

Browse files
committed
Debug
1 parent 1cb7f96 commit 87ad104

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

test/test_xcpp_kernel.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,7 @@ class XCppTests(jupyter_kernel_test.KernelTests):
138138
if(Cpp::LoadLibrary("/home/runner/micromamba/envs/xeus-cpp/lib/libomp.so")) {
139139
int max_threads = omp_get_max_threads();
140140
omp_set_thread_num(max_threads);
141-
#pragma omp parallel
142-
{
143-
if(omp_get_thread_num()==2) {
144-
std::cerr<<omp_get_thread_num()<<std::endl;
145-
}
146-
}
147-
}
141+
std::cerr<<"OpenMP library loaded"<<std::endl;
148142
else
149143
{
150144
std::cerr<<"OpenMP library not loaded"<<std::endl;

0 commit comments

Comments
 (0)