Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96960314
omp_funs.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jan 1, 03:15
Size
299 B
Mime Type
text/x-c
Expires
Fri, Jan 3, 03:15 (2 d)
Engine
blob
Format
Raw Data
Handle
23299920
Attached To
R1448 Lenstool-HPC
omp_funs.c
View Options
//omp_funs.c
//functions usefull for OpenMP paralellisation
#ifdef _OPENMP
#include "omp.h"
#endif
#include <stdio.h>
void
check_not_in_parallel
(
const
char
*
s
)
{
#ifdef _OPENMP
if
(
omp_in_parallel
())
{
fprintf
(
stderr
,
"Error | omp_funs.c/check_not_in_parallel | %s"
,
s
);
}
#endif
}
Event Timeline
Log In to Comment