As the second component of SPARC (Simulation Package for Ab-initio Real-space Calculations), we present an accurate and efficient finite-difference formulation and parallel implementation of Density Functional Theory (DFT) for extended systems. Specifically, employing a local formulation of the electrostatics, the Chebyshev polynomial filtered self-consistent field iteration, and a reformulation of the non-local force component, we develop a finite-difference framework wherein both the energy and atomic forces can be efficiently calculated to within desired accuracies in DFT. We demonstrate using a wide variety of materials systems that SPARC achieves high convergence rates in energy and forces with respect to spatial discretization to reference plane-wave result; exponential convergence in energies and forces with respect to vacuum size for slabs and wires; energies and forces that are consistent and display negligible 'egg-box' effect; accurate properties of crystals, slabs, and wires; and negligible drift in molecular dynamics simulations. We also demonstrate that the weak and strong scaling behavior of SPARC is similar to well-established and optimized plane-wave implementations for systems consisting up to thousands of electrons, but with a significantly reduced prefactor. Overall, SPARC represents an attractive alternative to plane-wave codes for performing DFT simulations of extended systems.where the summation index J runs over all atoms in Ω, and the summation index J ′ runs over the J th atom and its periodic images. In addition, the coefficients γ Jl and projection functions χ Jlm can be expressed as(6) Above, u J ′ lm are the isolated atom pseudowavefunctions, V J ′ l are the angular momentum dependent pseudopotentials, and V J ′ are the local components of the pseudopotentials, with l and m signifying the azimuthal and magnetic quantum numbers, respectively.Above, the summation index J runs over all atoms in Ω, and the summation index J ′ runs over the J th atom and its periodic images. The electronic ground-state is determined by solving the non-linear eigenvalue problem in Eqn. 16 using the Self-Consistent Field (SCF) method [52]. Specifically, a fixed-point iteration is performed with respect to the potential V ef f = V xc + φ, which is further accelerated using mixing/extrapolation schemes [53,54,55,56]. In each iteration of the SCF method, the electrostatic potential is calculated by solving the Poisson equation, and the electron density is determined by computing the eigenfunctions of the linearized Hamiltonian. The orthogonality requirement amongst the Kohn-Sham orbitals makes such a procedure scale asymptotically as O(N 3 ) with respect to the number of atoms, which severely limits the size of systems that can be studied. To overcome this restrictive scaling, O(N ) approaches [20,21,57,58] will be subsequently developed and implemented into SPARC. are summed to obtain f h J,loc . Algorithm 2: Calculation of the local component of the atomic force. Input: R, φ (i,j,k) , V J , and r b J f h,p J...