SHMEM\_ADD - Online Linux Manual PageSection : 3
Updated : Jan 21, 2016
Source : 1.10.2
Note : Open MPI

NAMEshmem_int_add(3), shmem_int4_add(3), shmem_int8_add(3), shmem_long_add(3), shmem_longlong_add(3) − Performs an atomic add operation.

SYNOPSISC or C++: #include <mpp/shmem.h> void shmem_int_add(int *target, int value, int pe); void shmem_long_add(long *target, long value, int pe); void shmem_longlong_add(long long *target, long long value, int pe); Fortran: include 'mpp/shmem.h' INTEGER pe CALL SHMEM_INT4_ADD(target, value, pe) CALL SHMEM_INT8_ADD(target, value, pe)

DESCRIPTIONThe atomic add routines add value to the data at address target on PE pe​. The operation completes without the possibility of another process updating target between the time of the fetch and the update. The arguments are as follows: target  The remotely accessible integer data object to be updated on the remote PE. If you are using C/C++, the type of target should match that implied in the SYNOPSIS section. If you are using the Fortran compiler, it must be of type integer with an element size of 4 bytes for SHMEM_INT4_ADD and 8 bytes for SHMEM_INT8_ADD. value  The value to be atomically added to target. If you are using C/C++, the type of value should match that implied in the SYNOPSIS section. If you are using Fortran, it must be of type integer with an element size of target. pe  An integer that indicates the PE number upon which target is to be updated. If you are using Fortran, it must be a default integer value.

NOTESThe term remotely accessible is defined in intro_shmem(3)​.

SEE ALSOintro_shmem(3), shmem_cache(3)
0
Johanes Gumabo
Data Size   :   5,913 byte
man-shmem_long_add.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 236,633
Visitor ID   :     :  
Visitor IP   :   3.135.201.101   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (rof_escape_sequence|91|shmem_int_add.3|14|\_ADD" "3" "Jan 21, 2016" "1.10.2" "Open MPI" |.TH "SHMEM\\_ADD" "3" "Jan 21, 2016" "1.10.2" "Open MPI" )