[lammps-users] Ubuntu installation

the make file for ubuntu from another forum ( http://swiss.ubuntuforums.org/showthread.php?t=1390490) doesn’t work. There are still error messages. The make file and error messages are listed below.

I don’t understand why it still so complicated nowadays.

makefile from http://swiss.ubuntuforums.org/showthread.php?t=1390490

ubuntu = Ubuntu 9.10, g++, no MPI, FFTW 2.1.3

SHELL = /bin/sh

System-specific settings

MPIDIR = …/STUBS

CC = g++
CCFLAGS = -O -DFFT_FFTW -DLAMMPS_GZIP -I$(MPIDIR)
DEPFLAGS = -M
LINK = (CC) LINKFLAGS = -O USRLIB = -lfftw -lmpi -L(MPIDIR)
SYSLIB =
ARCHIVE = ar
ARFLAGS = -rc
SIZE = size

Link target

(EXE): (OBJ)
(LINK) (LINKFLAGS) (OBJ) (USRLIB) (SYSLIB) -o (EXE)
(SIZE) (EXE)

Library target

lib: (OBJ) (ARCHIVE) (ARFLAGS) (EXE) $(OBJ)

Compilation rules

.o:.cpp
(CC) (CCFLAGS) -c $<

.d:.cpp
(CC) (CCFLAGS) (DEPFLAGS) < > $@

Individual dependencies

DEPENDS = (OBJ:.o=.d) include (DEPENDS)

error messages:

frank@…1810…:~/Desktop/lammps-30Mar10/src$ make ubuntu
make[1]: Entering directory
`/home/frank/Desktop/lammps-30Mar10/src/Obj_ubuntu’
Makefile:42: angle_cg_cmm.d: No such file or directory
Makefile:42: angle_charmm.d: No such file or directory
Makefile:42: angle_class2.d: No such file or directory
Makefile:42: angle_cosine.d: No such file or directory
Makefile:42: angle_cosine_delta.d: No such file or directory
Makefile:42: angle_cosine_squared.d: No such file or directory
Makefile:42: angle.d: No such file or directory
Makefile:42: angle_harmonic.d: No such file or directory
Makefile:42: angle_hybrid.d: No such file or directory
Makefile:42: angle_table.d: No such file or directory
Makefile:42: atom.d: No such file or directory
Makefile:42: atom_vec_angle.d: No such file or directory
Makefile:42: atom_vec_atomic.d: No such file or directory
Makefile:42: atom_vec_bond.d: No such file or directory
Makefile:42: atom_vec_charge.d: No such file or directory
Makefile:42: atom_vec_colloid.d: No such file or directory
Makefile:42: atom_vec.d: No such file or directory
Makefile:42: atom_vec_dipole.d: No such file or directory
Makefile:42: atom_vec_ellipsoid.d: No such file or directory
Makefile:42: atom_vec_full.d: No such file or directory
Makefile:42: atom_vec_granular.d: No such file or directory
Makefile:42: atom_vec_hybrid.d: No such file or directory
Makefile:42: atom_vec_molecular.d: No such file or directory
Makefile:42: atom_vec_peri.d: No such file or directory
Makefile:42: bond_class2.d: No such file or directory
Makefile:42: bond.d: No such file or directory
Makefile:42: bond_fene.d: No such file or directory
Makefile:42: bond_fene_expand.d: No such file or directory
Makefile:42: bond_harmonic.d: No such file or directory
Makefile:42: bond_hybrid.d: No such file or directory
Makefile:42: bond_morse.d: No such file or directory
Makefile:42: bond_nonlinear.d: No such file or directory
Makefile:42: bond_quartic.d: No such file or directory
Makefile:42: bond_table.d: No such file or directory
Makefile:42: cg_cmm_parms.d: No such file or directory
Makefile:42: change_box.d: No such file or directory
Makefile:42: comm.d: No such file or directory
Makefile:42: compute_ackland_atom.d: No such file or directory
Makefile:42: compute_angle_local.d: No such file or directory
Makefile:42: compute_bond_local.d: No such file or directory
Makefile:42: compute_centro_atom.d: No such file or directory
Makefile:42: compute_cna_atom.d: No such file or directory
Makefile:42: compute_com.d: No such file or directory
Makefile:42: compute_com_molecule.d: No such file or directory
Makefile:42: compute_coord_atom.d: No such file or directory
Makefile:42: compute.d: No such file or directory
Makefile:42: compute_damage_atom.d: No such file or directory
Makefile:42: compute_dihedral_local.d: No such file or directory
Makefile:42: compute_displace_atom.d: No such file or directory
Makefile:42: compute_erotate_asphere.d: No such file or directory
Makefile:42: compute_erotate_sphere.d: No such file or directory
Makefile:42: compute_event_displace.d: No such file or directory
Makefile:42: compute_group_group.d: No such file or directory
Makefile:42: compute_gyration.d: No such file or directory
Makefile:42: compute_gyration_molecule.d: No such file or directory
Makefile:42: compute_heat_flux.d: No such file or directory
Makefile:42: compute_improper_local.d: No such file or directory
Makefile:42: compute_ke_atom.d: No such file or directory
Makefile:42: compute_ke.d: No such file or directory
Makefile:42: compute_msd.d: No such file or directory
Makefile:42: compute_msd_molecule.d: No such file or directory
Makefile:42: compute_pair_local.d: No such file or directory
Makefile:42: compute_pe_atom.d: No such file or directory
Makefile:42: compute_pe.d: No such file or directory
Makefile:42: compute_pressure.d: No such file or directory
Makefile:42: compute_property_atom.d: No such file or directory
Makefile:42: compute_property_local.d: No such file or directory
Makefile:42: compute_property_molecule.d: No such file or directory
Makefile:42: compute_rdf.d: No such file or directory
Makefile:42: compute_reduce.d: No such file or directory
Makefile:42: compute_reduce_region.d: No such file or directory
Makefile:42: compute_stress_atom.d: No such file or directory
Makefile:42: compute_temp_asphere.d: No such file or directory
Makefile:42: compute_temp_com.d: No such file or directory
Makefile:42: compute_temp.d: No such file or directory
Makefile:42: compute_temp_deform.d: No such file or directory
Makefile:42: compute_temp_partial.d: No such file or directory
Makefile:42: compute_temp_profile.d: No such file or directory
Makefile:42: compute_temp_ramp.d: No such file or directory
Makefile:42: compute_temp_region.d: No such file or directory
Makefile:42: compute_temp_sphere.d: No such file or directory
Makefile:42: create_atoms.d: No such file or directory
Makefile:42: create_box.d: No such file or directory
Makefile:42: delete_atoms.d: No such file or directory
Makefile:42: delete_bonds.d: No such file or directory
Makefile:42: dihedral_charmm.d: No such file or directory
Makefile:42: dihedral_class2.d: No such file or directory
Makefile:42: dihedral.d: No such file or directory
Makefile:42: dihedral_harmonic.d: No such file or directory
Makefile:42: dihedral_helix.d: No such file or directory
Makefile:42: dihedral_hybrid.d: No such file or directory
Makefile:42: dihedral_multi_harmonic.d: No such file or directory
Makefile:42: dihedral_opls.d: No such file or directory
Makefile:42: displace_atoms.d: No such file or directory
Makefile:42: displace_box.d: No such file or directory
Makefile:42: domain.d: No such file or directory
Makefile:42: dump_atom.d: No such file or directory
Makefile:42: dump_cfg.d: No such file or directory
Makefile:42: dump.d: No such file or directory
Makefile:42: dump_custom.d: No such file or directory
Makefile:42: dump_dcd.d: No such file or directory
Makefile:42: dump_local.d: No such file or directory
Makefile:42: dump_xtc.d: No such file or directory
Makefile:42: dump_xyz.d: No such file or directory
Makefile:42: error.d: No such file or directory
Makefile:42: ewald.d: No such file or directory
Makefile:42: ewald_n.d: No such file or directory
Makefile:42: fft3d.d: No such file or directory
Makefile:42: fft3d_wrap.d: No such file or directory
Makefile:42: finish.d: No such file or directory
Makefile:42: fix_addforce.d: No such file or directory
Makefile:42: fix_atc.d: No such file or directory
Makefile:42: fix_ave_atom.d: No such file or directory
Makefile:42: fix_aveforce.d: No such file or directory
Makefile:42: fix_ave_histo.d: No such file or directory
Makefile:42: fix_ave_spatial.d: No such file or directory
Makefile:42: fix_ave_time.d: No such file or directory
Makefile:42: fix_bond_break.d: No such file or directory
Makefile:42: fix_bond_create.d: No such file or directory
Makefile:42: fix_bond_swap.d: No such file or directory
Makefile:42: fix_box_relax.d: No such file or directory
Makefile:42: fix.d: No such file or directory
Makefile:42: fix_deform.d: No such file or directory
Makefile:42: fix_deposit.d: No such file or directory
Makefile:42: fix_drag.d: No such file or directory
Makefile:42: fix_dt_reset.d: No such file or directory
Makefile:42: fix_efield.d: No such file or directory
Makefile:42: fix_enforce2d.d: No such file or directory
Makefile:42: fix_evaporate.d: No such file or directory
Makefile:42: fix_event.d: No such file or directory
Makefile:42: fix_freeze.d: No such file or directory
Makefile:42: fix_gravity.d: No such file or directory
Makefile:42: fix_heat.d: No such file or directory
Makefile:42: fix_imd.d: No such file or directory
Makefile:42: fix_indent.d: No such file or directory
Makefile:42: fix_langevin.d: No such file or directory
Makefile:42: fix_lineforce.d: No such file or directory
Makefile:42: fix_minimize.d: No such file or directory
Makefile:42: fix_momentum.d: No such file or directory
Makefile:42: fix_move.d: No such file or directory
Makefile:42: fix_nph.d: No such file or directory
Makefile:42: fix_npt_asphere.d: No such file or directory
Makefile:42: fix_npt.d: No such file or directory
Makefile:42: fix_npt_sphere.d: No such file or directory
Makefile:42: fix_nve_asphere.d: No such file or directory
Makefile:42: fix_nve.d: No such file or directory
Makefile:42: fix_nve_limit.d: No such file or directory
Makefile:42: fix_nve_noforce.d: No such file or directory
Makefile:42: fix_nve_sphere.d: No such file or directory
Makefile:42: fix_nvt_asphere.d: No such file or directory
Makefile:42: fix_nvt.d: No such file or directory
Makefile:42: fix_nvt_sllod.d: No such file or directory
Makefile:42: fix_nvt_sphere.d: No such file or directory
Makefile:42: fix_orient_fcc.d: No such file or directory
Makefile:42: fix_peri_neigh.d: No such file or directory
Makefile:42: fix_planeforce.d: No such file or directory
Makefile:42: fix_poems.d: No such file or directory
Makefile:42: fix_pour.d: No such file or directory
Makefile:42: fix_press_berendsen.d: No such file or directory
Makefile:42: fix_print.d: No such file or directory
Makefile:42: fix_reax_bonds.d: No such file or directory
Makefile:42: fix_recenter.d: No such file or directory
Makefile:42: fix_respa.d: No such file or directory
Makefile:42: fix_rigid.d: No such file or directory
Makefile:42: fix_set_force.d: No such file or directory
Makefile:42: fix_shake.d: No such file or directory
Makefile:42: fix_shear_history.d: No such file or directory
Makefile:42: fix_smd.d: No such file or directory
Makefile:42: fix_spring.d: No such file or directory
Makefile:42: fix_spring_rg.d: No such file or directory
Makefile:42: fix_spring_self.d: No such file or directory
Makefile:42: fix_store_coord.d: No such file or directory
Makefile:42: fix_store_force.d: No such file or directory
Makefile:42: fix_temp_berendsen.d: No such file or directory
Makefile:42: fix_temp_rescale.d: No such file or directory
Makefile:42: fix_thermal_conductivity.d: No such file or directory
Makefile:42: fix_tmd.d: No such file or directory
Makefile:42: fix_ttm.d: No such file or directory
Makefile:42: fix_viscosity.d: No such file or directory
Makefile:42: fix_viscous.d: No such file or directory
Makefile:42: fix_wall_colloid.d: No such file or directory
Makefile:42: fix_wall.d: No such file or directory
Makefile:42: fix_wall_gran.d: No such file or directory
Makefile:42: fix_wall_harmonic.d: No such file or directory
Makefile:42: fix_wall_lj126.d: No such file or directory
Makefile:42: fix_wall_lj93.d: No such file or directory
Makefile:42: fix_wall_reflect.d: No such file or directory
Makefile:42: fix_wall_region.d: No such file or directory
Makefile:42: force.d: No such file or directory
Makefile:42: group.d: No such file or directory
Makefile:42: improper_class2.d: No such file or directory
Makefile:42: improper.d: No such file or directory
Makefile:42: improper_cvff.d: No such file or directory
Makefile:42: improper_harmonic.d: No such file or directory
Makefile:42: improper_hybrid.d: No such file or directory
Makefile:42: input.d: No such file or directory
Makefile:42: integrate.d: No such file or directory
Makefile:42: kspace.d: No such file or directory
Makefile:42: lammps.d: No such file or directory
Makefile:42: lattice.d: No such file or directory
Makefile:42: library.d: No such file or directory
Makefile:42: main.d: No such file or directory
Makefile:42: memory.d: No such file or directory
Makefile:42: min_cg.d: No such file or directory
Makefile:42: min.d: No such file or directory
Makefile:42: min_hftn.d: No such file or directory
Makefile:42: minimize.d: No such file or directory
Makefile:42: min_linesearch.d: No such file or directory
Makefile:42: min_sd.d: No such file or directory
Makefile:42: modify.d: No such file or directory
Makefile:42: neigh_bond.d: No such file or directory
Makefile:42: neighbor.d: No such file or directory
Makefile:42: neigh_derive.d: No such file or directory
Makefile:42: neigh_full.d: No such file or directory
Makefile:42: neigh_gran.d: No such file or directory
Makefile:42: neigh_half_bin.d: No such file or directory
Makefile:42: neigh_half_multi.d: No such file or directory
Makefile:42: neigh_half_nsq.d: No such file or directory
Makefile:42: neigh_list.d: No such file or directory
Makefile:42: neigh_request.d: No such file or directory
Makefile:42: neigh_respa.d: No such file or directory
Makefile:42: neigh_stencil.d: No such file or directory
Makefile:42: output.d: No such file or directory
Makefile:42: pack.d: No such file or directory
Makefile:42: pair_airebo.d: No such file or directory
Makefile:42: pair_born_coul_long.d: No such file or directory
Makefile:42: pair_buck_coul.d: No such file or directory
Makefile:42: pair_buck_coul_cut.d: No such file or directory
Makefile:42: pair_buck_coul_long.d: No such file or directory
Makefile:42: pair_buck.d: No such file or directory
Makefile:42: pair_cdeam.d: No such file or directory
Makefile:42: pair_cg_cmm_coul_cut.d: No such file or directory
Makefile:42: pair_cg_cmm_coul_long.d: No such file or directory
Makefile:42: pair_cg_cmm.d: No such file or directory
Makefile:42: pair_cmm_common.d: No such file or directory
Makefile:42: pair_colloid.d: No such file or directory
Makefile:42: pair_coul_cut.d: No such file or directory
Makefile:42: pair_coul_debye.d: No such file or directory
Makefile:42: pair_coul_long.d: No such file or directory
Makefile:42: pair.d: No such file or directory
Makefile:42: pair_dipole_cut.d: No such file or directory
Makefile:42: pair_dpd.d: No such file or directory
Makefile:42: pair_dsmc.d: No such file or directory
Makefile:42: pair_eam_alloy.d: No such file or directory
Makefile:42: pair_eam_alloy_opt.d: No such file or directory
Makefile:42: pair_eam.d: No such file or directory
Makefile:42: pair_eam_fs.d: No such file or directory
Makefile:42: pair_eam_fs_opt.d: No such file or directory
Makefile:42: pair_eam_opt.d: No such file or directory
Makefile:42: pair_gayberne.d: No such file or directory
Makefile:42: pair_gayberne_gpu.d: No such file or directory
Makefile:42: pair_gran_hertz_history.d: No such file or directory
Makefile:42: pair_gran_hooke.d: No such file or directory
Makefile:42: pair_gran_hooke_history.d: No such file or directory
Makefile:42: pair_hybrid.d: No such file or directory
Makefile:42: pair_hybrid_overlay.d: No such file or directory
Makefile:42: pair_lj96_cut.d: No such file or directory
Makefile:42: pair_lj_charmm_coul_charmm.d: No such file or directory
Makefile:42: pair_lj_charmm_coul_charmm_implicit.d: No such file or
directory
Makefile:42: pair_lj_charmm_coul_long.d: No such file or directory
Makefile:42: pair_lj_charmm_coul_long_opt.d: No such file or directory
Makefile:42: pair_lj_class2_coul_cut.d: No such file or directory
Makefile:42: pair_lj_class2_coul_long.d: No such file or directory
Makefile:42: pair_lj_class2.d: No such file or directory
Makefile:42: pair_lj_coul.d: No such file or directory
Makefile:42: pair_lj_cut_coul_cut.d: No such file or directory
Makefile:42: pair_lj_cut_coul_debye.d: No such file or directory
Makefile:42: pair_lj_cut_coul_long.d: No such file or directory
Makefile:42: pair_lj_cut_coul_long_tip4p.d: No such file or directory
Makefile:42: pair_lj_cut.d: No such file or directory
Makefile:42: pair_lj_cut_gpu.d: No such file or directory
Makefile:42: pair_lj_cut_opt.d: No such file or directory
Makefile:42: pair_lj_expand.d: No such file or directory
Makefile:42: pair_lj_gromacs_coul_gromacs.d: No such file or directory
Makefile:42: pair_lj_gromacs.d: No such file or directory
Makefile:42: pair_lj_smooth.d: No such file or directory
Makefile:42: pair_lubricate.d: No such file or directory
Makefile:42: pair_meam.d: No such file or directory
Makefile:42: pair_morse.d: No such file or directory
Makefile:42: pair_morse_opt.d: No such file or directory
Makefile:42: pair_peri_pmb.d: No such file or directory
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_peri_pmb.cpp >
pair_peri_pmb.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_morse_opt.cpp >
pair_morse_opt.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_morse.cpp > pair_morse.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_meam.cpp > pair_meam.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lubricate.cpp >
pair_lubricate.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_smooth.cpp >
pair_lj_smooth.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_gromacs.cpp >
pair_lj_gromacs.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M
pair_lj_gromacs_coul_gromacs.cpp > pair_lj_gromacs_coul_gromacs.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_expand.cpp >
pair_lj_expand.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_cut_opt.cpp >
pair_lj_cut_opt.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_cut_gpu.cpp >
pair_lj_cut_gpu.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_cut.cpp >
pair_lj_cut.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M
pair_lj_cut_coul_long_tip4p.cpp > pair_lj_cut_coul_long_tip4p.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_cut_coul_long.cpp >
pair_lj_cut_coul_long.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_cut_coul_debye.cpp >
pair_lj_cut_coul_debye.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_cut_coul_cut.cpp >
pair_lj_cut_coul_cut.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_coul.cpp >
pair_lj_coul.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_class2.cpp >
pair_lj_class2.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_class2_coul_long.cpp >
pair_lj_class2_coul_long.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_class2_coul_cut.cpp >
pair_lj_class2_coul_cut.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M
pair_lj_charmm_coul_long_opt.cpp > pair_lj_charmm_coul_long_opt.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_charmm_coul_long.cpp >
pair_lj_charmm_coul_long.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M
pair_lj_charmm_coul_charmm_implicit.cpp >
pair_lj_charmm_coul_charmm_implicit.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj_charmm_coul_charmm.cpp

pair_lj_charmm_coul_charmm.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_lj96_cut.cpp >
pair_lj96_cut.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_hybrid_overlay.cpp >
pair_hybrid_overlay.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_hybrid.cpp >
pair_hybrid.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_gran_hooke_history.cpp >
pair_gran_hooke_history.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_gran_hooke.cpp >
pair_gran_hooke.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_gran_hertz_history.cpp >
pair_gran_hertz_history.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_gayberne_gpu.cpp >
pair_gayberne_gpu.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_gayberne.cpp >
pair_gayberne.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_eam_opt.cpp >
pair_eam_opt.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_eam_fs_opt.cpp >
pair_eam_fs_opt.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_eam_fs.cpp >
pair_eam_fs.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_eam.cpp > pair_eam.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_eam_alloy_opt.cpp >
pair_eam_alloy_opt.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_eam_alloy.cpp >
pair_eam_alloy.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_dsmc.cpp > pair_dsmc.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_dpd.cpp > pair_dpd.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_dipole_cut.cpp >
pair_dipole_cut.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair.cpp > pair.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_coul_long.cpp >
pair_coul_long.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_coul_debye.cpp >
pair_coul_debye.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_coul_cut.cpp >
pair_coul_cut.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_colloid.cpp >
pair_colloid.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_cmm_common.cpp >
pair_cmm_common.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_cg_cmm.cpp >
pair_cg_cmm.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_cg_cmm_coul_long.cpp >
pair_cg_cmm_coul_long.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_cg_cmm_coul_cut.cpp >
pair_cg_cmm_coul_cut.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_cdeam.cpp > pair_cdeam.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_buck.cpp > pair_buck.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_buck_coul_long.cpp >
pair_buck_coul_long.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_buck_coul_cut.cpp >
pair_buck_coul_cut.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_buck_coul.cpp >
pair_buck_coul.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_born_coul_long.cpp >
pair_born_coul_long.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pair_airebo.cpp >
pair_airebo.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M pack.cpp > pack.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M output.cpp > output.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M neigh_stencil.cpp >
neigh_stencil.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M neigh_respa.cpp >
neigh_respa.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M neigh_request.cpp >
neigh_request.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M neigh_list.cpp > neigh_list.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M neigh_half_nsq.cpp >
neigh_half_nsq.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M neigh_half_multi.cpp >
neigh_half_multi.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M neigh_half_bin.cpp >
neigh_half_bin.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M neigh_gran.cpp > neigh_gran.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M neigh_full.cpp > neigh_full.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M neigh_derive.cpp >
neigh_derive.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M neighbor.cpp > neighbor.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M neigh_bond.cpp > neigh_bond.d
g++ -O -DFFT_FFTW -DLAMMPS_GZIP -I…/STUBS -M modify.cpp > modify.d
In file included from style_fix.h:2,
from modify.cpp:18:
fix_atc.h:29:26: error: ATC_Transfer.h: No such file or directory
fix_atc.h:30:29: error: LammpsInterface.h: No such file or directory
make[1]: *** [modify.d] Error 1
make[1]: Leaving directory
`/home/frank/Desktop/lammps-30Mar10/src/Obj_ubuntu’
make: *** [ubuntu] Error 2
frank@…1810…:~/Desktop/lammps-30Mar10/src$

the make file for ubuntu from another forum (
LAMMPS 24Jan10 on Ubuntu 9.10) doesn't work. There
are still error messages. The make file and error messages are listed below.
I don't understand why it still so complicated nowadays.

because lammps is a highly modular package with a *lot*
of functionality. this comes at a price. out of all packages
of similar size with a similar set of functionality, it is the
easiest to configure and compile (for me). if you want to
see a software that is difficult to compile, try a package called
cp2k. where i don't believe that a single compiler version
exists that can compile the complete code correctly and
the required libraries so that all features work at the same time.

onward to your problem. most of the warnings can be ignored,
but you seem to have some inconsistency as to what packages
you have installed and what the make files think you have.

i suggest you do a:

make no-all

and then activate the packages that you want to use with:

make yes-<package>

as per the installation and compilation instructions in the
lammps documentation and then continue compilation
as before.

cheers,
    axel.