hi my friends…
i build serial version of lammps on my ubuntu… now i want to build parallel version of lammps on alternative pc with ubuntu 12.04 and i read severel times manual lammps an got help from maling list such as:
http://lammps.sandia.gov/threads/msg12768.html
and several site such as:
http://www.somewhereville.com/?tag=lammps
but i cant successful…
i saw this error in terminal when i type make linux:
cp: cannot create regular file `Obj_linux/Makefile’: Permission denied
make: *** [linux] Error 1
and i use this makefile:
ubuntu_parallel = Ubuntu 9.10, mpicxx (g++), MPICH2 1.2, FFTW 2.1.3
SHELL = /bin/sh
System-specific settings
CC = mpicxx
CCFLAGS = -O -DFFT_FFTW -DLAMMPS_GZIP -DMPICH_IGNORE_CXX_SEEK
DEPFLAGS = -M
LINK = $(CC)
LINKFLAGS = -O
USRLIB = -lfftw
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)
please help me…
and if everybody have instruction step by step for install parallel lammps on ubuntu 12.04 pleas give me…