[Openmp-dev] Loading RTLs for other architectures

Itaru Kitayama via Openmp-dev openmp-dev at lists.llvm.org
Thu Nov 7 00:03:09 PST 2019


Lukas,
I’ll then let it as is given the behavior is expected.

On Thu, Nov 7, 2019 at 16:38 Lukas Sommer via Openmp-dev <
openmp-dev at lists.llvm.org> wrote:

> Hi Itaru,
>
> as far as I can tell, libomptarget only tries to load these libraries, but
> will not actually load them, because they are not present on your system.
> The RTLs for the architectures other than CUDA and POWER are not built
> during compilation of libomptarget.
>
> If you still want to get rid of this behavior, you can probably remove the
> other RTLs from
>
> static const char *RTLNames[] = ...
>
> in line 24ff. in file /openmp/libomptarget/src/rtl.cpp and stop
> libomptarget from trying to load this libraries.
>
> Best,
>
> Lukas
>
> Lukas Sommer, M.Sc.
> TU Darmstadt
> Embedded Systems and Applications Group (ESA)Hochschulstr. 10, 64289 Darmstadt, Germany <https://www.google.com/maps/search/Hochschulstr.+10,+64289+Darmstadt,+Germany?entry=gmail&source=g>
> Phone: +49 6151 1622429www.esa.informatik.tu-darmstadt.de
>
> On 11/7/19 5:14 AM, Itaru Kitayama via Openmp-dev wrote:
>
> Hi,
> Is there a way to avoid loading RTLs for aarch64 and x86_64, as I am
> executing my app on PowerPC?
>
> [...]
> Libomptarget --> Loading RTLs...
> Libomptarget --> Loading library 'libomptarget.rtl.ppc64.so'...
> Libomptarget --> Successfully loaded library 'libomptarget.rtl.ppc64.so'!
> Libomptarget --> Registering RTL libomptarget.rtl.ppc64.so supporting 4
> devices!
> Libomptarget --> Loading library 'libomptarget.rtl.x86_64.so'...
> Libomptarget --> Unable to load library 'libomptarget.rtl.x86_64.so':
> libomptarget.rtl.x86_64.so: cannot open shared object file: No such file
> or directory!
> Libomptarget --> Loading library 'libomptarget.rtl.cuda.so'...
> Target CUDA RTL --> Start initializing CUDA
> ==82963== NVPROF is profiling process 82963, command:
> /p/project/cpcp0/pcp0151/opt/nest-clang-offload/bin/nest debug.sli
> Libomptarget --> Successfully loaded library 'libomptarget.rtl.cuda.so'!
> Libomptarget --> Registering RTL libomptarget.rtl.cuda.so supporting 1
> devices!
> Libomptarget --> Loading library 'libomptarget.rtl.aarch64.so'...
> Libomptarget --> Unable to load library 'libomptarget.rtl.aarch64.so':
> libomptarget.rtl.aarch64.so: cannot open shared object file: No such file
> or directory!
> Libomptarget --> RTLs loaded!
> [...]
>
> _______________________________________________
> Openmp-dev mailing listOpenmp-dev at lists.llvm.orghttps://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
>
> _______________________________________________
> Openmp-dev mailing list
> Openmp-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20191107/7a860e83/attachment.html>


More information about the Openmp-dev mailing list