I rebuilt the latest elegant under a 64bit FC13 and then ran into a problem with beam input file. The elegant always complain that "Unable to process column selection--unrecognized column name yypp seen (SDDS_SetColumnsOfInterest)". I tracked it down to SDDS_CopyString function call but couldn't go any further. It looks like SDDS_CopyString copied yp from the source into yypp in the destination. Could any body tell me where is this function implemented? This problem may be unique with my 64bit FC13, because I don't get this error in cygwin.
Right now I bypassed this function call by calling SDDS_SetColumnsOfInterest in sdds_beam.c with a different set of arguments for the same objective.
Thanks,
Problem with 64bit,FC13
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Problem with 64bit,FC13
Did you also rebuild the SDDS libraries? They are in epics/extensions/src/SDDS/SDDSlib.
--Michael
--Michael
Re: Problem with 64bit,FC13
Michael,
Thanks for your reply.
Yes, I rebuilt both the base and extension of epics.
The default compiler is gcc4, but did try with gcc3.4. Both having the same problem.
Wanming
Thanks for your reply.
Yes, I rebuilt both the base and extension of epics.
The default compiler is gcc4, but did try with gcc3.4. Both having the same problem.
Wanming
Re: Problem with 64bit,FC13
I am setting up a virtual Fedora 13 64bit system now so I can try to duplicate the problem.
Re: Problem with 64bit,FC13
Found the problem with SDDS_GetToken. Added in few lines as bellow and solved it.
char *temp;
/* update the original string to delete the token */
SDDS_CopyString(&temp,s);
strcpy(ptr0, temp);
free(temp);
/* return the string length */
Thanks,
char *temp;
/* update the original string to delete the token */
SDDS_CopyString(&temp,s);
strcpy(ptr0, temp);
free(temp);
/* return the string length */
Thanks,
Re: Problem with 64bit,FC13
I was able to duplicate the problem on Fedora 13. I was also able to verify that your patch works. So our next release will include this fix.