Problem with mpb-mpi compilation
Lingyun Wang <[email protected]>
| Newsgroups | gmane.comp.science.photonic-bands |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I ran the "mpb" with my ctl code without any problem. Then I compiled the mpb-mpi with openmpi with commands, ./configure --with-mpi CPPFLAGS="-DH5_USE_16_API=1 -I/usr/lib/openmpi/include" make check | tee check.out sudo make install There are only some warnings. All the prerequisites are installed by Synaptic Package Manager. Since there comes with "mpb-mpi" (mpich version) from Synaptic Package Manager, but I cannot figure out how to make mpich work. That's why I tried compile with openmpi. The openmpi version is 1.4.1-2. The hdf5 version is 1.8.4-5 precompiled with openmpi. However when I run "make check", the errors were, Making check in tests make[1]: Entering directory `/home/lingyun/Desktop/mpb-1.4.2/tests' rm -f blastest.out.test ./blastest | sed 's/\-0\.000\([ ,)]\)/ 0.000\1/g' | sed 's/\-0\.000$/ 0.000/g' > blastest.out.test diff blastest.complex.out blastest.out.test ./maxwell_test -1 -c 1e-9 -x 256 -E 1e-3 Creating Maxwell data... CHECK failure on line 116 of maxwell.c: rank < 2 MPI computations are not supported *** An error occurred in MPI_Abort *** before MPI was initialized *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort) [Linux64:23342] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed! make[1]: *** [check] Error 1 make[1]: Leaving directory `/home/lingyun/Desktop/mpb-1.4.2/tests' make: *** [check-recursive] Error 1 Anyway the mpb-mpi was installed disregards the compiling problems. But when I tried the mpb-mpi with the 4 core cpu on ubuntu 64 bits with the command, like, "mpirun -np 4 mpb-mpi Si3N4V2.ctl", the program exit with error as, Solving for band polarization: . Initializing fields to random numbers... elapsed time for initialization: 5 seconds. [Linux64:23279] *** An error occurred in MPI_Info_dup [Linux64:23279] *** on communicator MPI_COMM_WORLD [Linux64:23279] *** MPI_ERR_INFO: invalid info object [Linux64:23279] *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort) HDF5: infinite loop closing library Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message. HDF5: infinite loop closing library Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message. HDF5: infinite loop closing library Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message. epsilon: 1-4.0844, mean 1.77204, harm. mean 1.27239, 31.594% > 1, 25.0306% "fill" Outputting epsilon... HDF5: infinite loop closing library Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message. -------------------------------------------------------------------------- mpirun has exited due to process rank 2 with PID 23278 on node Linux64 exiting without calling "finalize". This may have caused other processes in the application to be terminated by signals sent by mpirun (as reported here). --------------------------------------------------------------------------