<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div><span>Hello,</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><span>I have compiled a code (siesta) by mpich2, blacs, lapack, blas and scalapack. It works fine under grid computation. But when I want to "make" a utility, I receive the following errors:</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><font size="2"><br><span></span></font></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif;
 background-color: transparent; font-style: normal;"><span><font size="2"><span style="font-style: italic;">[Home@localhost Gen-basis]$ make<br>/usr/local/bin/mpif90          -o gen-basis \<br>        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  /home/Home/Packages/scalapack-2.0.2/libscalapack.a /home/Home/Packages/BLACS/LIB/blacsCinit_MPI-LINUX-0.a /home/Home/Packages/BLACS/LIB/blacsF77init_MPI-LINUX-0.a /home/Home/Packages/BLACS/LIB/blacs_MPI-LINUX-0.a /home/Home/Packages/lapack-3.4.2/liblapack.a
 /home/Home/Packages/BLAS/blas_LINUX.a <br>alloc.o: In function `print_report':<br>/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:1705: undefined reference to `__mpi__r8_s_MOD_mpi_reduce_t'<br>/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:1707: undefined reference to `__mpi__r8_v_MOD_mpi_reduce_t'<br>/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:1711: undefined reference to `__mpi__integer_s_MOD_mpi_bcast_t'<br>/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:1723: undefined reference to `__mpi__r8_s_MOD_mpi_recv_t'<br>/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:1718: undefined reference to `__mpi__r8_s_MOD_mpi_send_t'<br>alloc.o: In function `__alloc_MOD_alloc_report':<br>/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:318: undefined reference to
 `__mpi__integer_s_MOD_mpi_bcast_t'<br>/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:319: undefined reference to `__mpi__integer_s_MOD_mpi_bcast_t'<br>/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/alloc.F90:320: 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: undefined reference to `__mpi__integer_s_MOD_mpi_bcast_t'<br>/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/xcmod.F:138: undefined reference to `__mpi__character_v_MOD_mpi_bcast_t'<br>/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/xcmod.F:140: undefined reference to `__mpi__character_v_MOD_mpi_bcast_t'<br>/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/xcmod.F:142: undefined reference to
 `__mpi__r8_v_MOD_mpi_bcast_t'<br>/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/xcmod.F:144: undefined 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: 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: 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: undefined reference to `__mpi__r8_s_MOD_mpi_allreduce_t'<br>/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/timer.F:164: undefined reference to `__mpi__r8_v_MOD_mpi_reduce_t'<br>/home/Home/Packages/siesta-TEST-3.2/Util/Gen-basis/../../Src/timer.F:139: undefined reference to `__mpi__r8_v_MOD_mpi_reduce_t'<br>collect2: error: ld returned 1 exit status<br>make:
 *** [gen-basis] Error 1</span></font></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;"><span style="font-family: tahoma,new york,times,serif;"> </span><div class="y_msg_container"><span style="font-family: tahoma,new york,times,serif;"><span>I will be really grateful if you kindly help me to solve this problem.</span></span><br></div> </div> </div>  </div></body></html>