Hi Giovanni,
Thanks so much! It works now! I just uninstall all the mpi related packages
and re-install just openmpi and meep-openmpi 1.1.1-7. Now it works
perfectly.
(And it's a surprise to find out that you are replying to my message. Come
back to visit when you have time!)

Best regards
Boshen

On Sat, Apr 23, 2011 at 12:00 PM, <[email protected]>wrote:

> Send meep-discuss mailing list submissions to
>        [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
> or, via email, send a message with subject or body 'help' to
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of meep-discuss digest..."
>
>
> Today's Topics:
>
>   1. How to configure Meep-MPI for single Intel i7 CPU? (Boshen Gao)
>   2.  How to configure Meep-MPI for single Intel i7 CPU? (gpipc)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 22 Apr 2011 19:32:00 -0400
> From: Boshen Gao <[email protected]>
> Subject: [Meep-discuss] How to configure Meep-MPI for single Intel i7
>        CPU?
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi all,
> I am using meep-mpi to simulate some simple 3-D SOI photonic crystal based
> structures on my PC. It has an i7-930 Quad-core CPU @ 4 GHz. My problem is,
> while I use command
>
> mpirun -np 4 meep-mpi *****.ctl
>
> each core will run the code alone, they do not share the work. So each step
> will be run four times, a code that took 90 sec on one core now takes more
> than 100 sec using all four cores. Now I'm running resolution 32 codes that
> takes more than 30 hours. In this case, parallel computation will be of
> great help. Has anyone met similar problems or do you have any hints on
> what
> might go wrong, please?
>
> Thank you.
>
> Boshen Gao
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://ab-initio.mit.edu/pipermail/meep-discuss/attachments/20110422/224eda59/attachment.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Sat, 23 Apr 2011 11:27:51 +0200
> From: gpipc <[email protected]>
> Subject: [Meep-discuss]  How to configure Meep-MPI for single Intel i7
>        CPU?
> To: <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8
>
> On Fri, 22 Apr 2011 19:32:00 -0400, Boshen Gao
> <[email protected]> wrote:
> > Hi all,
> > I am using meep-mpi to simulate some simple 3-D SOI photonic crystal
> based
> > structures on my PC. It has an i7-930 Quad-core CPU @ 4 GHz. My problem
> is,
> > while I use command
> >
> > mpirun -np 4 meep-mpi *****.ctl
> >
> > each core will run the code alone, they do not share the work. So each
> step
> > will be run four times, a code that took 90 sec on one core now takes
> more
> > than 100 sec using all four cores. Now I'm running resolution 32 codes
> that
> > takes more than 30 hours. In this case, parallel computation will be of
> > great help. Has anyone met similar problems or do you have any hints on
> > what
> > might go wrong, please?
> >
> > Thank you.
> >
> > Boshen Gao
>
>
> Hi,
> it happened to me too time ago and as far as I can recall in my csae it
> was because I had first installed openmpi, then the ubuntu package for
> meep-mpi which was (the version that I installed, I did not check for the
> present version) based on MPICH2 and I guess the two different MPI programs
> interfered with each other somehow.
>
> I solved my problem by 1) uninstalling both openmpi and meep-mpi 2)
> reinstalling openmpi 3) compiling meep-mpi from source (as I wanted to use
> openmpi, which I read somewhere is a little better for multi-core, I may be
> wrong though). You may check whether this is the case for you too.
>
> Cheers,
>
> Giovanni
>
> --
> ================================================
> Giovanni Piredda
> Postdoc - AK Hartschuh
>
> Phone: ++49 - (0) 89/2180-77601
> Fax.: ++49 ? (0) 89/2180-77188
> Room: E2.062
> ----------------------------------------
> Message sent by Cup Webmail (Roundcube)
>
>
>
>
> ------------------------------
>
> _______________________________________________
> meep-discuss mailing list
> [email protected]
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>
> End of meep-discuss Digest, Vol 62, Issue 4
> *******************************************
>
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to