Discussion:
Importance of GNU Scientific Library (GSL)
Jeremy Mack
2013-07-23 14:12:57 UTC
Permalink
Hello,



I am trying to simulating a WiFi network with directional antennas but when
I run my code I get the following error:



gsl: qags.c:543: ERROR: number of iterations was insufficient
Default GSL error handler invoked.



I traced the error back to an integration function from the GSL library. I
tried altering the function but nothing seems to fix it. The only way I
found to get around the problem is to remove the GSL library. Documentation
says this library is used to support more accurate WiFi error models. I was
wondering if anyone knew how important this library is for accurate results.



If it decreases the error from 5% to 2% then I am alright with my decision,
but if it decreases it from like 20% to 5% I will need to find another
alternative.



Thanks,



Jeremy
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to ns-3-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/groups/opt_out.
Tom Henderson
2013-07-24 03:56:02 UTC
Permalink
Post by Jeremy Mack
Hello,
I am trying to simulating a WiFi network with directional antennas
gsl: qags.c:543: ERROR: number of iterations was insufficient
Default GSL error handler invoked.
I traced the error back to an integration function from the GSL
library. I tried altering the function but nothing seems to fix it.
The only way I found to get around the problem is to remove the GSL
library. Documentation says this library is used to support more
accurate WiFi error models. I was wondering if anyone knew how
important this library is for accurate results.
If it decreases the error from 5% to 2% then I am alright with my
decision, but if it decreases it from like 20% to 5% I will need to
find another alternative.
The difference is only in the CCK 5.5 and 11 Mb/s rates, and the
difference should be small; the non-GSL approximations are close, but we
don't remember offhand.

There is some additional documentation on the 802.11b error models
here:

http://www.nsnam.org/~pei/80211b.pdf

I think it could be better documented what the difference is; I'll try
to work on this for the future.

- Tom
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to ns-3-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/groups/opt_out.
Loading...