<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">We're not going to be able to help you debug other packages here. You're going to need to talk to the Siesta people about this.<div><br><div><div>On Jul 8, 2013, at 12:15 PM, Hana Milani <<a href="mailto:hana.milani@yahoo.com">hana.milani@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="background-color: rgb(255, 255, 255); font-family: tahoma, 'new york', times, serif; font-size: 10pt; "><div><span>I have also tried to install serial Siesta and "make" gen basis. Here is the error I get:</span></div><div style="font-size: 13.3333px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal; "><br><span></span></div><div style="font-size: 13.3333px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal; "><span>alloc.o basis_types.o precision.o recipes.o parallel.o parsing.o xcmod.o basis_io.o chemical.o atm_transfer.o atm_types.o atmparams.o old_atmfuncs.o radial.o io.o paste.o flib_spline.o bessph.o m_filter.o basis_specs.o atom.o memoryinfo.o memory.o periodic_table.o pseudopotential.o pxf.o dot.o xc.o atom_options.o arw.o sys.o timer.o xml.o m_walltime.o gen-basis.o nag.o
libfdf.a dc_lapack.a liblapack.a libblas.a <br>f95: error: dc_lapack.a: No such file or directory<br>f95: error: liblapack.a: No such file or directory<br>f95: error: libblas.a: No such file or directory<br>make: *** [gen-basis] Error 1</span></div><div style="font-size: 13.3333px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal; "><br><span></span></div><div style="font-size: 13.3333px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal; "><span>why should it ask for liblapack when I have installed siesta in parallel with absolutely n change in arch.make !!!!</span></div><div style="font-size: 13.3333px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal; "><span><br></span></div><div style="font-size: 13.3333px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal; "><span><br></span></div><div><br></div> <div style="font-family: tahoma, new york, times, serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Jeff Hammond <<a href="mailto:jeff.science@gmail.com">jeff.science@gmail.com</a>><br> <b><span style="font-weight: bold;">To:</span></b> Hana Milani <<a href="mailto:hana.milani@yahoo.com">hana.milani@yahoo.com</a>>; <a href="mailto:discuss@mpich.org">discuss@mpich.org</a> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, July 8, 2013 8:56 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [mpich-discuss] "undefined references"<br> </font> </div> <div class="y_msg_container"><br>I looked through the code and suspect Siesta is at fault but since<br>they rolled their own MPI F90 wrappers and I know very little about<br>F90, I cannot debug
it.<br><br>You will see that there are no wrappers for send, recv, bcast or<br>reduce (the functions for which you get errors) in ./Src/MPI/mpi.F.<br>There are references to these in ./Src/MPI/mpi__*.f90 but I don't<br>understand what's going on very well. It also appears that these<br>files are from a prototype implementation of the F90 module for MPI<br>1.1 written in 1996. I don't know if that was before the MPI standard<br>defined F90 bindings, but it surely does now and applications should<br>use those instead.<br><br>The other thing you can do is turn off MPI in the utility code since<br>it might not be necessary there.<br><br>Jeff<br><br>On Mon, Jul 8, 2013 at 11:09 AM, Hana Milani <<a ymailto="mailto:hana.milani@yahoo.com" href="mailto:hana.milani@yahoo.com">hana.milani@yahoo.com</a>> wrote:<br>> yes, apologies<br>><br>> ________________________________<br>> From: Hana Milani <<a ymailto="mailto:hana.milani@yahoo.com" href="mailto:hana.milani@yahoo.com">hana.milani@yahoo.com</a>><br>> To: Pavan Balaji <<a ymailto="mailto:balaji@mcs.anl.gov" href="mailto:balaji@mcs.anl.gov">balaji@mcs.anl.gov</a>><br>> Sent: Monday, July 8, 2013 7:53 PM<br>><br>> Subject: Re: [mpich-discuss] "undefined references"<br>><br>> yes Pavan, But it's a long time I have not received any response<br>><br>><br>> ________________________________<br>> From: Pavan Balaji <<a ymailto="mailto:balaji@mcs.anl.gov" href="mailto:balaji@mcs.anl.gov">balaji@mcs.anl.gov</a>><br>> To: Hana Milani <<a ymailto="mailto:hana.milani@yahoo.com" href="mailto:hana.milani@yahoo.com">hana.milani@yahoo.com</a>>; <a ymailto="mailto:discuss@mpich.org" href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>> Sent: Monday, July 8, 2013 7:03 PM<br>><br>> Subject: Re: [mpich-discuss] "undefined
references"<br>><br>><br>> This doesn't look like an MPI error. Did you contact the authors of<br>> whatever package you are trying to compile?<br>><br>> -- Pavan<br>><br>> On 07/08/2013 08:25 AM, Hana Milani wrote:<br>>> Hello,<br>>><br>>> I have compiled a code (siesta) by mpich2, blacs, lapack, blas and<br>>> scalapack. It works fine under grid computation. But when I want to<br>>> "make" a utility, I receive the following errors:<br>>><br>>> [<a ymailto="mailto:Home@localhost" href="mailto:Home@localhost">Home@localhost</a> Gen-basis]$ make<br>>> /usr/local/bin/mpif90 -o gen-basis \<br>>> alloc.o basis_types.o precision.o recipes.o parallel.o<br>>> parsing.o xcmod.o basis_io.o chemical.o atm_transfer.o atm_types.o<br>>> atmparams.o old_atmfuncs.o radial.o io.o paste.o
flib_spline.o<br>>> bessph.o m_filter.o basis_specs.o atom.o memoryinfo.o memory.o<br>>> periodic_table.o pseudopotential.o pxf.o dot.o xc.o atom_options.o<br>>> arw.o sys.o timer.o xml.o m_walltime.o gen-basis.o nag.o libfdf.a<br>>> /home/Home/Packages/scalapack-2.0.2/libscalapack.a<br>>> /home/Home/Packages/BLACS/LIB/blacsCinit_MPI-LINUX-0.a<br>>> /home/Home/Packages/BLACS/LIB/blacsF77init_MPI-LINUX-0.a<br>>> /home/Home/Packages/BLACS/LIB/blacs_MPI-LINUX-0.a<br>>> /home/Home/Packages/lapack-3.4.2/liblapack.a<br>>> /home/Home/Packages/BLAS/blas_LINUX.a<br>>> alloc.o: In function `print_report':<br>>><br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:1705:<br>>> undefined reference to `__mpi__r8_s_MOD_mpi_reduce_t'<br>>><br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:1707:<br>>>
undefined reference to `__mpi__r8_v_MOD_mpi_reduce_t'<br>>><br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:1711:<br>>> undefined reference to `__mpi__integer_s_MOD_mpi_bcast_t'<br>>><br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:1723:<br>>> undefined reference to `__mpi__r8_s_MOD_mpi_recv_t'<br>>><br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:1718:<br>>> undefined reference to `__mpi__r8_s_MOD_mpi_send_t'<br>>> alloc.o: In function `__alloc_MOD_alloc_report':<br>>><br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:318:<br>>> undefined reference to `__mpi__integer_s_MOD_mpi_bcast_t'<br>>><br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:319:<br>>> undefined reference to
`__mpi__integer_s_MOD_mpi_bcast_t'<br>>><br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:320:<br>>> undefined reference to `__mpi__character_s_MOD_mpi_bcast_t'<br>>> xcmod.o: In function `__xcmod_MOD_setxc':<br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/xcmod.F:136:<br>>> undefined<br>>> reference to `__mpi__integer_s_MOD_mpi_bcast_t'<br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/xcmod.F:138:<br>>> undefined<br>>> reference to `__mpi__character_v_MOD_mpi_bcast_t'<br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/xcmod.F:140:<br>>> undefined<br>>> reference to `__mpi__character_v_MOD_mpi_bcast_t'<br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/xcmod.F:142:<br>>> undefined<br>>> reference to `__mpi__r8_v_MOD_mpi_bcast_t'<br>>>
/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/xcmod.F:144:<br>>> undefined<br>>> reference to `__mpi__r8_v_MOD_mpi_bcast_t'<br>>> memory.o: In function `printmemory_':<br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/memory.F:144:<br>>> undefined reference to `__mpi__integer_s_MOD_mpi_allreduce_t'<br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/memory.F:167:<br>>> undefined reference to `__mpi__integer_sv_MOD_mpi_gather_t'<br>>> timer.o: In function `timer1_':<br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/timer.F:117:<br>>> undefined<br>>> reference to `__mpi__r8_s_MOD_mpi_allreduce_t'<br>>> /home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/timer.F:164:<br>>> undefined<br>>> reference to `__mpi__r8_v_MOD_mpi_reduce_t'<br>>>
/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/timer.F:139:<br>>> undefined<br>>> reference to `__mpi__r8_v_MOD_mpi_reduce_t'<br>>> collect2: error: ld returned 1 exit status<br>>> make: *** [gen-basis] Error 1<br>>><br>>> I will be really grateful if you kindly help me to solve this problem.<br>>><br>>><br>>> _______________________________________________<br>>> discuss mailing list <a ymailto="mailto:discuss@mpich.org" href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>>> To manage subscription options or unsubscribe:<br>>> <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>>><br>><br>> --<br>> Pavan Balaji<br>> <a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>><br>><br>><br>><br>><br>>
_______________________________________________<br>> discuss mailing list <a ymailto="mailto:discuss@mpich.org" href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>> To manage subscription options or unsubscribe:<br>> <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br><br><br><br>-- <br>Jeff Hammond<br><a ymailto="mailto:jeff.science@gmail.com" href="mailto:jeff.science@gmail.com">jeff.science@gmail.com</a><br><br><br></div> </div> </div> </div></div>_______________________________________________<br>discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>To manage subscription options or unsubscribe:<br><a href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a></blockquote></div><br></div></body></html>