Member Site › Forums › Rosetta++ › Rosetta++ – General › question about file: cluster_info_silent › Reply To: question about file: cluster_info_silent
what if just increases the hard-coded value of 5000 as well as
xx_015000 and yy_015000 in rms2.c? But I would suggest to
check his output as it looks like you are modeling a protein with more
than 5000 residues?
> Hi,
>
> I wanted to cluster my results from Rosetta. When I run the program cluster_info_silent.out, I get an error:
>
> function: rmsfit: maximum number of points exceeded; change max_points
>
> I tried looking for max_points but I couldn’t find where I need to change the values. Do you know how to fix this error. I found that the error is actually in file: rms2.c
>
> I think the following is one of the relevant section of the code in rms2.c:
>
> /* this is just a wrapper for rms2() */
> /* its purpose is to hide the temporary arrays for COM offsets from the user. */
> /* unfortunately since were using fortran 77 and not fortran 90 we have to */
> /* allocate these temp arrays as big as we will ever need them */
> /* real*8 ww(max_points) */
> /* stuff that gets used by rms_setup */
> /* outputs */
> /* Parameter adjustments */
> yy -= 4;
> xx -= 4;
> /* Function Body */
> if (*npoints > 5000) {
> fprintf (stderr, “function: rmsfit: maximum number of points exceeded; change max_pointsn”);
> exit (-2);
> }
> ret_val = rms2_(npoints, &xx4, &yy4, xx_0, yy_0, &det);
> return ret_val;
> } /* rmsfit_ */
>
> Please let me know how to fix it.
>
> Thank You