Re: [sage-support] using s_integral_points to get the rank of an elliptic curve

2014-03-28 Thread paussse
Thank you very much for your explanation and the kind help.

With best regards,
Petra Tadic 

On Thursday, March 27, 2014 9:08:26 PM UTC+1, John Cremona wrote:

 On 27 March 2014 18:04,  pau...@gmail.com javascript: wrote: 
  
  Thank you very much for your kind help. It is a honor to get the 
 question 
  answered by you. Does the MAGMA command SIntegralPoints  miss  points 
 also? 
  

 You would have to ask the Magma people about that, but the 
 implementations are entirely independent.  When we (I and a couple of 
 Masters students) first implemented integral and S-integral points in 
 Sage (over Q only) in 2008, we did find points which Magma missed, but 
 since then both implementations have had improvements, to the extent 
 that Steve Donnelly (Magma) now uses a lot of tricks which are not 
 published.  It is taking me longer than I expected to review a 
 long-lived patch on the trac server which translates an implementation 
 by another student of mine of integral points over number fields (not 
 S-integral points yet) from its original Magma form to Sage;  there 
 are some good reasons for this, as some of the published formulas are 
 wrong! 

 Your enquiry gives me motivation to get back to that project which has 
 been lying neglected since term started in January! 

 John 

  With best regards, 
  Petra Tadic 
  
  On Thursday, March 27, 2014 6:21:24 PM UTC+1, John Cremona wrote: 
  
  If the rank is successfully computed then it will be cached so calling 
  E.rank() afterwards will just retriueve the value with no further 
  computing.  ALternatively, compute the rank first, then the S-integral 
  points computation will need not re-do it. 
  
  I should tell you , though, that there are examples where some 
  S-integral points are missed and it is a rather long-delayed project 
  of mine to correct that;  I am first working on the (separate) 
  integral points code, and after that will look again at the S-integral 
  points.  So you should probably not rely on the outpus to prove any 
  theorems just yet. 
  
  John 
  
  On 27 March 2014 17:06,  pau...@gmail.com wrote: 
   I am using the command s_integral points for a lot of elliptic curves 
   for 
   calculating S-integral points of elliptic curves over Q. I know that 
 the 
   command s_integral_points in it's calculation calculates also the 
 rank 
   of 
   the elliptic curve in question but doesn't output the result. How can 
 I 
   get 
   the value of the rank without calculating it separatly again with 
   another 
   command for the rank. So I'd like to get the rank and the S-integral 
   points 
   all at once with the one s_integral_points command. Thank you for the 
   help. 
   
   -- 
   You received this message because you are subscribed to the Google 
   Groups 
   sage-support group. 
   To unsubscribe from this group and stop receiving emails from it, 
 send 
   an 
   email to sage-support...@googlegroups.com. 
   To post to this group, send email to sage-s...@googlegroups.com. 
   Visit this group at http://groups.google.com/group/sage-support. 
   For more options, visit https://groups.google.com/d/optout. 
  
  -- 
  You received this message because you are subscribed to the Google 
 Groups 
  sage-support group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an 
  email to sage-support...@googlegroups.com javascript:. 
  To post to this group, send email to 
  sage-s...@googlegroups.comjavascript:. 

  Visit this group at http://groups.google.com/group/sage-support. 
  For more options, visit https://groups.google.com/d/optout. 


-- 
You received this message because you are subscribed to the Google Groups 
sage-support group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] write with for loop not working when using nohup

2014-03-27 Thread paussse
I am using sage 5.9. When I use program1.sage below written with nohup like:

nohup /opt/sage5.9/sage program1.sage 

it doesn't write nothing I want in the file program1.out. But program2.sage 
writes what I want in program2.out. It seems that nohup with for loop and 
command write don't work together like for example in program1.sage, but 
without the for loop it works fine like in the program2.sage.
==
program1.sage
==
f=open('/home/petrat/program1.out','a')
i=1
for i in [1..10]:
f.write(str(i))
f.close()
==
program2.sage
==
f=open('/home/petrat/program2.out','a')
f.write('working')
f.close()

-- 
You received this message because you are subscribed to the Google Groups 
sage-support group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] using s_integral_points to get the rank of an elliptic curve

2014-03-27 Thread paussse
I am using the command s_integral points for a lot of elliptic curves for 
calculating S-integral points of elliptic curves over Q. I know that the 
command s_integral_points in it's calculation calculates also the rank of 
the elliptic curve in question but doesn't output the result. How can I get 
the value of the rank without calculating it separatly again with another 
command for the rank. So I'd like to get the rank and the S-integral points 
all at once with the one s_integral_points command. Thank you for the help.

-- 
You received this message because you are subscribed to the Google Groups 
sage-support group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] using s_integral_points to get the rank of an elliptic curve

2014-03-27 Thread paussse

Thank you very much for your kind help. It is a honor to get the question 
answered by you. Does the MAGMA command SIntegralPoints  miss  points also?

With best regards,
Petra Tadic

On Thursday, March 27, 2014 6:21:24 PM UTC+1, John Cremona wrote:

 If the rank is successfully computed then it will be cached so calling 
 E.rank() afterwards will just retriueve the value with no further 
 computing.  ALternatively, compute the rank first, then the S-integral 
 points computation will need not re-do it. 

 I should tell you , though, that there are examples where some 
 S-integral points are missed and it is a rather long-delayed project 
 of mine to correct that;  I am first working on the (separate) 
 integral points code, and after that will look again at the S-integral 
 points.  So you should probably not rely on the outpus to prove any 
 theorems just yet. 

 John 

 On 27 March 2014 17:06,  pau...@gmail.com javascript: wrote: 
  I am using the command s_integral points for a lot of elliptic curves 
 for 
  calculating S-integral points of elliptic curves over Q. I know that the 
  command s_integral_points in it's calculation calculates also the rank 
 of 
  the elliptic curve in question but doesn't output the result. How can I 
 get 
  the value of the rank without calculating it separatly again with 
 another 
  command for the rank. So I'd like to get the rank and the S-integral 
 points 
  all at once with the one s_integral_points command. Thank you for the 
 help. 
  
  -- 
  You received this message because you are subscribed to the Google 
 Groups 
  sage-support group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an 
  email to sage-support...@googlegroups.com javascript:. 
  To post to this group, send email to 
  sage-s...@googlegroups.comjavascript:. 

  Visit this group at http://groups.google.com/group/sage-support. 
  For more options, visit https://groups.google.com/d/optout. 


-- 
You received this message because you are subscribed to the Google Groups 
sage-support group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.