paratecSGL is available for download through SVN repository at 
https://civet.berkeley.edu/svn/CODES/paratecSGL/

To build with support for BerkeleyGW output, in conf.mk set the
line GWWFNPATH to BerkeleyGW/Common, and add -DBGW to M4OPTLIBS.

[An older version is at http://www.nersc.gov/projects/paratec
which produces only the old GW wavefunction format, incompatible
with this version of BerkeleyGW.]

The pseudopotentials for PARATEC can be generated with 
the fhi98PP program which is available for download at 
http://www.fhi-berlin.mpg.de/th/fhi98md/fhi98PP/

PARATEC output for BerkeleyGW is controlled by flags 
gw_shift, gwc, gwr, gwscreening and vxc_matrix_elements

gw_shift <q1> <q2> <q3>
 -- generates q-shifted grid, q-vector is in crystal coordinates
    in units of reciprocal lattice vectors (for Epsilon)

output_flags gwc
 -- writes complex wavefunctions in G-space for systems without
    inversion symmetry to file WFN (for all codes)

output_flags gwr
 -- writes real wavefunctions in G-space for systems with
    inversion symmetry to file WFN (for all codes)

output_flags gwscreening
 -- writes charge density in G-space to file RHO,
    exchange-correlation potential in G-space to file VXC,
    and matrix elements of exchange-correlation potential to file
    vxc.dat (for Sigma)

vxc_matrix_elements <diagmin> <diagmax> <offdiagmin> <offdiagmax>
 -- specifies the range of bands for which to compute diagonal and
    off-diagonal matrix elements of exchange-correlation potential
    (for Sigma, in conjunction with output_flags gwscreening)

You can find the actual input files for PARATEC and BerkeleyGW in 
examples/DFT, in PARATEC subdirectories for each example.

There are also bgw2para and rho2cd utilities that convert 
BerkeleyGW files WFN and RHO to PARATEC format. This may be 
useful, for example, if one generates the plane waves on top of the 
valence and conduction bands (look into MeanField/SAPO/README for details) 
and wants to diagonalize them further in PARATEC. There are no input 
files; bgw2para takes as argument the wfn filename,
and it creates files WFN$n.$s and BAND needed for PARATEC. 
Similarly, rho2cd requires file RHO and it creates file CD.
