[Llvm-bgq-discuss] detect bg/q and/or bgclang

Mark Abraham mark.j.abraham at gmail.com
Fri Feb 2 03:02:00 CST 2018


Hi,

https://github.com/jeffhammond/HPCInfo/blob/master/docs/Preprocessor-Macros.md#blue-gene
is
useful. __bgq__ && __clang__ was what we used to use for bgclang

Mark

On Fri, Feb 2, 2018 at 6:16 AM Jozsef Bakosi <jbakosi at lanl.gov> wrote:

> Hi folks,
>
> How should I detect BG/Q and/or the bglcang compiler with a macro? (For
> endianness purposes.) I used to use __bg__ but that does not seem to work
> anymore.
>
> Thanks,
> J
> --
> Jozsef Bakosi, Ph.D.
> Computational Physics and Methods (CCS-2)
> MS D413, Los Alamos National Laboratory
> Los Alamos, NM 87545, USA
> email: jbakosi at lanl.gov
> phone: 505-665-0950
> fax: 505-665-4972
> _______________________________________________
> llvm-bgq-discuss mailing list
> llvm-bgq-discuss at lists.alcf.anl.gov
> https://lists.alcf.anl.gov/mailman/listinfo/llvm-bgq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alcf.anl.gov/pipermail/llvm-bgq-discuss/attachments/20180202/cb6db630/attachment.html>


More information about the llvm-bgq-discuss mailing list