LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Whitaker (jswhit_at_[hidden])
Date: 2003-12-18 07:13:09


Andrew: I finally did get sysv shared memory support to work, but only
after modify some kernel parameters in /etc/rc

--- rc.orig Tue Dec 16 13:04:41 2003
+++ rc Tue Dec 16 13:12:39 2003
@@ -84,11 +84,11 @@

 # System tuning
 sysctl -w kern.maxvnodes=$(echo $(sysctl -n hw.physmem) '33554432 / 512 *
1024 +p'|dc)
-sysctl -w kern.sysv.shmmax=4194304
+sysctl -w kern.sysv.shmmax=134217728 # upped from 4 to 128mb
 sysctl -w kern.sysv.shmmin=1
 sysctl -w kern.sysv.shmmni=32
-sysctl -w kern.sysv.shmseg=8
-sysctl -w kern.sysv.shmall=1024
+sysctl -w kern.sysv.shmseg=256 # upped from 8
+sysctl -w kern.sysv.shmall=131072 # upped from 1024
 if [ -f /etc/sysctl-macosxserver.conf ]; then
        awk '{ if (!index($1, "#") && index($1, "=")) print $1 }' <
/etc/sysctl-macosxserver.conf | while read
        do

The configure script was choking because shmmax was only 4mb - I'm not
sure if the other changes were really necessary. I'm mystified as to why
yours worked - what does your /etc/rc say?

-Jeff

On Wed, 17 Dec 2003, Andrew Cunningham wrote:

> I have built 7.0.2 on OS X 10.3.1....
> No problems with sysv
> Just a simple
> ./configure
> make
>
> ......
> configure:15204: checking for SYSV semaphore support
> configure:15206: result: yes
>
> ----------------------
> Andrew Cunningham
> ESI Group NA.
> andrew.cunningham_at_[hidden]
> (858) 350 0057 x105
> Intl: +1-858-350 0057

-- 
Jeffrey S. Whitaker         Phone : (303)497-6313
NOAA/OAR/CDC  R/CDC1        FAX   : (303)497-6449
325 Broadway                Web   : http://www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124