<div>Hi Paolo,</div>
<div> </div>
<div> Thanks again for your help. When I removed "ntyp => nsp," and replaced "ntyp" with "nsp" in PW/read_file.f90, the compilation is ok,</div>
<div>But the fourth error appears in the last step: </div>
<div> </div>
<div>mpif90 -o pw.x \ pwscf.o ../Modules/atom.o ../Modules/autopilot.o ../Modules/basic_algebra_routines.o ../Modules/berry_phase.o ../Modules/bfgs_module.o ../Modules/cell_base.o ../Modules/check_stop.o ../Modules/clocks.o ../Modules/constants.o ../Modules/constraints_module.o ../Modules/control_flags.o ../Modules/electrons_base.o ../Modules/fft_base.o ../Modules/fft_scalar.o ../Modules/fft_types.o ../Modules/functionals.o ../Modules/input_parameters.o ../Modules/io_files.o ../Modules/io_global.o ../Modules/ions_base.o ../Modules/ions_nose.o ../Modules/kind.o ../Modules/mp_global.o ../Modules/mp_wave.o ../Modules/mp.o ../Modules/metadyn_base.o ../Modules/metadyn_io.o ../Modules/metadyn_vars.o ../Modules/path_base.o ../Modules/path_formats.o ../Modules/path_variables.o ../Modules/path_opt_routines.o ../Modules/path_io_routines.o ../Modules/path_reparametrisation.o ../Modules/parallel_include.o ../Modules/parameters.o ../Modules/parser.o ../Modules/printout_base.o ../Modules/pseudo_types.o ../Modules/ptoolkit.o ../Modules/random_numbers.o ../Modules/read_cards.o ../Modules/read_namelists.o ../Modules/read_upf.o ../Modules/read_uspp.o ../Modules/recvec.o ../Modules/shmem_include.o ../Modules/splinelib.o ../Modules/stick_base.o ../Modules/task_groups.o ../Modules/timestep.o ../Modules/uspp.o ../Modules/version.o ../Modules/wavefunctions.o ../Modules/wave_base.o ../Modules/xml_io_base.o
libpw.a ../flib/ptools.a ../flib/flib.a ../clib/clib.a ../iotk/src/libiotk.a -lmkl_lapack -L/soft/mkl61/lib/64/ -lmkl_ipf -lguide -lpthread -L/soft/mpi_intel/lib/ -lmpif90 -lmpi -lfmpi <br>ld: Warning: size of symbol `MODULE$control_flags_1' changed from 196 to 492 in ../Modules/control_flags.o
<br>ld: Warning: size of symbol `MODULE$reciprocal_vectors_1' changed from 352 to 1016 in ../Modules/recvec.o<br>../Modules/berry_phase.o: In function `berry_phase$$ln_setup_':<br>../Modules/berry_phase.o(.text+0xd2): undefined reference to `ln_alloc_'
<br>../Modules/berry_phase.o(.text+0x212): undefined reference to `ln_set_'<br>../Modules/berry_phase.o(.text+0x232): undefined reference to `ln_activate_'<br>../Modules/berry_phase.o: In function `berry_phase$$ln_closeup_':
<br>../Modules/berry_phase.o(.text+0x322): undefined reference to `ln_dealloc_'<br>../Modules/berry_phase.o: In function `berry_phase$$indi_of_ig_':<br>../Modules/berry_phase.o(.text+0x61c2): undefined reference to `ln_ind_'
<br>../Modules/berry_phase.o(.text+0x6362): undefined reference to `ln_ind_'<br>../Modules/berry_phase.o(.text+0x63e2): undefined reference to `ln_ind_'<br>../Modules/berry_phase.o(.text+0x6452): undefined reference to `ln_ind_'
<br>../Modules/berry_phase.o(.text+0x6572): undefined reference to `ln_ind_'<br>../Modules/berry_phase.o(.text+0x6602): more undefined references to `ln_ind_' follow<br>make[1]: *** [pw.x] Error 1<br>make[1]: Leaving directory `/home.snfs/fjma/pw3.2/espresso-
3.2/PW'<br>make: *** [pw] Error 2</div>
<div> </div>
<div>Yours,</div>
<div>Ma</div>
<p> </p>