Hi,
I have tried the following
First made a simple sdf:
molconvert sdf -s "CCO" -o cco.sdf
Then used Your command:
molconvert -g inchi:AuxNone,key cco.sdf
>InChI=1S/C2H6O/c1-2-3/h3H,2H2,1H3
>InChIKey=LFQSCWFLJHTTHZ-UHFFFAOYSA-N
It works on my machine, please tell us the operating system, java version, and Marvin version on Your computer. Maybe you are using an old version of Marvin before we added the inchi key function. You can check this by using the molconvert without parameters, and check that both inchi and inchikey is on the list:
$ molconvert
Molecule File Converter, version 5.3.1, (C) 1999-2010 ChemAxon Ltd.
Usage: molconvert [options] outformat[:export-opts] [files...]
Converts the specified files to another format.
Output molecule formats: mrv, cxsmiles, cxsmarts, abbrevgroup, csmol, csrxn,
cssdf, csrdf, mol, rgf, mol:V3, rxn, rxn:V3, sdf, rdf, cml, cdx, smiles,
smarts, inchi, inchikey, name, peptide:1, peptide:3, mol2, sybyl, pdb, xyz,
cube, gjf.
Best Regards,
Peter