infra icon indicating copy to clipboard operation
infra copied to clipboard

[Fortran][OpenMP] flang-new: error: cannot find -lomp: No such file or directory

Open harishch4 opened this issue 1 year ago • 0 comments

flang-new compiler fails to execute code with OpenMP directives. gfortran and ifx compilers seem to access libomp without any problem.

godbolt link

/usr/bin/ld: cannot find -lomp: No such file or directory flang-new: error: linker command failed with exit code 1 (use -v to see invocation)

harishch4 avatar Sep 17 '24 06:09 harishch4