[Wien] Space group not found...and dstart segmentation fault!

Roberto Iglesias roberto.iglesias at psi.ch
Thu Aug 10 17:13:27 CEST 2006


Hello again!

To Bogdan: my C compiler version is exactly the same as yours. I just ported an installation which I knew was 
working and sgroup is all right now, and both with cc and icc.

But...there appeared a segmentation fault error when running dstart! I am no good at debugging in C, but a 
colleague of mine told me that the problem may be fixed changing the original cputim.c

> #include <sys/types.h>
> #include <sys/times.h>
> #include <stdio.h>
> 
> cputim_(dsec)
> double *dsec;
> {
>       struct tms buffer;
> 
>       times(&buffer);
>       *dsec = (double)buffer.tms_utime/100.0;
> /*      fprintf(stderr,"inside cputim: %lf\n",dsec);*/
> }


to

> #include <sys/types.h>
> #include <sys/times.h>
> #include <stdio.h>
> 
> cputim_(double *dsec)
> {
>       struct tms buffer;
> 
>       times(&buffer);
>       *dsec = (double)buffer.tms_utime/100.0;
> /*      fprintf(stderr,"inside cputim: %lf\n",dsec);*/
> }

And voila! Then it works perfectly. By the way, I've never experienced any problem like that with dstart in 
any platform, so it may have something to do with the Opteron cluster itself.

Thank you for all your useful comments and work!

Best regards

Roberto



More information about the Wien mailing list