|
|
Subject: GSL 1.7 for Windows : .NET 2003 - msg#00010
List: lib.gsl.general
Hello all,
I was having problem with the cygwin binaries of GSL 1.6 under windows
with Microsoft Visual Studio .NET 2003. I have compiled the whole GSL
1.7 library under windows.
Sources and binaries could be found at :
http://david.geldreich.free.fr/dev.html
Please feel free to contact me if you have any problem with this port.
Best regards.
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: Integration routine qawc
On 11/7/05, Silke Diedenhofen <silke.diedenhofen@xxxxxx> wrote:
> This is the function I like to integrate:
>
> double f (double omega, void * params) {
> double Wg = *(double *) params;
> double omega_0 = *(double *) params;
[snip]
Are you sure you're passing those parameters as intended? I would
have expected to see something like
double f(double omega, void *vparams) {
double *params = (double *) vparams;
double Wg = params[0];
double omega_0 = params[1];
// etc.
Make sure that f() evaluates to the expected result for particular
values of omega and parameters.
-- mj
Next Message by Date:
click to view message preview
install gsl on alpha under tru64
Hi there,
does anyone have experience regarding the installation of gsl
on alpha machines running tru64 unix 5.1.B?
I plan to perform an installation for our alpha cluster on
an alpha server 600-5/333.
I would be grateful for any hint.
Cheers,
Carsten
***************************************
Carsten Fortmann
Inst. of Physics
University of Rostock
18051 Rostock
phone +49 381 498 6943
fax +49 381 498 6942
mail carsten.fortmann@xxxxxxxxxxxxxx
**************************************
Previous Message by Thread:
click to view message preview
Integration routine qawc
Hello!
I have a problem using qawc.
This is the function I like to integrate:
double f (double omega, void * params) {
double Wg = *(double *) params;
double omega_0 = *(double *) params;
double h_quer = *(double *) params;
double theta_1 = *(double *) params;
double tmp_4_1 = *(double *) params;
double tmp_4_2 = *(double *) params;
double theta_2 = *(double *) params;
double f = 1.3e60 * (PI/omega)*(tmp_4_1 *
(pow(gsl_sf_airy_Ai_deriv((Wg-h_quer*omega)/(h_quer * theta_1),
GSL_PREC_DOUBLE), 2)- (Wg-h_quer*omega)/(h_quer * theta_1) *
pow(gsl_sf_airy_Ai((Wg-h_quer*omega)/(h_quer * theta_1),
GSL_PREC_DOUBLE),2))+ tmp_4_2 *
(pow(gsl_sf_airy_Ai_deriv((Wg-h_quer*omega)/(h_quer * theta_2),
GSL_PREC_DOUBLE), 2)- (Wg-h_quer*omega)/(h_quer * theta_2) *
pow(gsl_sf_airy_Ai((Wg-h_quer*omega)/(h_quer * theta_2),
GSL_PREC_DOUBLE),2))) / (pow(omega, 2)- omega_0);
return f; }
double omega_0 = pow(2*PI*C/lambda_m, 2);
double Wg = 2 * PI * C/0.00000087;
double h_quer = H/(2*PI);
double theta_1 = pow((pow(q, 2) * pow(E_field,2))/(2*m1_stern*h_quer_Js),
0.333333);
double theta_2 = pow((pow(q, 2) * pow(E_field,2))/(2*m2_stern*h_quer_Js) ,
0.3333333);
double tmp_4_1 = pow(m1_stern, 1.5) * (1+(m0/m1))* pow(theta_1, 0.5);
double tmp_4_2 = pow(m2_stern, 1.5) * (1+(m0/m2))* pow(theta_2, 0.5);
gsl_integration_qawc (&F, 1.88e15, 2.69e15, omega_0, 0, 1e-7, 1000, w,
&result, &error);
And this is the error:
gsl: ../integration/qawc.c:217: ERROR: could not integrate function
Default GSL error handler invoked.
abnormal program termination
Do you know what is wrong???
Thanks and regards,
Silke
Next Message by Thread:
click to view message preview
install gsl on alpha under tru64
Hi there,
does anyone have experience regarding the installation of gsl
on alpha machines running tru64 unix 5.1.B?
I plan to perform an installation for our alpha cluster on
an alpha server 600-5/333.
I would be grateful for any hint.
Cheers,
Carsten
***************************************
Carsten Fortmann
Inst. of Physics
University of Rostock
18051 Rostock
phone +49 381 498 6943
fax +49 381 498 6942
mail carsten.fortmann@xxxxxxxxxxxxxx
**************************************
|
|