Newsgroups: comp.parallel.mpi
From: Jongsoo Kim <jskim@hanul.issa.re.kr>
Subject: Re: Installing MPI for Linux SMP?
Organization: Korea Astronomy Observatory
Date: Fri, 24 Jul 1998 11:33:30 +0900
Mime-Version: 1.0
Content-Type: text/plain; charset=EUC-KR
Content-Transfer-Encoding: 7bit
Message-ID: <35B7F27A.C1282F1B@hanul.issa.re.kr>

>  Nevertheless you should control the amount of shared
> memory/semaphores generated by aborted execution (ipcs unix command).
>

I am using a Linux box with 2 PII processes.   I have installed mpich
with ch_shmem device.  But I got the following error messages.  It seems
to be related to the above statement.Would you let me know how to
control the shared memory?

Sincerely yours,
Jongsoo Kim
---------------------------------------------------------------------

[jskim@triple]# ./main.x -np 2
mmap failed: Invalid argument
OOPS: mmap failed: cannot map shared memory, size= 4194304
IOT Trap
Abort (core dumped)

[jskim@triple]# ipcs

------ Shared Memory Segments --------
key        shmid     owner     perms     bytes     nattch    status

------ Semaphore Arrays --------
key       semid     owner     perms     nsems     status
0x0000442e 0         jskim     600       10
0x000044b8 1         jskim     600       10
0x00004541 2         jskim     600       10

------ Message Queues --------
key       msqid     owner     perms     used-bytes  messages


