[lammps-users] compile and debug under linux(ubuntu)

Hi,
Sorry to bother U.
Recently, I am reading Lammps codes under linux. GDB does not work now.
I think it is necessary to command “make serial_debug” or “make serial_icc”, before compile Lammps
But it post lots of errors below. I know there are something wrong in line 84 of Makefile.serial_debug. What should I do now?
I would like to know how to compile and debug under linux.
Any help or suggestion will be appreciated!
Makefile:84: angle_charmm.d: No such file or directory
Makefile:84: angle_cosine.d: No such file or directory
Makefile:84: angle_cosine_delta.d: No such file or directory
Makefile:84: angle_cosine_squared.d: No such file or directory
Makefile:84: angle.d: No such file or directory
Makefile:84: angle_harmonic.d: No such file or directory
Makefile:84: angle_hybrid.d: No such file or directory
Makefile:84: atom.d: No such file or directory
Makefile:84: atom_vec_angle.d: No such file or directory
Makefile:84: atom_vec_atomic.d: No such file or directory
Makefile:84: atom_vec_bond.d: No such file or directory
Makefile:84: atom_vec_charge.d: No such file or directory
Makefile:84: atom_vec.d: No such file or directory
Makefile:84: atom_vec_full.d: No such file or directory
Makefile:84: atom_vec_hybrid.d: No such file or directory
Makefile:84: atom_vec_molecular.d: No such file or directory
Makefile:84: bond.d: No such file or directory
Makefile:84: bond_fene.d: No such file or directory
Makefile:84: bond_fene_expand.d: No such file or directory
Makefile:84: bond_harmonic.d: No such file or directory
Makefile:84: bond_hybrid.d: No such file or directory
Makefile:84: bond_morse.d: No such file or directory
Makefile:84: bond_nonlinear.d: No such file or directory
Makefile:84: bond_quartic.d: No such file or directory
Makefile:84: change_box.d: No such file or directory
Makefile:84: comm.d: No such file or directory
Makefile:84: compute_centro_atom.d: No such file or directory
Makefile:84: compute_cna_atom.d: No such file or directory
Makefile:84: compute_coord_atom.d: No such file or directory
Makefile:84: compute.d: No such file or directory
Makefile:84: compute_displace_atom.d: No such file or directory
Makefile:84: compute_erotate_sphere.d: No such file or directory
Makefile:84: compute_group_group.d: No such file or directory
Makefile:84: compute_heat_flux.d: No such file or directory
Makefile:84: compute_ke_atom.d: No such file or directory
Makefile:84: compute_ke.d: No such file or directory
Makefile:84: compute_pe_atom.d: No such file or directory
Makefile:84: compute_pe.d: No such file or directory
Makefile:84: compute_pressure.d: No such file or directory
Makefile:84: compute_reduce.d: No such file or directory
Makefile:84: compute_reduce_region.d: No such file or directory
Makefile:84: compute_stress_atom.d: No such file or directory
Makefile:84: compute_temp_com.d: No such file or directory
Makefile:84: compute_temp.d: No such file or directory
Makefile:84: compute_temp_deform.d: No such file or directory
Makefile:84: compute_temp_partial.d: No such file or directory
Makefile:84: compute_temp_profile.d: No such file or directory
Makefile:84: compute_temp_ramp.d: No such file or directory
Makefile:84: compute_temp_region.d: No such file or directory
Makefile:84: compute_temp_sphere.d: No such file or directory
Makefile:84: create_atoms.d: No such file or directory
Makefile:84: create_box.d: No such file or directory
Makefile:84: delete_atoms.d: No such file or directory
Makefile:84: delete_bonds.d: No such file or directory
Makefile:84: dihedral_charmm.d: No such file or directory
Makefile:84: dihedral.d: No such file or directory
Makefile:84: dihedral_harmonic.d: No such file or directory
Makefile:84: dihedral_helix.d: No such file or directory
Makefile:84: dihedral_hybrid.d: No such file or directory
Makefile:84: dihedral_multi_harmonic.d: No such file or directory
Makefile:84: dihedral_opls.d: No such file or directory
Makefile:84: displace_atoms.d: No such file or directory
Makefile:84: displace_box.d: No such file or directory
Makefile:84: domain.d: No such file or directory
Makefile:84: dump_atom.d: No such file or directory
Makefile:84: dump_bond.d: No such file or directory
Makefile:84: dump.d: No such file or directory
Makefile:84: dump_custom.d: No such file or directory
Makefile:84: dump_dcd.d: No such file or directory
Makefile:84: dump_xyz.d: No such file or directory
Makefile:84: error.d: No such file or directory
Makefile:84: ewald.d: No such file or directory
Makefile:84: fft3d.d: No such file or directory
Makefile:84: fft3d_wrap.d: No such file or directory
Makefile:84: finish.d: No such file or directory
Makefile:84: fix_add_force.d: No such file or directory
Makefile:84: fix_ave_atom.d: No such file or directory
Makefile:84: fix_ave_force.d: No such file or directory
Makefile:84: fix_ave_spatial.d: No such file or directory
Makefile:84: fix_ave_time.d: No such file or directory
Makefile:84: fix_bond_break.d: No such file or directory
Makefile:84: fix_bond_create.d: No such file or directory
Makefile:84: fix_bond_swap.d: No such file or directory
Makefile:84: fix_box_relax.d: No such file or directory
Makefile:84: fix_com.d: No such file or directory
Makefile:84: fix_coord_original.d: No such file or directory
Makefile:84: fix.d: No such file or directory
Makefile:84: fix_deform.d: No such file or directory
Makefile:84: fix_deposit.d: No such file or directory
Makefile:84: fix_drag.d: No such file or directory
Makefile:84: fix_dt_reset.d: No such file or directory
Makefile:84: fix_efield.d: No such file or directory
Makefile:84: fix_enforce2d.d: No such file or directory
Makefile:84: fix_evaporate.d: No such file or directory
Makefile:84: fix_gravity.d: No such file or directory
Makefile:84: fix_gyration.d: No such file or directory
Makefile:84: fix_heat.d: No such file or directory
Makefile:84: fix_indent.d: No such file or directory
Makefile:84: fix_langevin.d: No such file or directory
Makefile:84: fix_line_force.d: No such file or directory
Makefile:84: fix_minimize.d: No such file or directory
Makefile:84: fix_momentum.d: No such file or directory
Makefile:84: fix_msd.d: No such file or directory
Makefile:84: fix_nph.d: No such file or directory
Makefile:84: fix_npt.d: No such file or directory
Makefile:84: fix_npt_sphere.d: No such file or directory
Makefile:84: fix_nve.d: No such file or directory
Makefile:84: fix_nve_limit.d: No such file or directory
Makefile:84: fix_nve_noforce.d: No such file or directory
Makefile:84: fix_nve_sphere.d: No such file or directory
Makefile:84: fix_nvt.d: No such file or directory
Makefile:84: fix_nvt_sllod.d: No such file or directory
Makefile:84: fix_nvt_sphere.d: No such file or directory
Makefile:84: fix_orient_fcc.d: No such file or directory
Makefile:84: fix_plane_force.d: No such file or directory
Makefile:84: fix_press_berendsen.d: No such file or directory
Makefile:84: fix_print.d: No such file or directory
Makefile:84: fix_rdf.d: No such file or directory
Makefile:84: fix_recenter.d: No such file or directory
Makefile:84: fix_respa.d: No such file or directory
Makefile:84: fix_rigid.d: No such file or directory
Makefile:84: fix_set_force.d: No such file or directory
Makefile:84: fix_shake.d: No such file or directory
Makefile:84: fix_shear_history.d: No such file or directory
Makefile:84: fix_spring.d: No such file or directory
Makefile:84: fix_spring_rg.d: No such file or directory
Makefile:84: fix_spring_self.d: No such file or directory
Makefile:84: fix_temp_berendsen.d: No such file or directory
Makefile:84: fix_temp_rescale.d: No such file or directory
Makefile:84: fix_thermal_conductivity.d: No such file or directory
Makefile:84: fix_tmd.d: No such file or directory
Makefile:84: fix_ttm.d: No such file or directory
Makefile:84: fix_viscosity.d: No such file or directory
Makefile:84: fix_viscous.d: No such file or directory
Makefile:84: fix_wall_lj126.d: No such file or directory
Makefile:84: fix_wall_lj93.d: No such file or directory
Makefile:84: fix_wall_reflect.d: No such file or directory
Makefile:84: fix_wiggle.d: No such file or directory
Makefile:84: force.d: No such file or directory
Makefile:84: group.d: No such file or directory
Makefile:84: improper.d: No such file or directory
Makefile:84: improper_cvff.d: No such file or directory
Makefile:84: improper_harmonic.d: No such file or directory
Makefile:84: improper_hybrid.d: No such file or directory
Makefile:84: input.d: No such file or directory
Makefile:84: integrate.d: No such file or directory
Makefile:84: kspace.d: No such file or directory
Makefile:84: lammps.d: No such file or directory
Makefile:84: lattice.d: No such file or directory
Makefile:84: library.d: No such file or directory
Makefile:84: main.d: No such file or directory
Makefile:84: memory.d: No such file or directory
Makefile:84: min_cg.d: No such file or directory
Makefile:84: min.d: No such file or directory
Makefile:84: minimize.d: No such file or directory
Makefile:84: min_sd.d: No such file or directory
Makefile:84: modify.d: No such file or directory
Makefile:84: neigh_bond.d: No such file or directory
Makefile:84: neighbor.d: No such file or directory
Makefile:84: neigh_derive.d: No such file or directory
Makefile:84: neigh_full.d: No such file or directory
Makefile:84: neigh_gran.d: No such file or directory
Makefile:84: neigh_half_bin.d: No such file or directory
Makefile:84: neigh_half_multi.d: No such file or directory
Makefile:84: neigh_half_nsq.d: No such file or directory
Makefile:84: neigh_list.d: No such file or directory
Makefile:84: neigh_request.d: No such file or directory
Makefile:84: neigh_respa.d: No such file or directory
Makefile:84: neigh_stencil.d: No such file or directory
Makefile:84: output.d: No such file or directory
Makefile:84: pack.d: No such file or directory
Makefile:84: pair_airebo.d: No such file or directory
Makefile:84: pair_born_coul_long.d: No such file or directory
Makefile:84: pair_buck_coul_cut.d: No such file or directory
Makefile:84: pair_buck_coul_long.d: No such file or directory
Makefile:84: pair_buck.d: No such file or directory
Makefile:84: pair_coul_cut.d: No such file or directory
Makefile:84: pair_coul_debye.d: No such file or directory
Makefile:84: pair_coul_long.d: No such file or directory
Makefile:84: pair.d: No such file or directory
Makefile:84: pair_eam_alloy.d: No such file or directory
Makefile:84: pair_eam.d: No such file or directory
Makefile:84: pair_eam_fs.d: No such file or directory
Makefile:84: pair_hybrid.d: No such file or directory
Makefile:84: pair_hybrid_overlay.d: No such file or directory

2010/9/4 毛益进 <[email protected]>:

Hi,
Sorry to bother U.
Recently, I am reading Lammps codes under linux. GDB does not work now.
I think it is necessary to command "make serial_debug" or "make serial_icc",
before compile Lammps
But it post lots of errors below. I know there are something wrong in line
84 of Makefile.serial_debug. What should I do now?
I would like to know how to compile and debug under linux.
Any help or suggestion will be appreciated!

there is nothing wrong here. those messages are to be expected.

axel.