Quick navigation:        Home   |    Site Map   ||    References   |    Biography   ||    Copyright   |    Other copyright   |    Contact us   |   
Protein structure
 

Re: [ccp4bb] long command line problem in ccp4i/scala

 

Basic tutorials:
 
 

CCP4bb navigation

CCP4bb <-- 2007 <-- June 2007 <-- 08 June 2007
Previous message:
Subject: Re: DANO from PDB
From: Peter Zwart PHZwart {- at -} LBL {- dot -} GOV
Date: 2007-06-07
Next message:
Subject:
From: Marius Schmidt marius {- dot -} schmidt {- at -} PH {- dot -} TUM {- dot -} DE
Date: 2007-06-08


Subject: Re: long command line problem in ccp4i/scala
From: "P {- dot -} J {- dot -} Briggs" p {- dot -} j {- dot -} briggs {- at -} DL {- dot -} AC {- dot -} UK
Date: 2007-06-08

Hi Klass

Thanks for your comments, however it appears that neither
CCP4_PARSER_MAXLINELENGTH nor CCP4_PARSER_MAXFILENAMELENGTH are actually
used in the CCP4 parser code now. I think that they were left over from
the initial implementation (I will clear them out for future releases),
and my understanding is that the core parser library now allocates
sufficient memory to accommodate the lines that are passed in from the
calling subprogram.

The problem with long file names has been reported to us at CCP4
independently and is being investigated, but I don't know the current
status. So I'll ask the appropriate person to get in touch with you.

Best wishes

Peter

Klaas Decanniere wrote:
> For a project with lots of data collected and therefore long file names to
> remember which is which, we keep running into
>
>>>>>>> CCP4 library signal ccp4_parser:Line is longer than allocated
> length, so
> truncated (Success)
> raised in ccp4_parser <<<<<<
>
> and then a bit later on:
>
> has failed with error message
> Last system error message: Permission denied
> Scala: Open failed: File: ROGUEPLOT
>
> which is the bit that got truncated.
>
> Can I just change this in $CCP4/include/ccp4/ccp4_parser.h and
> recompile?
>
> I currently have
>
> #define CCP4_PARSER_MAXLINELENGTH 200
> #define CCP4_PARSER_MAXFILENAMELENGTH 200
>
> Is there any reason no to set these to, say, 32768?
>
> thanks for your help,
>
> Klaas Decanniere

--
___________________________________________________
Peter J Briggs, pjx@dl.ac.uk Tel: +44 1925 603826
CCP4, ccp4@dl.ac.uk Fax: +44 1925 603825
http://www.ccp4.ac.uk/
Daresbury Laboratory, Daresbury, Warrington WA4 4AD

CCP4bb navigation

CCP4bb <-- 2007 <-- June 2007 <-- 08 June 2007
Previous message:
Subject: Re: DANO from PDB
From: Peter Zwart PHZwart {- at -} LBL {- dot -} GOV
Date: 2007-06-07
Next message:
Subject:
From: Marius Schmidt marius {- dot -} schmidt {- at -} PH {- dot -} TUM {- dot -} DE
Date: 2007-06-08



ProteinCrystallography.org: Copyright 2006-2007 by Quid United Ltd