Re: problem

From: David A. Case <>
Date: Wed 27 Nov 2002 11:12:54 -0800

On Wed, Nov 27, 2002, FyD wrote:
> I am trying to use "" from

> tot 1% test.out
> enter natom,nesp: startio: error in format
> apparent state: unit 5 (unnamed)
> last format: (2i)

The problem is that "(2i)" is not a legal format for many fortrans. Go into
readit.f, and change the line:

      read (5,'(2i)') i,j
      read (5,*)i,j

and recompile.

This problem has been fixed in amber7/src/resp/readit.f. As is not
uncommon, keeping the web page up to date has slipped between the cracks...

Also, it's worth noting that the recommended way to do resp now (at least
if you don't need multiple conformer fitting) is to use antechamber. This
provides a very easy way to generate the input needed for Gaussian, and parses
the Gaussian output and runs it through resp, putting the charges into the
right place at the end. (It is essentially doing internally the same work

Generally, what you need to do is the following:

   antechamber -i {name}.pdb -fi pdb -o {name}.in -fo gcrt
   g98 < {name}.in > {name}.log
   antechamber -i {name}.log -fi gout -o {name}.prepi -fo prepi -c resp

This will give you a prep input file with the resp charges included. Options
are available in antechamber for using other sources of input (besides pdb)
and other formats of output (besides prepi).

We do have a project ongoing to massively update the FAQ's, and will get this
fixed up as well.

..hope this helps....dac

David A. Case                     |  e-mail:
Dept. of Molecular Biology, TPC15 |  fax:          +1-858-784-8896
The Scripps Research Institute    |  phone:        +1-858-784-9768
10550 N. Torrey Pines Rd.         |  home page:                   
La Jolla CA 92037  USA            |
Received on Wed Nov 27 2002 - 11:12:54 PST
Custom Search