Dear sir,
When I ran the commands below in ./network on my mac
./run_single_zone ../../data_pub/my_net.xml ../../data_pub/zone.xml my_output.xml "[z <= 10]"
I got the error below:
gsl: ./init_source.c:29: ERROR: vector length n must be positive integer
Default GSL error handler invoked.
Abort trap: 6
How can I correct it?
Last edit: Bradley S. Meyer 2015-10-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your post. It looks like your input data may not be correct--in particular, the partition function data may be corrupted. Try validating from the examples/network directory by typing:
Otherwise the validator will print the appropriate error message--you should then correct the data accordingly. You may also want to validate the zone data:
Copied from this post:
Dear sir,
When I ran the commands below in ./network on my mac
./run_single_zone ../../data_pub/my_net.xml ../../data_pub/zone.xml my_output.xml "[z <= 10]"
I got the error below:
gsl: ./init_source.c:29: ERROR: vector length n must be positive integer
Default GSL error handler invoked.
Abort trap: 6
How can I correct it?
Last edit: Bradley S. Meyer 2015-10-22
Thanks for your post. It looks like your input data may not be correct--in particular, the partition function data may be corrupted. Try validating from the examples/network directory by typing:
xmllint --schema http://libnucnet.sourceforge.net/xsd_pub/2014-12-13/libnucnet__net.xsd --noout --xinclude ../../data_pub/my_net.xml
which should return
../../data_pub/my_net.xml validates
Otherwise the validator will print the appropriate error message--you should then correct the data accordingly. You may also want to validate the zone data:
xmllint --schema http://libnucnet.sourceforge.net/xsd_pub/2014-12-13/zone_data.xsd --noout --xinclude ../../data_pub/zone.xml
That should return
../../data_pub/zone.xml validates
These are useful steps in general to check on the input data. One might also be interested in the blog posts:
https://sourceforge.net/u/mbradle/blog/2012/07/updating-and-validating-network-nuclear-data/
and
https://sourceforge.net/u/mbradle/blog/2013/02/updating-and-validating-network-reaction-data/