Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error encountered while installing MPB #30

Open
bha159 opened this issue Sep 17, 2017 · 3 comments
Open

Error encountered while installing MPB #30

bha159 opened this issue Sep 17, 2017 · 3 comments

Comments

@bha159
Copy link

bha159 commented Sep 17, 2017

Hi sir,
I tried installing MPB using the script from this site. While making file from line numer 71, some errors were encountered.

sh autogen.sh --with-pic CC=mpicc LIBS=-ldl --with-inv-symmetry

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --force
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --force-missing
configure.ac:25: installing './compile'
configure.ac:21: installing './missing'
mpb/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --force
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --force-missing
configure.ac:25: installing './compile'
configure.ac:21: installing './missing'
mpb/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --force
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --force-missing
configure.ac:25: installing './compile'
configure.ac:21: installing './missing'
mpb/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... mpicc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mpicc accepts -g... yes
checking for mpicc option to accept ISO C89... none needed
checking whether mpicc understands -c and -o together... yes
checking dependency style of mpicc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by mpicc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from mpicc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... mpicc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mpicc supports -fno-rtti -fno-exceptions... no
checking for mpicc option to produce PIC... -fPIC -DPIC
checking if mpicc PIC flag -fPIC -DPIC works... yes
checking if mpicc static flag -static works... no
checking if mpicc supports -c -o file.o... yes
checking if mpicc supports -c -o file.o... (cached) yes
checking whether the mpicc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g77... no
checking for xlf... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 static flag -static works... yes
checking if f77 supports -c -o file.o... yes
checking if f77 supports -c -o file.o... (cached) yes
checking whether the f77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for perl... /usr/bin/perl
checking for vendor cc to be used instead of gcc... 
checking for cc... mpicc
checking whether we are using the GNU C compiler... (cached) yes
checking whether mpicc accepts -g... (cached) yes
checking for mpicc option to accept ISO C89... (cached) none needed
checking whether mpicc understands -c and -o together... (cached) yes
checking dependency style of mpicc... (cached) gcc3
*********************** INVERSION SYM. ***********************
checking for sqrt in -lm... yes
checking how to get verbose linking output from f77... -v
checking for Fortran 77 libraries of f77...  -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lgfortran -lm -ldl -lquadmath
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore, no extra underscore
checking for fftw_execute in -lfftw3... yes
checking if sgemm_ is being linked in already... no
checking for sgemm_ in -lopenblas... no
checking for ATL_xerbla in -latlas... no
checking for sgemm_ in -lblas... yes
checking for dgemm_ in -ldgemm... no
checking for sgemm_ in -lmkl... no
checking for sgemm_ in -framework vecLib... no
checking for sgemm_ in -lcxml... no
checking for sgemm_ in -ldxml... no
checking for sgemm_ in -lscs... no
checking for sgemm_ in -lcomplib.sgimath... no
checking for sgemm_ in -lblas... (cached) yes
checking for sgemm_ in -lessl... no
checking for sgemm_ in -lblas... (cached) yes
checking for cheev_... no
checking for cheev_ in -llapack... yes
checking for deflate in -lz... yes
checking for H5Pcreate in -lhdf5... no
configure: WARNING: Couldn't find the HDF5 library!!  Switching to --without-hdf5.
checking for guile... yes
checking for guile-config... guile-config
checking if linking to guile works... yes
checking libguile.h usability... yes
checking libguile.h presence... yes
checking for libguile.h... yes
checking guile/gh.h usability... no
checking guile/gh.h presence... no
checking for guile/gh.h... no
checking for scm_make_smob_type... yes
checking for scm_array_get_handle... yes
checking for scm_is_array... yes
checking for SCM_SMOB_PREDICATE... yes
checking for SCM_SMOB_DATA... yes
checking for SCM_NEWSMOB... yes
checking how to activate readline in Guile... ice-9 readline
checking for libctl dir... /usr/local/share/libctl
checking for gen-ctl-io... gen-ctl-io
checking for ctl_get_vector3 in -lctl... yes
checking ctl.h usability... yes
checking ctl.h presence... yes
checking for ctl.h... yes
checking whether libctl version is at least 3.2.1... ok
checking for libctl_quiet feature... yes
checking for basename in -lgen... no
checking nlopt.h usability... no
checking nlopt.h presence... no
checking for nlopt.h... no
checking for nlopt_minimize in -lnlopt... no
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for nlopt.h... (cached) no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for getopt... yes
checking for strncmp... yes
checking whether calling BLAS zdotc works... yes
checking for bash... /bin/bash
checking for feenableexcept... yes
checking whether feenableexcept declaration is usable... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating src/Makefile
config.status: creating src/util/Makefile
config.status: creating src/matrices/Makefile
config.status: creating src/matrixio/Makefile
config.status: creating src/maxwell/Makefile
config.status: creating mpb/Makefile
config.status: creating mpb/mpb.scm
config.status: creating mpb/mpb-split-preinstall
config.status: creating utils/Makefile
config.status: creating config.h
config.status: creating src/mpbconf.h
config.status: src/mpbconf.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

root@ubuntu:/home/arpit/install/mpb# make && make check && sudo make installmake all-recursive

make[1]: Entering directory '/home/arpit/install/mpb'
Making all in src
make[2]: Entering directory '/home/arpit/install/mpb/src'
make  all-recursive
make[3]: Entering directory '/home/arpit/install/mpb/src'
Making all in util
make[4]: Entering directory '/home/arpit/install/mpb/src/util'
make  all-am
make[5]: Entering directory '/home/arpit/install/mpb/src/util'
  CC       debug_malloc.lo
  CC       mpi_utils.lo
mpi_utils.c: In function ‘mpi_begin_critical_section’:
mpi_utils.c:186:15: warning: unused variable ‘status’ [-Wunused-variable]
    MPI_Status status;
               ^
mpi_utils.c: In function ‘mpi_end_critical_section’:
mpi_utils.c:194:35: warning: unused parameter ‘tag’ [-Wunused-parameter]
 void mpi_end_critical_section(int tag)
                                   ^
  CCLD     libutil.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[5]: Leaving directory '/home/arpit/install/mpb/src/util'
make[4]: Leaving directory '/home/arpit/install/mpb/src/util'
Making all in matrices
make[4]: Entering directory '/home/arpit/install/mpb/src/matrices'
  CC       libmatrices_la-blasglue.lo
  CC       libmatrices_la-eigensolver.lo
  CC       libmatrices_la-eigensolver_davidson.lo
  CC       libmatrices_la-eigensolver_utils.lo
  CC       libmatrices_la-evectmatrix.lo
  CC       libmatrices_la-linmin.lo
  CC       libmatrices_la-matrices.lo
  CC       libmatrices_la-minpack2-linmin.lo
  CC       libmatrices_la-sqmatrix.lo
  CCLD     libmatrices.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[4]: Leaving directory '/home/arpit/install/mpb/src/matrices'
Making all in matrixio
make[4]: Entering directory '/home/arpit/install/mpb/src/matrixio'
  CC       libmatrixio_a-evectmatrixio.o
  CC       libmatrixio_a-fieldio.o
  CC       libmatrixio_a-matrixio.o
matrixio.c: In function ‘write_attr’:
matrixio.c:82:36: warning: unused parameter ‘id’ [-Wunused-parameter]
 static void write_attr(matrixio_id id, matrixio_id_ type_id,
                                    ^
matrixio.c:82:53: warning: unused parameter ‘type_id’ [-Wunused-parameter]
 static void write_attr(matrixio_id id, matrixio_id_ type_id,
                                                     ^
matrixio.c:83:23: warning: unused parameter ‘space_id’ [-Wunused-parameter]
          matrixio_id_ space_id,
                       ^
matrixio.c:84:22: warning: unused parameter ‘name’ [-Wunused-parameter]
          const char *name, const void *val)
                      ^
matrixio.c:84:40: warning: unused parameter ‘val’ [-Wunused-parameter]
          const char *name, const void *val)
                                        ^
matrixio.c: In function ‘open_attr’:
matrixio.c:111:60: warning: unused parameter ‘type_id’ [-Wunused-parameter]
 static matrixio_id open_attr(matrixio_id id, matrixio_id_ *type_id,
                                                            ^
matrixio.c:112:23: warning: unused parameter ‘space_id’ [-Wunused-parameter]
         matrixio_id_ *space_id, const char *name)
                       ^
matrixio.c:112:45: warning: unused parameter ‘name’ [-Wunused-parameter]
         matrixio_id_ *space_id, const char *name)
                                             ^
matrixio.c: In function ‘read_attr’:
matrixio.c:137:35: warning: unused parameter ‘id’ [-Wunused-parameter]
 static void read_attr(matrixio_id id, matrixio_id attr_id,
                                   ^
matrixio.c:137:51: warning: unused parameter ‘attr_id’ [-Wunused-parameter]
 static void read_attr(matrixio_id id, matrixio_id attr_id,
                                                   ^
matrixio.c:138:22: warning: unused parameter ‘mem_type_id’ [-Wunused-parameter]
         matrixio_id_ mem_type_id, void *val)
                      ^
matrixio.c:138:41: warning: unused parameter ‘val’ [-Wunused-parameter]
         matrixio_id_ mem_type_id, void *val)
                                         ^
matrixio.c: In function ‘close_attr’:
matrixio.c:150:36: warning: unused parameter ‘id’ [-Wunused-parameter]
 static void close_attr(matrixio_id id, matrixio_id attr_id)
                                    ^
matrixio.c:150:52: warning: unused parameter ‘attr_id’ [-Wunused-parameter]
 static void close_attr(matrixio_id id, matrixio_id attr_id)
                                                    ^
matrixio.c: In function ‘matrixio_write_string_attr’:
matrixio.c:164:45: warning: unused parameter ‘id’ [-Wunused-parameter]
 void matrixio_write_string_attr(matrixio_id id, const char *name,
                                             ^
matrixio.c:164:61: warning: unused parameter ‘name’ [-Wunused-parameter]
 void matrixio_write_string_attr(matrixio_id id, const char *name,
                                                             ^
matrixio.c:165:17: warning: unused parameter ‘val’ [-Wunused-parameter]
     const char *val)
                 ^
matrixio.c: In function ‘matrixio_write_data_attr’:
matrixio.c:183:43: warning: unused parameter ‘id’ [-Wunused-parameter]
 void matrixio_write_data_attr(matrixio_id id, const char *name,
                                           ^
matrixio.c:183:59: warning: unused parameter ‘name’ [-Wunused-parameter]
 void matrixio_write_data_attr(matrixio_id id, const char *name,
                                                           ^
matrixio.c:184:22: warning: unused parameter ‘val’ [-Wunused-parameter]
          const real *val, int rank, const int *dims)
                      ^
matrixio.c:184:31: warning: unused parameter ‘rank’ [-Wunused-parameter]
          const real *val, int rank, const int *dims)
                               ^
matrixio.c:184:48: warning: unused parameter ‘dims’ [-Wunused-parameter]
          const real *val, int rank, const int *dims)
                                                ^
matrixio.c: In function ‘matrixio_read_string_attr’:
matrixio.c:219:45: warning: unused parameter ‘id’ [-Wunused-parameter]
 char *matrixio_read_string_attr(matrixio_id id, const char *name)
                                             ^
matrixio.c:219:61: warning: unused parameter ‘name’ [-Wunused-parameter]
 char *matrixio_read_string_attr(matrixio_id id, const char *name)
                                                             ^
matrixio.c: In function ‘matrixio_read_data_attr’:
matrixio.c:256:43: warning: unused parameter ‘id’ [-Wunused-parameter]
 real *matrixio_read_data_attr(matrixio_id id, const char *name,
                                           ^
matrixio.c:256:59: warning: unused parameter ‘name’ [-Wunused-parameter]
 real *matrixio_read_data_attr(matrixio_id id, const char *name,
                                                           ^
matrixio.c:257:15: warning: unused parameter ‘rank’ [-Wunused-parameter]
          int *rank, int max_rank, int *dims)
               ^
matrixio.c:257:25: warning: unused parameter ‘max_rank’ [-Wunused-parameter]
          int *rank, int max_rank, int *dims)
                         ^
matrixio.c:257:40: warning: unused parameter ‘dims’ [-Wunused-parameter]
          int *rank, int max_rank, int *dims)
                                        ^
matrixio.c: In function ‘matrixio_create_’:
matrixio.c:335:60: warning: unused parameter ‘parallel’ [-Wunused-parameter]
 static matrixio_id matrixio_create_(const char *fname, int parallel)
                                                            ^
matrixio.c: In function ‘matrixio_open_’:
matrixio.c:389:47: warning: unused parameter ‘fname’ [-Wunused-parameter]
 static matrixio_id matrixio_open_(const char *fname, int read_only, int paralle
                                               ^
matrixio.c:389:58: warning: unused parameter ‘read_only’ [-Wunused-parameter]
 static matrixio_id matrixio_open_(const char *fname, int read_only, int paralle
                                                          ^
matrixio.c:389:73: warning: unused parameter ‘parallel’ [-Wunused-parameter]
 atic matrixio_id matrixio_open_(const char *fname, int read_only, int parallel)
                                                                       ^
matrixio.c: In function ‘matrixio_close’:
matrixio.c:428:33: warning: unused parameter ‘id’ [-Wunused-parameter]
 void matrixio_close(matrixio_id id)
                                 ^
matrixio.c: In function ‘matrixio_create_sub’:
matrixio.c:447:17: warning: unused parameter ‘name’ [-Wunused-parameter]
     const char *name, const char *description)
                 ^
matrixio.c:447:35: warning: unused parameter ‘description’ [-Wunused-parameter]
     const char *name, const char *description)
                                   ^
matrixio.c: In function ‘matrixio_close_sub’:
matrixio.c:481:37: warning: unused parameter ‘id’ [-Wunused-parameter]
 void matrixio_close_sub(matrixio_id id)
                                     ^
matrixio.c: In function ‘matrixio_open_dataset’:
matrixio.c:491:19: warning: unused parameter ‘name’ [-Wunused-parameter]
       const char *name,
                   ^
matrixio.c:492:11: warning: unused parameter ‘rank’ [-Wunused-parameter]
       int rank, const int *dims)
           ^
matrixio.c:492:28: warning: unused parameter ‘dims’ [-Wunused-parameter]
       int rank, const int *dims)
                            ^
matrixio.c: In function ‘matrixio_create_dataset’:
matrixio.c:530:21: warning: unused parameter ‘name’ [-Wunused-parameter]
         const char *name, const char *description,
                     ^
matrixio.c:530:39: warning: unused parameter ‘description’ [-Wunused-parameter]
         const char *name, const char *description,
                                       ^
matrixio.c:531:13: warning: unused parameter ‘rank’ [-Wunused-parameter]
         int rank, const int *dims)
             ^
matrixio.c:531:30: warning: unused parameter ‘dims’ [-Wunused-parameter]
         int rank, const int *dims)
                              ^
matrixio.c: In function ‘matrixio_close_dataset’:
matrixio.c:591:41: warning: unused parameter ‘data_id’ [-Wunused-parameter]
 void matrixio_close_dataset(matrixio_id data_id)
                                         ^
matrixio.c: In function ‘matrixio_dataset_exists’:
matrixio.c:598:41: warning: unused parameter ‘id’ [-Wunused-parameter]
 int matrixio_dataset_exists(matrixio_id id, const char *name)
                                         ^
matrixio.c:598:57: warning: unused parameter ‘name’ [-Wunused-parameter]
 int matrixio_dataset_exists(matrixio_id id, const char *name)
                                                         ^
matrixio.c: In function ‘matrixio_dataset_delete’:
matrixio.c:611:42: warning: unused parameter ‘id’ [-Wunused-parameter]
 void matrixio_dataset_delete(matrixio_id id, const char *name)
                                          ^
matrixio.c:611:58: warning: unused parameter ‘name’ [-Wunused-parameter]
 void matrixio_dataset_delete(matrixio_id id, const char *name)
                                                          ^
matrixio.c: In function ‘matrixio_write_real_data’:
matrixio.c:620:43: warning: unused parameter ‘data_id’ [-Wunused-parameter]
 void matrixio_write_real_data(matrixio_id data_id,
                                           ^
matrixio.c:621:21: warning: unused parameter ‘local_dims’ [-Wunused-parameter]
          const int *local_dims, const int *local_start,
                     ^
matrixio.c:621:44: warning: unused parameter ‘local_start’ [-Wunused-parameter]
          const int *local_dims, const int *local_start,
                                            ^
matrixio.c:622:14: warning: unused parameter ‘stride’ [-Wunused-parameter]
          int stride,
              ^
matrixio.c:623:16: warning: unused parameter ‘data’ [-Wunused-parameter]
          real *data)
                ^
matrixio.c: In function ‘matrixio_read_real_data’:
matrixio.c:781:43: warning: unused parameter ‘id’ [-Wunused-parameter]
 real *matrixio_read_real_data(matrixio_id id,
                                           ^
matrixio.c:782:22: warning: unused parameter ‘name’ [-Wunused-parameter]
          const char *name,
                      ^
matrixio.c:783:15: warning: unused parameter ‘rank’ [-Wunused-parameter]
          int *rank, int *dims,
               ^
matrixio.c:783:26: warning: unused parameter ‘dims’ [-Wunused-parameter]
          int *rank, int *dims,
                          ^
matrixio.c:784:14: warning: unused parameter ‘local_dim0’ [-Wunused-parameter]
          int local_dim0, int local_dim0_start,
              ^
matrixio.c:784:30: warning: unused parameter ‘local_dim0_start’ [-Wunused-parameter]
          int local_dim0, int local_dim0_start,
                              ^
matrixio.c:785:14: warning: unused parameter ‘stride’ [-Wunused-parameter]
          int stride,
              ^
matrixio.c:786:16: warning: unused parameter ‘data’ [-Wunused-parameter]
          real *data)
                ^
matrixio.c: At top level:
matrixio.c:82:13: warning: ‘write_attr’ defined but not used [-Wunused-function]
 static void write_attr(matrixio_id id, matrixio_id_ type_id,
             ^
matrixio.c:111:20: warning: ‘open_attr’ defined but not used [-Wunused-function]
 static matrixio_id open_attr(matrixio_id id, matrixio_id_ *type_id,
                    ^
matrixio.c:137:13: warning: ‘read_attr’ defined but not used [-Wunused-function]
 static void read_attr(matrixio_id id, matrixio_id attr_id,
             ^
matrixio.c:150:13: warning: ‘close_attr’ defined but not used [-Wunused-function]
 static void close_attr(matrixio_id id, matrixio_id attr_id)
             ^
matrixio.c:310:14: warning: ‘add_fname_suffix’ defined but not used [-Wunused-function]
 static char *add_fname_suffix(const char *fname)
              ^
matrixio.c:332:12: warning: ‘matrixio_critical_section_tag’ defined but not used [-Wunused-variable]
 static int matrixio_critical_section_tag = 0;
            ^
  AR       libmatrixio.a
ar: `u' modifier ignored since `D' is the default (see `U')
make[4]: Leaving directory '/home/arpit/install/mpb/src/matrixio'
Making all in maxwell
make[4]: Entering directory '/home/arpit/install/mpb/src/maxwell'
  CC       libmaxwell_la-maxwell.lo
  CC       libmaxwell_la-maxwell_constraints.lo
  CC       libmaxwell_la-maxwell_eps.lo
In file included from maxwell_eps.c:29:0:
maxwell_eps.c: In function ‘set_maxwell_dielectric’:
xyz_loop.h:47:46: error: ‘k2’ undeclared (first use in this function)
                  case 2: i1 = i1_; i2 = i2_; k2 = 0; break; \
                                              ^
maxwell_eps.c:421:6: note: in expansion of macro ‘LOOP_XYZ’
      LOOP_XYZ(md) {
      ^
xyz_loop.h:47:46: note: each undeclared identifier is reported only once for each function it appears in
                  case 2: i1 = i1_; i2 = i2_; k2 = 0; break; \
                                              ^
maxwell_eps.c:421:6: note: in expansion of macro ‘LOOP_XYZ’
      LOOP_XYZ(md) {
      ^
xyz_loop.h:39:15: warning: unused variable ‘n1’ [-Wunused-variable]
           int n1 = md->nx, n2 = md->ny, n3 = md->nz, i1_, i2_, i1, i2, i3; \
               ^
maxwell_eps.c:421:6: note: in expansion of macro ‘LOOP_XYZ’
      LOOP_XYZ(md) {
      ^
maxwell_eps.c:404:27: warning: unused variable ‘rank’ [-Wunused-variable]
      int n_other, n_last, rank;
                           ^
maxwell_eps.c:404:19: warning: unused variable ‘n_last’ [-Wunused-variable]
      int n_other, n_last, rank;
                   ^
maxwell_eps.c:404:10: warning: unused variable ‘n_other’ [-Wunused-variable]
      int n_other, n_last, rank;
          ^
maxwell_eps.c:395:16: warning: unused variable ‘k’ [-Wunused-variable]
      int i, j, k;
                ^
maxwell_eps.c:395:13: warning: unused variable ‘j’ [-Wunused-variable]
      int i, j, k;
             ^
maxwell_eps.c:395:10: warning: unused variable ‘i’ [-Wunused-variable]
      int i, j, k;
          ^
maxwell_eps.c: At top level:
maxwell_eps.c:181:12: warning: ‘sym_matrix_eq’ defined but not used [-Wunused-function]
 static int sym_matrix_eq(symmetric_matrix V1, symmetric_matrix V2, double tol)
            ^
Makefile:420: recipe for target 'libmaxwell_la-maxwell_eps.lo' failed
make[4]: *** [libmaxwell_la-maxwell_eps.lo] Error 1
make[4]: Leaving directory '/home/arpit/install/mpb/src/maxwell'
Makefile:547: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/arpit/install/mpb/src'
Makefile:404: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/arpit/install/mpb/src'
Makefile:421: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/arpit/install/mpb'
Makefile:353: recipe for target 'all' failed
make: *** [all] Error 2
@oskooi
Copy link
Collaborator

oskooi commented Sep 18, 2017

If you've made it to this point in the installation script then the serial ("mpb") and parallel ("mpb-mpi") versions have already been successfully installed. The last five lines of the script compiles mpb with inversion symmetry which is where the failure occurs. Which version of fftw are you using? You can check with fftw-wisdom --version.

@bha159
Copy link
Author

bha159 commented Sep 19, 2017

fftw-wisodm --version

fftw-wisdom tool for FFTW version 3.3.4

@oskooi
Copy link
Collaborator

oskooi commented Sep 22, 2017

There was a small bug related to the inversion symmetry due to a recent merge which has now been patched. You will need to fetch the latest version of MPB and rebuild.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants