ERROR IN INSTALLING OF LAMMPS, PLEASE HELP ME SIR AS SOON AS POSSIBLE

PLEASE HELP ME: THE ERROR OCCURE WHILE INSTALLING LAMMPS ON UBUNTU 11.04, I AM INSTALLING IT FOR THE FIRST TIME ON MY SYSTEM:
[email protected]…2619…:~/Desktop/lammps/lammps-7May11/src/STUBS$ make clean
rm *.o libmpi.a
rm: cannot remove *.o': No such file or directory rm: cannot remove libmpi.a’: No such file or directory
make: [clean] Error 1 (ignored)

[email protected]…2619…:~/Desktop/lammps/lammps-7May11/src/STUBS$ make
g++ -O -c mpi.cpp
mpi.cpp:36:3: warning: non-local variable ‘ double_int’ uses anonymous type
ar rs libmpi.a mpi.o
ar: creating libmpi.a

[email protected]…2619…:~/Desktop/lammps/lammps-7May11/src/STUBS$ cd …
[email protected]…2619…:~/Desktop/lammps/lammps-7May11/src$ make clean-all
rm -rf Obj_*
[email protected]…2619…:~/Desktop/lammps/lammps-7May11/src$ make serial
make[1]: Entering directory /home/anthony/Desktop/lammps/lammps-7May11/src' make[1]: Leaving directory /home/anthony/Desktop/lammps/lammps-7May11/src’
make[1]: Entering directory /home/anthony/Desktop/lammps/lammps-7May11/src/Obj_serial' Makefile:103: angle_charmm.d: No such file or directory Makefile:103: angle_cosine.d: No such file or directory Makefile:103: angle_cosine_delta.d: No such file or directory Makefile:103: angle_cosine_periodic.d: No such file or directory Makefile:103: angle_cosine_squared.d: No such file or directory Makefile:103: angle.d: No such file or directory Makefile:103: angle_harmonic.d: No such file or directory Makefile:103: angle_hybrid.d: No such file or directory Makefile:103: angle_table.d: No such file or directory Makefile:103: atom.d: No such file or directory Makefile:103: atom_vec_angle.d: No such file or directory Makefile:103: atom_vec_atomic.d: No such file or directory Makefile:103: atom_vec_bond.d: No such file or directory Makefile:103: atom_vec_charge.d: No such file or directory Makefile:103: atom_vec.d: No such file or directory Makefile:103: atom_vec_ellipsoid.d: No such file or directory Makefile:103: atom_vec_full.d: No such file or directory Makefile:103: atom_vec_hybrid.d: No such file or directory Makefile:103: atom_vec_molecular.d: No such file or directory Makefile:103: atom_vec_sphere.d: No such file or directory Makefile:103: bond.d: No such file or directory Makefile:103: bond_fene.d: No such file or directory Makefile:103: bond_fene_expand.d: No such file or directory Makefile:103: bond_harmonic.d: No such file or directory Makefile:103: bond_hybrid.d: No such file or directory Makefile:103: bond_morse.d: No such file or directory Makefile:103: bond_nonlinear.d: No such file or directory Makefile:103: bond_quartic.d: No such file or directory Makefile:103: bond_table.d: No such file or directory Makefile:103: change_box.d: No such file or directory Makefile:103: comm.d: No such file or directory Makefile:103: compute_angle_local.d: No such file or directory Makefile:103: compute_atom_molecule.d: No such file or directory Makefile:103: compute_bond_local.d: No such file or directory Makefile:103: compute_centro_atom.d: No such file or directory Makefile:103: compute_cluster_atom.d: No such file or directory Makefile:103: compute_cna_atom.d: No such file or directory Makefile:103: compute_com.d: No such file or directory Makefile:103: compute_com_molecule.d: No such file or directory Makefile:103: compute_coord_atom.d: No such file or directory Makefile:103: compute.d: No such file or directory Makefile:103: compute_dihedral_local.d: No such file or directory Makefile:103: compute_displace_atom.d: No such file or directory Makefile:103: compute_erotate_sphere.d: No such file or directory Makefile:103: compute_group_group.d: No such file or directory Makefile:103: compute_gyration.d: No such file or directory Makefile:103: compute_gyration_molecule.d: No such file or directory Makefile:103: compute_heat_flux.d: No such file or directory Makefile:103: compute_improper_local.d: No such file or directory Makefile:103: compute_ke_atom.d: No such file or directory Makefile:103: compute_ke.d: No such file or directory Makefile:103: compute_msd.d: No such file or directory Makefile:103: compute_msd_molecule.d: No such file or directory Makefile:103: compute_pair.d: No such file or directory Makefile:103: compute_pair_local.d: No such file or directory Makefile:103: compute_pe_atom.d: No such file or directory Makefile:103: compute_pe.d: No such file or directory Makefile:103: compute_pressure.d: No such file or directory Makefile:103: compute_property_atom.d: No such file or directory Makefile:103: compute_property_local.d: No such file or directory Makefile:103: compute_property_molecule.d: No such file or directory Makefile:103: compute_rdf.d: No such file or directory Makefile:103: compute_reduce.d: No such file or directory Makefile:103: compute_reduce_region.d: No such file or directory Makefile:103: compute_stress_atom.d: No such file or directory Makefile:103: compute_temp_com.d: No such file or directory Makefile:103: compute_temp.d: No such file or directory Makefile:103: compute_temp_deform.d: No such file or directory Makefile:103: compute_temp_partial.d: No such file or directory Makefile:103: compute_temp_profile.d: No such file or directory Makefile:103: compute_temp_ramp.d: No such file or directory Makefile:103: compute_temp_region.d: No such file or directory Makefile:103: compute_temp_sphere.d: No such file or directory Makefile:103: compute_ti.d: No such file or directory Makefile:103: create_atoms.d: No such file or directory Makefile:103: create_box.d: No such file or directory Makefile:103: delete_atoms.d: No such file or directory Makefile:103: delete_bonds.d: No such file or directory Makefile:103: dihedral_charmm.d: No such file or directory Makefile:103: dihedral.d: No such file or directory Makefile:103: dihedral_harmonic.d: No such file or directory Makefile:103: dihedral_helix.d: No such file or directory Makefile:103: dihedral_hybrid.d: No such file or directory Makefile:103: dihedral_multi_harmonic.d: No such file or directory Makefile:103: dihedral_opls.d: No such file or directory Makefile:103: displace_atoms.d: No such file or directory Makefile:103: displace_box.d: No such file or directory Makefile:103: domain.d: No such file or directory Makefile:103: dump_atom.d: No such file or directory Makefile:103: dump_cfg.d: No such file or directory Makefile:103: dump.d: No such file or directory Makefile:103: dump_custom.d: No such file or directory Makefile:103: dump_dcd.d: No such file or directory Makefile:103: dump_local.d: No such file or directory Makefile:103: dump_xyz.d: No such file or directory Makefile:103: error.d: No such file or directory Makefile:103: ewald.d: No such file or directory Makefile:103: fft3d.d: No such file or directory Makefile:103: fft3d_wrap.d: No such file or directory Makefile:103: finish.d: No such file or directory Makefile:103: fix_adapt.d: No such file or directory Makefile:103: fix_addforce.d: No such file or directory Makefile:103: fix_ave_atom.d: No such file or directory Makefile:103: fix_ave_correlate.d: No such file or directory Makefile:103: fix_aveforce.d: No such file or directory Makefile:103: fix_ave_histo.d: No such file or directory Makefile:103: fix_ave_spatial.d: No such file or directory Makefile:103: fix_ave_time.d: No such file or directory Makefile:103: fix_bond_break.d: No such file or directory Makefile:103: fix_bond_create.d: No such file or directory Makefile:103: fix_bond_swap.d: No such file or directory Makefile:103: fix_box_relax.d: No such file or directory Makefile:103: fix.d: No such file or directory Makefile:103: fix_deform.d: No such file or directory Makefile:103: fix_deposit.d: No such file or directory Makefile:103: fix_drag.d: No such file or directory Makefile:103: fix_dt_reset.d: No such file or directory Makefile:103: fix_efield.d: No such file or directory Makefile:103: fix_enforce2d.d: No such file or directory Makefile:103: fix_evaporate.d: No such file or directory Makefile:103: fix_external.d: No such file or directory Makefile:103: fix_gravity.d: No such file or directory Makefile:103: fix_heat.d: No such file or directory Makefile:103: fix_indent.d: No such file or directory Makefile:103: fix_langevin.d: No such file or directory Makefile:103: fix_lineforce.d: No such file or directory Makefile:103: fix_minimize.d: No such file or directory Makefile:103: fix_momentum.d: No such file or directory Makefile:103: fix_move.d: No such file or directory Makefile:103: fix_nh.d: No such file or directory Makefile:103: fix_nh_sphere.d: No such file or directory Makefile:103: fix_nph.d: No such file or directory Makefile:103: fix_nph_sphere.d: No such file or directory Makefile:103: fix_npt.d: No such file or directory Makefile:103: fix_npt_sphere.d: No such file or directory Makefile:103: fix_nve.d: No such file or directory Makefile:103: fix_nve_limit.d: No such file or directory Makefile:103: fix_nve_noforce.d: No such file or directory Makefile:103: fix_nve_sphere.d: No such file or directory Makefile:103: fix_nvt.d: No such file or directory Makefile:103: fix_nvt_sllod.d: No such file or directory Makefile:103: fix_nvt_sphere.d: No such file or directory Makefile:103: fix_orient_fcc.d: No such file or directory Makefile:103: fix_planeforce.d: No such file or directory Makefile:103: fix_press_berendsen.d: No such file or directory Makefile:103: fix_print.d: No such file or directory Makefile:103: fix_qeq_comb.d: No such file or directory Makefile:103: fix_read_restart.d: No such file or directory Makefile:103: fix_recenter.d: No such file or directory Makefile:103: fix_respa.d: No such file or directory Makefile:103: fix_rigid.d: No such file or directory Makefile:103: fix_rigid_nve.d: No such file or directory Makefile:103: fix_rigid_nvt.d: No such file or directory Makefile:103: fix_setforce.d: No such file or directory Makefile:103: fix_shake.d: No such file or directory Makefile:103: fix_shear_history.d: No such file or directory Makefile:103: fix_spring.d: No such file or directory Makefile:103: fix_spring_rg.d: No such file or directory Makefile:103: fix_spring_self.d: No such file or directory Makefile:103: fix_store_force.d: No such file or directory Makefile:103: fix_store_state.d: No such file or directory Makefile:103: fix_temp_berendsen.d: No such file or directory Makefile:103: fix_temp_rescale.d: No such file or directory Makefile:103: fix_thermal_conductivity.d: No such file or directory Makefile:103: fix_tmd.d: No such file or directory Makefile:103: fix_ttm.d: No such file or directory Makefile:103: fix_viscosity.d: No such file or directory Makefile:103: fix_viscous.d: No such file or directory Makefile:103: fix_wall.d: No such file or directory Makefile:103: fix_wall_harmonic.d: No such file or directory Makefile:103: fix_wall_lj126.d: No such file or directory Makefile:103: fix_wall_lj93.d: No such file or directory Makefile:103: fix_wall_reflect.d: No such file or directory Makefile:103: fix_wall_region.d: No such file or directory Makefile:103: force.d: No such file or directory Makefile:103: group.d: No such file or directory Makefile:103: improper.d: No such file or directory Makefile:103: improper_cvff.d: No such file or directory Makefile:103: improper_harmonic.d: No such file or directory Makefile:103: improper_hybrid.d: No such file or directory Makefile:103: improper_umbrella.d: No such file or directory Makefile:103: input.d: No such file or directory Makefile:103: integrate.d: No such file or directory Makefile:103: irregular.d: No such file or directory Makefile:103: kspace.d: No such file or directory Makefile:103: lammps.d: No such file or directory Makefile:103: lattice.d: No such file or directory Makefile:103: library.d: No such file or directory Makefile:103: main.d: No such file or directory Makefile:103: math_extra.d: No such file or directory Makefile:103: memory.d: No such file or directory Makefile:103: min_cg.d: No such file or directory Makefile:103: min.d: No such file or directory Makefile:103: min_fire.d: No such file or directory Makefile:103: min_hftn.d: No such file or directory Makefile:103: minimize.d: No such file or directory Makefile:103: min_linesearch.d: No such file or directory Makefile:103: min_quickmin.d: No such file or directory Makefile:103: min_sd.d: No such file or directory Makefile:103: modify.d: No such file or directory Makefile:103: neigh_bond.d: No such file or directory Makefile:103: neighbor.d: No such file or directory Makefile:103: neigh_derive.d: No such file or directory Makefile:103: neigh_full.d: No such file or directory Makefile:103: neigh_gran.d: No such file or directory Makefile:103: neigh_half_bin.d: No such file or directory Makefile:103: neigh_half_multi.d: No such file or directory Makefile:103: neigh_half_nsq.d: No such file or directory Makefile:103: neigh_list.d: No such file or directory Makefile:103: neigh_request.d: No such file or directory Makefile:103: neigh_respa.d: No such file or directory Makefile:103: neigh_stencil.d: No such file or directory Makefile:103: output.d: No such file or directory Makefile:103: pack.d: No such file or directory Makefile:103: pair_airebo.d: No such file or directory Makefile:103: pair_born_coul_long.d: No such file or directory Makefile:103: pair_born.d: No such file or directory Makefile:103: pair_buck_coul_cut.d: No such file or directory Makefile:103: pair_buck_coul_long.d: No such file or directory Makefile:103: pair_buck.d: No such file or directory Makefile:103: pair_comb.d: No such file or directory Makefile:103: pair_coul_cut.d: No such file or directory Makefile:103: pair_coul_debye.d: No such file or directory Makefile:103: pair_coul_long.d: No such file or directory Makefile:103: pair.d: No such file or directory Makefile:103: pair_dpd.d: No such file or directory Makefile:103: pair_dpd_tstat.d: No such file or directory Makefile:103: pair_eam_alloy.d: No such file or directory Makefile:103: pair_eam.d: No such file or directory Makefile:103: pair_eam_fs.d: No such file or directory Makefile:103: pair_eim.d: No such file or directory Makefile:103: pair_gauss.d: No such file or directory Makefile:103: pair_hbond_dreiding_lj.d: No such file or directory Makefile:103: pair_hbond_dreiding_morse.d: No such file or directory Makefile:103: pair_hybrid.d: No such file or directory Makefile:103: pair_hybrid_overlay.d: No such file or directory Makefile:103: pair_lj96_cut.d: No such file or directory Makefile:103: pair_lj_charmm_coul_charmm.d: No such file or directory Makefile:103: pair_lj_charmm_coul_charmm_implicit.d: No such file or directory Makefile:103: pair_lj_charmm_coul_long.d: No such file or directory Makefile:103: pair_lj_cut_coul_cut.d: No such file or directory Makefile:103: pair_lj_cut_coul_debye.d: No such file or directory Makefile:103: pair_lj_cut_coul_long.d: No such file or directory Makefile:103: pair_lj_cut_coul_long_tip4p.d: No such file or directory Makefile:103: pair_lj_cut.d: No such file or directory Makefile:103: pair_lj_expand.d: No such file or directory Makefile:103: pair_lj_gromacs_coul_gromacs.d: No such file or directory Makefile:103: pair_lj_gromacs.d: No such file or directory Makefile:103: pair_lj_smooth.d: No such file or directory Makefile:103: pair_morse.d: No such file or directory Makefile:103: pair_soft.d: No such file or directory Makefile:103: pair_sw.d: No such file or directory Makefile:103: pair_table.d: No such file or directory Makefile:103: pair_tersoff.d: No such file or directory Makefile:103: pair_tersoff_zbl.d: No such file or directory Makefile:103: pair_yukawa.d: No such file or directory Makefile:103: pppm.d: No such file or directory Makefile:103: pppm_tip4p.d: No such file or directory Makefile:103: random_mars.d: No such file or directory Makefile:103: random_park.d: No such file or directory Makefile:103: read_data.d: No such file or directory Makefile:103: read_restart.d: No such file or directory Makefile:103: region_block.d: No such file or directory Makefile:103: region_cone.d: No such file or directory Makefile:103: region.d: No such file or directory Makefile:103: region_cylinder.d: No such file or directory Makefile:103: region_intersect.d: No such file or directory Makefile:103: region_plane.d: No such file or directory Makefile:103: region_prism.d: No such file or directory Makefile:103: region_sphere.d: No such file or directory Makefile:103: region_union.d: No such file or directory Makefile:103: remap.d: No such file or directory Makefile:103: remap_wrap.d: No such file or directory Makefile:103: replicate.d: No such file or directory Makefile:103: respa.d: No such file or directory Makefile:103: run.d: No such file or directory Makefile:103: set.d: No such file or directory Makefile:103: special.d: No such file or directory Makefile:103: thermo.d: No such file or directory Makefile:103: timer.d: No such file or directory Makefile:103: universe.d: No such file or directory Makefile:103: update.d: No such file or directory Makefile:103: variable.d: No such file or directory Makefile:103: velocity.d: No such file or directory Makefile:103: verlet.d: No such file or directory Makefile:103: write_restart.d: No such file or directory g++4 -O -DLAMMPS_GZIP -I../STUBS -DFFT_NONE -M write_restart.cpp > write_restart.d /bin/sh: g++4: not found make[1]: *** [write_restart.d] Error 127 make[1]: Leaving directory /home/anthony/Desktop/lammps/lammps-7May11/src/Obj_serial’
make: *** [serial] Error 2

The error seems to be pretty obvious: “/bin/sh: g++4: not found.” You need to change the g++4 call in the makefile to whichever compiler it is you want to use.

Everything else is a warning, not an error.

–AEI