hmm. Add

#include <stdint.h>

to the test and try it again.

-Nathan

> On Oct 2, 2018, at 12:41 AM, Siegmar Gross 
> <siegmar.gr...@informatik.hs-fulda.de> wrote:
> 
> Hi Jeff, hi Nathan,
> 
> the compilers (Sun C 5.15, Sun C 5.14, Sun C 5.13) don't like the code.
> 
> loki tmp 110 cc -V
> cc: Studio 12.6 Sun C 5.15 Linux_i386 2017/05/30
> loki tmp 111 \cc -std=c11 atomic_test.c
> "atomic_test.c", line 5: warning: no explicit type given
> "atomic_test.c", line 5: syntax error before or at: test
> "atomic_test.c", line 8: undefined symbol: test
> "atomic_test.c", line 8: undefined symbol: x
> cc: acomp failed for atomic_test.c
> loki tmp 112
> 
> 
> loki tmp 111 cc -V
> cc: Studio 12.5 Sun C 5.14 Linux_i386 2016/05/31
> loki tmp 112 \cc -std=c11 atomic_test.c
> "atomic_test.c", line 5: warning: no explicit type given
> "atomic_test.c", line 5: syntax error before or at: test
> "atomic_test.c", line 8: undefined symbol: test
> "atomic_test.c", line 8: undefined symbol: x
> cc: acomp failed for atomic_test.c
> loki tmp 113
> 
> 
> loki tmp 108 cc -V
> cc: Sun C 5.13 Linux_i386 2014/10/20
> loki tmp 109 \cc -std=c11 atomic_test.c
> "atomic_test.c", line 2: cannot find include file: <stdatomic.h>
> "atomic_test.c", line 5: warning: _Atomic is a keyword in ISO C11
> "atomic_test.c", line 5: undefined symbol: _Atomic
> "atomic_test.c", line 5: syntax error before or at: intptr_t
> "atomic_test.c", line 6: undefined symbol: intptr_t
> "atomic_test.c", line 8: undefined symbol: test
> "atomic_test.c", line 8: undefined symbol: x
> cc: acomp failed for atomic_test.c
> loki tmp 110
> 
> 
> I have attached the file config.log.gist from my master build, although I
> didn't know what the gist is. Let me know if you need something different
> from that file. By the way, I was able to build the upcoming version 4.0.0.
> 
> loki openmpi-v4.0.x-201809290241-a7e275c-Linux.x86_64.64_cc 124 grep Error 
> log.*
> log.make-install.Linux.x86_64.64_cc: /usr/bin/install -c -m 644 
> mpi/man/man3/MPI_Compare_and_swap.3 mpi/man/man3/MPI_Dims_create.3 
> mpi/man/man3/MPI_Dist_graph_create.3 
> mpi/man/man3/MPI_Dist_graph_create_adjacent.3 
> mpi/man/man3/MPI_Dist_graph_neighbors.3 
> mpi/man/man3/MPI_Dist_graph_neighbors_count.3 
> mpi/man/man3/MPI_Errhandler_create.3 mpi/man/man3/MPI_Errhandler_free.3 
> mpi/man/man3/MPI_Errhandler_get.3 mpi/man/man3/MPI_Errhandler_set.3 
> mpi/man/man3/MPI_Error_class.3 mpi/man/man3/MPI_Error_string.3 
> mpi/man/man3/MPI_Exscan.3 mpi/man/man3/MPI_Iexscan.3 
> mpi/man/man3/MPI_Fetch_and_op.3 mpi/man/man3/MPI_File_c2f.3 
> mpi/man/man3/MPI_File_call_errhandler.3 mpi/man/man3/MPI_File_close.3 
> mpi/man/man3/MPI_File_create_errhandler.3 mpi/man/man3/MPI_File_delete.3 
> mpi/man/man3/MPI_File_f2c.3 mpi/man/man3/MPI_File_get_amode.3 
> mpi/man/man3/MPI_File_get_atomicity.3 mpi/man/man3/MPI_File_get_byte_offset.3 
> mpi/man/man3/MPI_File_get_errhandler.3 mpi/man/man3/MPI_File_get_group.3 
> mpi/man/man3/MPI_File_get_info.3 mpi/man/man3/MPI_File_get_position.3 
> mpi/man/man3/MPI_File_get_position_shared.3 mpi/man/man3/MPI_File_get_size.3 
> mpi/man/man3/MPI_File_get_type_extent.3 mpi/man/man3/MPI_File_get_view.3 
> mpi/man/man3/MPI_File_iread.3 mpi/man/man3/MPI_File_iread_at.3 
> mpi/man/man3/MPI_File_iread_all.3 mpi/man/man3/MPI_File_iread_at_all.3 
> mpi/man/man3/MPI_File_iread_shared.3 mpi/man/man3/MPI_File_iwrite.3 
> mpi/man/man3/MPI_File_iwrite_at.3 mpi/man/man3/MPI_File_iwrite_all.3 
> '/usr/local/openmpi-4.0.0_64_cc/share/man/man3'
> log.make.Linux.x86_64.64_cc:  GENERATE mpi/man/man3/MPI_Error_class.3
> log.make.Linux.x86_64.64_cc:  GENERATE mpi/man/man3/MPI_Error_string.3
> loki openmpi-v4.0.x-201809290241-a7e275c-Linux.x86_64.64_cc 125
> 
> 
> 
> Best regards and thank you very much for your help
> 
> Siegmar
> 
> 
>> On 10/01/18 22:07, Jeff Squyres wrote:
>> @siegmargross <https://github.com/siegmargross> Nathan posted a sample 
>> program (via editing his prior comment), so you didn't get the mail about 
>> it. Can you check #5814 (comment) 
>> <https://github.com/open-mpi/ompi/issues/5814#issuecomment-426041374> and 
>> compile/run the sample program he proposed and see what happens?
>> —
>> You are receiving this because you were mentioned.
>> Reply to this email directly, view it on GitHub 
>> <https://github.com/open-mpi/ompi/issues/5814#issuecomment-426044805>, or 
>> mute the thread 
>> <https://github.com/notifications/unsubscribe-auth/AJwjqC5kb4B3eLT-xwR367t8usbT0gAEks5ugnX-gaJpZM4XCtaY>.
> <config.log.gist>
> _______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to