Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hpc Digest, Vol 1, Issue 7



Hi Chona,

I've built MPICH 1.2.6 successfully and run jobs as well. I'm wondering if the -comm=shared is causing the problems.

I used the following:

export RSHCOMMAND=ssh
export FC=/opt/ibmcmp/xlf/8.1/bin/xlf_r
export F90=/opt/ibmcmp/xlf/8.1/bin/xlf90_r
export CC=/opt/ibmcmp/vacpp/6.0/bin/xlc

configure --with-device=ch_p4 -opt="-O" --prefix=/usr/local/mpich


Don't forget that the machine files are a little bit different for MPICH. If you've followed my postings on the scitech list you'll know that I've asked for assistance on the machinefiles. Anyway, long story short, for MPICH to run 1 task on each processor you need to list each Xserve hostname twice and the machine from which you launch the job only once in the machinefile.

Good Luck!

-Warner

Warner Yuen
Research Computing Consultant
Apple Computer
email: email@hidden
Tel: 408.718.2859
Fax: 408.718.0133

On Sep 18, 2004, at 12:04 PM, email@hidden wrote:

Message: 2
Date: Sat, 18 Sep 2004 10:20:29 -0500
From: "Chona S. Guiang" <email@hidden>
Subject: problem with MPICH-P4
To: <email@hidden>
Message-ID:
<email@hidden>


Content-Type: text/plain; charset="iso-8859-1"

Hi,

I built the latest version of MPICH on our G5 cluster. At runtime, I get the following error:

stampede 34> bsub -I -n 4 ./mpichp4_wrapper ./mpimd
Job <2302> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on compute-1-9>>
Reason : Cannot allocate memory
p0_7474: p4_error: OOPS: shmat failed : 1

FYI, SHMMAX is set to 32MB in /etc/rc, and I've tried higher values as well, but to no avail. I've also used cleanipcs to get rid of shared memory segments and semaphores that were in use. The configure options for MPICH were:

--with-device=ch_p4 \
-comm=shared \
-cc=xlc \
-c++=xlc++ \
-f90=xlf90 \
-f77=xlf \
-rsh=ssh

Please let me know if you have any ideas on how to fix this. I looked at the MPICH FAQ and couldn't find anything. A google search was not very productive either.

Thanks in advance.

Chona
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Scitech mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/scitech/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.