Searched refs:shmid (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/sys/utils/ |
| H A D | server.c | 19 int shmkey, shmid; member 53 …shmid, IPC_RMID, NULL), PETSC_COMM_SELF, PETSC_ERR_SYS, "Unable to free shared memory key %d shmid… in PetscShmgetAddressesFinalize() 145 allocation->shmid = shmget(allocation->shmkey, allocation->sz, 0666); in PetscShmgetMapAddresses() 146 …PetscCheck(allocation->shmid != -1, PETSC_COMM_SELF, PETSC_ERR_SYS, "Unable to map PCMPI shared me… in PetscShmgetMapAddresses() 147 allocation->addr = shmat(allocation->shmid, NULL, 0); in PetscShmgetMapAddresses() 285 allocation->shmid = shmget(allocation->shmkey, allocation->sz, 0666 | IPC_CREAT); in PetscShmgetAllocateArray() 286 …PetscCheck(allocation->shmid != -1, PETSC_COMM_SELF, PETSC_ERR_LIB, "Unable to schmget() of size %… in PetscShmgetAllocateArray() 287 allocation->addr = shmat(allocation->shmid, NULL, 0); in PetscShmgetAllocateArray() 288 …_COMM_SELF, PETSC_ERR_LIB, "Unable to shmat() of shmid %d %s", allocation->shmid, strerror(errno)); in PetscShmgetAllocateArray() 290 …id %d returned 0xffffffffffffffff %s, see PCMPIServerBegin()", allocation->shmid, strerror(errno)); in PetscShmgetAllocateArray() [all …]
|