Re: [OMPI users] Using shmem_int_fadd() in OpenMPI's SHMEM

2017-11-20 Thread Howard Pritchard
HI Ben, What version of Open MPI are you trying to use? Also, could you describe something about your system. If its a cluster what sort of interconnect is being used. Howard 2017-11-20 14:13 GMT-07:00 Benjamin Brock : > What's the proper way to use shmem_int_fadd()

[OMPI users] Using shmem_int_fadd() in OpenMPI's SHMEM

2017-11-20 Thread Benjamin Brock
What's the proper way to use shmem_int_fadd() in OpenMPI's SHMEM? A minimal example seems to seg fault: #include #include #include int main(int argc, char **argv) { shmem_init(); const size_t shared_segment_size = 1024; void *shared_segment = shmem_malloc(shared_segment_size); int