Dear Steven and meep users, Thank you very much for your advice and comments.
I tried to recompile openmpi, but no effect. Using --without-gcc-arch flag when I configure Meep(1.0.1), the compile succeeded, however, the calculation speed was extraordinary slow. I use FreeBSD7.2 - i386 and under the circumstances, meep-0.20.4 (with openmpi) works perfectly. Best regards, Kaoru Narita -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Steven G. Johnson Sent: Saturday, May 30, 2009 6:31 AM To: MEEP Discuss Subject: Re: [Meep-discuss] meep-1.0(1.0.1) with mpi compile error On May 29, 2009, at 1:46 AM, Kaoru Narita wrote: > When I try to compile meep-1.0(1.0.1) with mpi, it stops at > "h5fields.cpp" > with an error indicating some messages, > > /var/tmp//ccB3lvD7.s: Assembler messages: > /var/tmp//ccB3lvD7.s:555: Error: no such instruction: `pabsd (%eax, > %edx),%xmm0'. > > I use hdf5(v1.6.8) and openmpi(v1.3). > Without mpi, I can compile Meep-1.0(1.0.1) with no problem. > In the same environment, I can compile meep-0.20.4 with and without > mpi. > Any comments and advice would be most appreciated. That sounds like a compiler bug - the compiler should never emit assembly instructions that are unrecognized by the assembler. Or, more likely, it's a problem with the installation of your compilers (or openmpi, or your assembler/binutils). You may want to reinstall openmpi, if you installed it from source code. If you installed it from a precompiled package that came with your system (Ubuntu? Fedora? and what architecture? ....you need to provide more information...) then you may want to complain to the vendor. Try passing the --without-gcc-arch flag when you configure Meep, to see if the -march flag is somehow interacting badly with openmpi. Steven _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

