Alberto Zanoni on Sun, 08 Mar 2020 18:04:14 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Help request for segmentation fault
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: Help request for segmentation fault
- From: Alberto Zanoni <alberto.zanoni@gmail.com>
- Date: Sun, 8 Mar 2020 18:04:10 +0100
- Delivery-date: Sun, 08 Mar 2020 18:04:14 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=idYZtFfyn/6L1G825Ln3H2UxVNLJIRn7bH7GhA3tbgU=; b=bk4sVNRZlaUn+UEdQ45JXz6dTEYReBK1mRuLwfEnaNf6ctWWN8Znf4QuKDSImAL6Qo l1nUBgjuS02AmLNYgt/Pqmd5HwC4EtTemglnAcH4ccS0EvZX4Y7bz4iBeS2FgehFmKkI gX9aJN/of/g9D7gV7cyspiT84MIbQxba0MLrRdoqASW8+yH0bbiXAjUW8Q5kLGxDIH9O VXMj6tXrCO4cLhxhHz5po3vx2bfIyb/BAxhSXVkdio4DJpfOzUkiNYjs+ZKR6uayNd4k OwWYM3hza9GZX+RrJ+H0tceZeBfNG/D2sAOTCqWjdnMj9AYFxoqxcfS9uRlBZ+UjXRn6 0K0Q==
- In-reply-to: <20200305191947.6jag63esspl2gnei@yellowpig>
- References: <CAP7PN588Bsa34Sd=qbwA5FbacN1FP_HTBe9XL1wS+Wt5hYiT3Q@mail.gmail.com> <20200305191947.6jag63esspl2gnei@yellowpig>
Thank you very much ! It's definitely much better, now!
Alberto
2020-03-05 20:19 GMT+01:00, Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>:
> On Thu, Mar 05, 2020 at 08:06:26PM +0100, Alberto Zanoni wrote:
>> Hello,
>> I ask for help, as this is my first time using gp2c. I
>> generated the below reported file (with the main function at the end
>> manually added) with gp2c by a PARI/GP script I wrote, and I compiled
>> it with
>
> Hello Alberto,
>
> There are two problems with your program:
>
> 1) You need to call
> init_df8(DEFAULTPREC)
> after pari_init(), otherwise START is not initialized.
>
> 2) 0 is not a valid precision, you should do
> df8test(DEFAULTPREC);
>
> Cheers,
> Bill.
>