Commit c5b9ac16 authored by Tyson Littenberg's avatar Tyson Littenberg
Browse files

checkpointing hell


git-svn-id: https://svn.ligo.caltech.edu/svn/bayeswave/trunk@574 c56465c9-8126-4a4f-9d7d-ac845eff4865
parent dd064da9
......@@ -64,7 +64,7 @@ static void check_interrupt(volatile sig_atomic_t __bayeswave_exitFlag)
fprintf(stdout,"Interrupt signal recieved\n");
fprintf(stdout,"Exiting to system with error code 130\n");
fprintf(stdout,"\n");
exit(130);
exit(0);
}
}
......
......@@ -362,7 +362,7 @@ void initialize_priors(struct Data *data, struct Prior *prior, int omax)
else
{
Amin = 4.78089288388547e-25;
Amax = 5.74952226429356e-19;
Amax = 7.7811322411338e-20;
}
//double dt = data->Tobs/(double)data->tsize;
......@@ -545,7 +545,7 @@ void reset_priors(struct Data *data, struct Prior *prior)
else
{
Amin = 4.78089288388547e-25;
Amax = 5.74952226429356e-19;
Amax = 7.7811322411338e-20;
}
double Qmin = data->Qmin;
......
......@@ -80,18 +80,18 @@ void draw_glitch_amplitude(double *params, double *Snf, double Sa, long *seed, d
k++;
if(k>1e4)
{
printf("stuck in draw glitch amplitude\n");
printf("SNR=%g\n",SNR);
printf("SNRmin=%g\n",SNRmin);
printf("SNRmax=%g\n",SNRmax);
printf("Q=%g\n",params[2]);
printf("f=%g\n",params[1]);
printf("eta=%g\n",Sa);
printf("Snf=%g\n",Snf[i]);
exit(1);
}
// if(k>1e4)
// {
// printf("stuck in draw glitch amplitude\n");
// printf("SNR=%g\n",SNR);
// printf("SNRmin=%g\n",SNRmin);
// printf("SNRmax=%g\n",SNRmax);
// printf("Q=%g\n",params[2]);
// printf("f=%g\n",params[1]);
// printf("eta=%g\n",Sa);
// printf("Snf=%g\n",Snf[i]);
// exit(1);
// }
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment