DependableSystemsLab / LLFI

LLFI is an LLVM based fault injection tool, that injects faults into the LLVM IR of the application source code. The faults can be injected into specific program points, and the effect can be easily tracked back to the source code. Please refer to the paper below. NOTE: If you publish a paper using LLFI, please add it to PaperLLFI.bib
http://blogs.ubc.ca/karthik/2014/02/23/quantifying-the-accuracy-of-high-level-fault-injection-techniques/
Other
68 stars 35 forks source link

I can't compile OpenMP programs #75

Closed andrestoga closed 8 years ago

andrestoga commented 8 years ago

Hi,

I'm using the GUI tool to generate a trace graph but the problem is that I'm getting and error when I tried to instrument the file. This is the error:

/home/llfi/Desktop/llfi/bin/Testing/llfi/Testing-profiling.ll:(.text+0xb4f): undefined reference to `omp_set_num_threads'

I also tried with a hello world openMP example but it didn't even pass the "Compile To IR" stage. This is the error:

openmp_simple.c:3:10: fatal error: 'omp.h' file not found

include "omp.h"

     ^

1 error generated. make: *\ [openmp_simple.ll] Error 1

Can you help me please?

Best,

karthikp-ubc commented 8 years ago

Again, please post this to the llfi-development group as it's not really an issue with LLFI per se. Thanks,