Loading ...
Sorry, an error occurred while loading the content.
 

Further trouble installing GGNFS

Expand Messages
  • Raman (Tuch) *
    I saved all the 5 files from at source forge to my home directory. I executed ggnfs-0.77.1-20060513-win32-pentium4.exe It gave various executibles like
    Message 1 of 3 , Nov 2, 2006
      I saved all the 5 files from at source forge to my home directory.
      I executed ggnfs-0.77.1-20060513-win32-pentium4.exe
      It gave various executibles like

      Tuch@HOME-Q81RIDVXCJ /home
      $ ls *.exe
      ggnfs-0.77.1-20060513-win32-athlon-xp.exe  gnfs-lasieve4I14e.exe  matbuild.exe  pol51opt.exe    sqrt.exe
      ggnfs-0.77.1-20060513-win32-pentium4.exe   makefb.exe             matsolve.exe  polyselect.exe
      gnfs-lasieve4I12e.exe                      matbuild-tpie.exe      pol51m0b.exe  procrels.exe
      gnfs-lasieve4I13e.exe                      matbuild-tpie.sfx.exe  pol51m0n.exe  sieve.exe

      Can you please say which executible file and how should it be run from the Windows command line?
      like for as of GMP-ECM
      echo Number | ecm -c Curves B1 B2

      Actually yesterday I downloaded only the sources file, not experimental and snapshots
      So when I gun zipped, while uncompressing itself
      it gave the following error

      tar: ./ggnfs/src/pol51m0b: Cannot create symlink to `pol5/pol51m0b-intel': No such file or directory
      tar: ./ggnfs/src/pol51m0n: Cannot create symlink to `pol5/pol51m0n-intel': No such file or directory
      tar: ./ggnfs/src/pol51opt: Cannot create symlink to `pol5/pol51opt-intel': No such file or directory
      tar: ./ggnfs/src/Makefile: Cannot create symlink to `Makefile.athlon': No such file or directory
      tar: Error exit delayed from previous errors

      and while putting make, very badly

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs
      $ make
      echo "#define GGNFS_VERSION \"0.77.1\""
      > include/version.h
      make -C src
      make[1]: Entering directory `/home/ggnfs/src'
      make[1]: *** No targets specified and no makefile found.  Stop.
      make[1]: Leaving directory `/home/ggnfs/src'
      make: *** [all] Error 2

      Today, I downloaded all sources and bun zipped 2
      instead of gun zipping and then no error when uncompressing at all
      I renamed the old ggnfs gun zipped folder to ggnfs2 and the
      new ggnfs folder is those of the one that is bun zipped for see so

      Tuch@HOME-Q81RIDVXCJ /home
      $ mv ggnfs ggnfs2

      Tuch@HOME-Q81RIDVXCJ /home
      $ mkdir ggnfs

      Now make command also has become proper too to

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs
      $ make
      Possible targets are:
              pentium2                 Intel Pentium 2
              pentium3                 Intel Pentium 3
              pentium4                 Intel Pentium 4
              prescott                 Intel Pentium 4 with SSE3
              pentium-m                Intel Pentium M
              athlon                   AMD Athlon (k7)
              athlon-xp                AMD Athlon XP (k7) with SSE
              x86_64                   AMD Opteron/Athlon64 (k8)
              nocona                   Intel 64-bit-capable Xeon/Pentium
              ppc_970                  PowerPC 970
              ppc_7450                 PowerPC 7450
              doc                      Documentation
              snapshot                 Sources snapshot
              install                  Installation
              clean                    Clean up

      NOW THE PROBLEM IS THAT

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs
      $ make pentium3
      make[1]: Entering directory `/home/ggnfs'
      echo "#define GGNFS_VERSION \"0.77.1-20060513-pentium3\"" > include/version.h
      make[2]: Entering directory `/home/ggnfs/src'
      gcc -I. -I.. -I../include -I/usr/local/include -IF:/tmp/nfs/tpie/include -DNDEBUG -O3 -ffast-math -funroll-loops -finline-functions -ftracer -fomit-frame-pointer -W -Wall -march=pentium3 -pipe -DMALLOC_REPORTING -o getprimes.o -c getprimes.c
      cc1.exe: unrecognized option `-ftracer'
      make[2]: *** [getprimes.o] Error 1
      make[2]: Leaving directory `/home/ggnfs/src'
      make[1]: *** [x86common] Error 2
      make[1]: Leaving directory `/home/ggnfs'
      make: *** [pentium3] Error 2

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs
      $ make install
      make: Nothing to be done for `install'.

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs
      $ make athlon-xp
      make[1]: Entering directory `/home/ggnfs'
      echo "#define GGNFS_VERSION \"0.77.1-20060513-pentium3\"" > include/version.h
      make[2]: Entering directory `/home/ggnfs/src'
      gcc -I. -I.. -I../include -I/usr/local/include -IF:/tmp/nfs/tpie/include -DNDEBUG -O3 -ffast-math -funroll-loops -finline-functions -ftracer -fomit-frame-pointer -W -Wall -march=pentium3 -pipe -DMALLOC_REPORTING -o getprimes.o -c getprimes.c
      cc1.exe: unrecognized option `-ftracer'
      make[2]: *** [getprimes.o] Error 1
      make[2]: Leaving directory `/home/ggnfs/src'
      make[1]: *** [x86common] Error 2
      make[1]: Leaving directory `/home/ggnfs'
      make: *** [pentium3] Error 2

      What is that 'ftracer'?
      Is this really necessary? OK. Leave it up

      Since the home directory contains many executible files, I tried
      For sample or model

      Tuch@HOME-Q81RIDVXCJ /home
      $ cat > Rep71.n
      n: 11111111111111111111111111111111111111111111111111111111111111111111111

      Tuch@HOME-Q81RIDVXCJ /home
      $ cat Rep71.n
      n: 11111111111111111111111111111111111111111111111111111111111111111111111

      Tuch@HOME-Q81RIDVXCJ /home
      $ head -10 Rep71.n
      n: 11111111111111111111111111111111111111111111111111111111111111111111111

      Tuch@HOME-Q81RIDVXCJ /home
      $ tail -10 Rep71.n
      n: 11111111111111111111111111111111111111111111111111111111111111111111111

      Tuch@HOME-Q81RIDVXCJ /home
      $ cd ggnfs/tests

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs/tests
      $ ls
      CVS  README  cleanup.sh  factLat.pl  gnfs-template  non-monic  rsa100  rsa110  rsa512_pol5  snfs_small  tst250  tstS1

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs/tests
      $ cp factLat.pl /home

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs/tests
      $ cd /home

      Tuch@HOME-Q81RIDVXCJ /home
      $ ls
      NFS                  from                                       ggnfs-0.77.1.tar.gz    help.txt               pol51m0n.exe
      NFS.zip              ggnfs                                      ggnfs2                 makefb.exe             pol51opt.exe
      Rep71.n              ggnfs-0.77.0.tar.tar                       gmp-4.2.1              matbuild-tpie.exe      polyselect.exe
      Tuch                 ggnfs-0.77.1-20060513-win32-athlon-xp.exe  gmp-4.2.1.tar.gz       matbuild-tpie.sfx.exe  procrels.exe
      ecm-6.1.1            ggnfs-0.77.1-20060513-win32-pentium4.exe   gnfs-lasieve4I12e.exe  matbuild.exe           sieve.exe
      ecm-6[1].1.1.tar.gz  ggnfs-0.77.1-20060513.tar.bz2              gnfs-lasieve4I13e.exe  matsolve.exe           sqrt.exe
      factLat.pl           ggnfs-0.77.1.tar                           gnfs-lasieve4I14e.exe  pol51m0b.exe           temp

      Tuch@HOME-Q81RIDVXCJ /home
      $ cat help.txt
      Hi !

      You are wrong with the way you use make

      just go in the ggnfs folder

      if you type make alone, this help menu will appear :

      @echo "Possible targets are:"
      @echo " pentium2 Intel Pentium 2"
      @echo " pentium3 Intel Pentium 3"
      @echo " pentium4 Intel Pentium 4"
      @echo " prescott Intel Pentium 4 with SSE3"
      @echo " pentium-m Intel Pentium M"
      @echo " athlon AMD Athlon (k7)"
      @echo " athlon-xp AMD Athlon XP (k7) with SSE"
      @echo " x86_64 AMD Opteron/Athlon64 (k8)"
      @echo " nocona Intel 64-bit-capable Xeon/Pentium"
      @echo " ppc_970 PowerPC 970"
      @echo " ppc_7450 PowerPC 7450"
      @echo " doc Documentation"
      @echo " snapshot Sources snapshot"
      @echo " install Installation"
      @echo " clean Clean up"

      choose your processor

      so the command you need to enter in the home/ggnfs folder is :
      make athlon-xp

      (this is an example if you have a pc with an athlon xp processor
      if you have a pentium 3 computer, type "make pentium3"...)

      If this don't work :

      make sure you have the latest ggnfs snapshot from the sourceforge file

      make sure you have downloaded the whole cygwin package, not only the
      default files (you will miss the gmp library)

      make sure you have properly decompressed the archive (I have had
      problems by decompressing it from windows XP: just put the archive in
      your home directory , go in the cygwin console and type tar -xvjf
      archive-name)

      You can PM me (Akruppa has told me that you still can log in, read
      this post and privately answer)...

      Tuch@HOME-Q81RIDVXCJ /home
      $ cat ggnfs2/NFS.txt
      For Raman : I have installed ggnfs with cygwin without any problems :
      download cygwin setup here : http://www.cygwin.com/
      run it, download all the files (not default ones, choose all)
      put the ggnfs archive in your home folder
      "unbzip it" : tar -xvjf <archive> (I THINK  )
      with the console go to the ggnfs folder (cd ggnfs)
      make
      (You will obtain a help screen giving you all the make options)
      then , depending of your cpu : make pentium-m or make athlon ...

      and all is then ok... create a file yourname.n with your composite in the form :
      n: 123456789.... (begin with a c100-c105)
      put it in the ggnfs/tests folder, go here with the cygwin console
      and do ./factLat.pl yourname.n for a quick start

      Tuch@HOME-Q81RIDVXCJ /home
      $ cat ./ggnfs2/problem.txt
      Tuch@HOME-Q81RIDVXCJ /home/ggnfs
      $ ls
      Changelog  LICENSE  Version  doc       include        makefile.athlon  makefile.ppc  src    todo.txt
      INSTALL    NFS.txt  contrib  ggnfs.vc  include-extra  makefile.dat     makefile.x86  tests

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs
      $ cat NFS.txt
      For Raman : I have installed ggnfs with cygwin without any problems :
      download cygwin setup here : http://www.cygwin.com/
      run it, download all the files (not default ones, choose all)
      put the ggnfs archive in your home folder
      "unbzip it" : tar -xvjf <archive> (I THINK  )
      with the console go to the ggnfs folder (cd ggnfs)
      make
      (You will obtain a help screen giving you all the make options)
      then , depending of your cpu : make pentium-m or make athlon ...

      and all is then ok... create a file yourname.n with your composite in the form :
      n: 123456789.... (begin with a c100-c105)
      put it in the ggnfs/tests folder, go here with the cygwin console
      and do ./factLat.pl yourname.n for a quick start

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs
      $ mv makefile.dat makefile

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs
      $ cd src

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs/src
      $ ls
      Makefile.athlon      combparts.c        fbgen.c      makefb.c      modinv1002.S       mulmod32.s    rels.c
      Makefile.x86         def-nm-params.txt  fbmisc.c     makefile.ppc  modinv32.c         nfmisc.c      sieve.c
      autogplot.sh         def-par.txt        getprimes.c  matbuild.c    montgomery_sqrt.c  pol5          smintfact.c
      blanczos64-no-mmx.c  dickman.c          lasieve4     matsolve.c    mpi-lanczos        poly.c        sqrt.c
      blanczos64.c         ecm4c.README       latsieve.c   matstuff.c    mpz_mat.c          polyselect.c  squfof.c
      clsieve.c            ecm4c.c            llist.c      misc.c        mpz_poly.c         procrels.c

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs/src
      $ mv makefile.ppc makefile

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs/src
      $ cd ..

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs
      $ make
      echo "#define GGNFS_VERSION \"0.77.0\"" > include/version.h
      make -C src
      make[1]: Entering directory `/home/ggnfs/src'
      gcc -I../include -O3 -fomit-frame-pointer -Wall -mtune=970 -c getprimes.c
      cc1.exe: invalid option `tune=970'
      make[1]: *** [getprimes.o] Error 1
      make[1]: Leaving directory `/home/ggnfs/src'
      make: *** [all] Error 2

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs
      $

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs
      $ make pentium-m
      make: *** No rule to make target `pentium-m'.  Stop.

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs
      $ make athlon  
      make: *** No rule to make target `athlon'.  Stop.

      Tuch@HOME-Q81RIDVXCJ /home
      $ ./factLat.pl Rep71.n
      sh: ./factLat.pl: No such file or directory

      Tuch@HOME-Q81RIDVXCJ /home
      $ pl factLat.pl Rep71.n
      sh: pl: command not found

      Tuch@HOME-Q81RIDVXCJ /home
      $ cp Rep71.n ggnfs/tests

      Tuch@HOME-Q81RIDVXCJ /home
      $ cd ggnfs/tests

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs/tests
      $ ./factLat.pl Rep71.n
      sh: ./factLat.pl: No such file or directory

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs/tests
      $ factLat.pl Rep71.n
      sh: ./factLat.pl: No such file or directory

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs/tests
      $ factLat.pl Rep71.n
      sh: ./factLat.pl: No such file or directory

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs/tests
      $ sh factLat.pl Rep71.n
      factLat.pl: =../../bin: No such file or directory
      factLat.pl: use: command not found
      factLat.pl: use: command not found
      factLat.pl: =: command not found
      factLat.pl: =on: command not found
      factLat.pl: =0: command not found
      factLat.pl: =0: command not found
      factLat.pl: =0: command not found
      factLat.pl: =1: command not found
      factLat.pl: =1: command not found
      factLat.pl: =1: command not found
      factLat.pl: =1: command not found
      factLat.pl: =0: command not found
      factLat.pl: =1: command not found
      factLat.pl: =3: command not found
      factLat.pl: =0.12: command not found
      factLat.pl: =0.05: command not found
      factLat.pl: =28: command not found
      factLat.pl: =1.0: command not found
      factLat.pl: line 91: syntax error near unexpected token `{'
      factLat.pl: line 91: `if($^O ne "MSWin32") {'

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs/tests
      $ pl factLat.pl Rep71.n
      sh: pl: command not found

      Tuch@HOME-Q81RIDVXCJ /home/ggnfs/tests
      $ perl factLat.pl Rep71.n
      sh: perl: command not found

      Tell me what I should do by now but anyway somehow

      What I am currently doing:
      I am struck up with an 82 digit cofactor of Aliquot 17130
      I don't have enough patience to run SIQS for it
      That 82 digit number has been split it up out into product of
      37 digit prime and 45 digit prime in 4¾ hours
      I am now trapped with an 84 digit cofactor!
      I don't have enough patience for beyond 80 digits
      To consume time, I would say that from 65 digits even switch to NFS rather than SIQS!
      un OK. ny.
      See so that whatsoever it may be

      X:\Entertainment\Math\MMANIAC>type ANSW4520.ANS
                                   Control Test #4520

                            100 Math Answers for MANIAC_1

                          -------------------------------



      A.   11 * 17 = 187       7 * 61 = 427       7 * 7  = 49       23 * 23 = 529

      B.   19 * 41 = 779      19 * 49 = 931       7 * 11 = 77        7 * 73 = 511

      C.   11 * 37 = 407      13 * 71 = 923       7 * 37 = 259      11 * 83 = 913

      D.    7 * 29 = 203      13 * 59 = 767      11 * 19 = 209       7 * 67 = 469

      E.    7 * 13 = 91       29 * 29 = 841       7 * 23 = 161       7 * 97 = 679

      F.   11 * 71 = 781      19 * 19 = 361      11 * 11 = 121      23 * 29 = 667

      G.   13 * 47 = 611      11 * 77 = 847      11 * 67 = 737      13 * 31 = 403

      H.   19 * 23 = 437       7 * 107 = 749      17 * 47 = 799      13 * 13 = 169

      I.   11 * 43 = 473      11 * 73 = 803      17 * 29 = 493       7 * 79 = 553

      J.   17 * 53 = 901      13 * 67 = 871      17 * 31 = 527       7 * 41 = 287

      K.   13 * 37 = 481      11 * 31 = 341      11 * 61 = 671      19 * 37 = 703

      L.   11 * 79 = 869      11 * 53 = 583      17 * 43 = 731      11 * 29 = 319

      M.   11 * 47 = 517      23 * 31 = 713      17 * 19 = 323       7 * 17 = 119

      N.   17 * 37 = 629       7 * 19 = 133      17 * 49 = 833       7 * 71 = 497

      O.    7 * 53 = 371      13 * 73 = 949       7 * 31 = 217       7 * 49 = 343

      P.   23 * 41 = 943      13 * 41 = 533       7 * 113 = 791      23 * 43 = 989

      Q.   13 * 53 = 689      13 * 23 = 299      19 * 31 = 589      11 * 23 = 253

      R.   13 * 29 = 377      11 * 41 = 451       7 * 91 = 637      31 * 31 = 961

      S.    7 * 43 = 301      13 * 17 = 221      23 * 37 = 851       7 * 139 = 973

      T.   11 * 59 = 649      13 * 19 = 247       7 * 89 = 623       7 * 47 = 329

      U.   19 * 29 = 551      11 * 89 = 979       7 * 127 = 889      17 * 17 = 289

      V.    7 * 103 = 721       7 * 137 = 959       7 * 59 = 413      19 * 47 = 893

      W.    7 * 77 = 539      11 * 13 = 143      17 * 23 = 391      17 * 41 = 697

      X.   13 * 43 = 559       7 * 83 = 581       7 * 101 = 707       7 * 131 = 917

      Y.    7 * 109 = 763      13 * 61 = 793      19 * 43 = 817      29 * 31 = 899
                   Printed with the *UNREGISTERED* version of MATH MANIAC
      Z.
      -------------------------------------------------------------------------------
      ?

      Jason Papadopoulos <jasonp@...> wrote:
      Quoting "Raman (Tuch) *" :

      > Hi,
      > Yesterday I tried to make atleast tar-0.77.1.tar.gz from source forge page
      > It failed
      > It gave same error
      > I saw that while putting tar -xvzf itself, it gave the following error
      > makefile - Cannot create symlink to makefile.athlon - No such file or
      > directory
      > I will anyway try again - not give up
      > I yesterday had time only to download sources
      > Today, I will download experimental, snapshots
      > Extract the archive here itself and try again
      > OK. Regards

      This is why we prefer cygwin to mingw; the people that make cygwin
      try to make every twist and turn of unix, including symlinks, work.
      The same is not necessarily true for Mingw; it's limited by the
      unix-like behavior that windows can manage, which is not very unix-like.

      You should be okay if you unzip the distribution and then type

      ln -s Makefile Makefile.athlon

      jasonp

      ------------------------------------------------------
      This message was sent using BOO.net's Webmail.
      http://www.boo.net/



      * 
      Regards
      Raman / Tuch


      Find out what India is talking about on - Yahoo! Answers India
      Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW

    • Jason Papadopoulos
      ... You have got to be kidding. msieve can factor an 84-digit composite less than anhour depending on your machine. Using NFS would take several hours for such
      Message 2 of 3 , Nov 2, 2006
        Quoting "Raman (Tuch) *" <vr_aman@...>:

        > Tell me what I should do by now but anyway somehow
        >
        > What I am currently doing:
        > I am struck up with an 82 digit cofactor of Aliquot 17130
        > I don't have enough patience to run SIQS for it
        > That 82 digit number has been split it up out into product of
        > 37 digit prime and 45 digit prime in 4¾ hours
        > I am now trapped with an 84 digit cofactor!
        > I don't have enough patience for beyond 80 digits
        > To consume time, I would say that from 65 digits even switch to NFS rather
        > than SIQS!

        You have got to be kidding. msieve can factor an 84-digit composite
        less than anhour depending on your machine. Using NFS would take
        several hours for such a small number. A 65-digit factorization takes
        about one minute. You don't have the patience to wait *one minute*?

        Raman, NFS is not magic. It's the fastest available for really big
        problems, but 82 digits is not a big problem. NFS is really slow
        at that size. The crossover point point between SIQS and GNFS is
        around 100 digits.

        > un OK. ny.
        > See so that whatsoever it may be
        >
        > X:\Entertainment\Math\MMANIAC>type ANSW4520.ANS
        > Control Test #4520
        >
        > 100 Math Answers for MANIAC_1

        If you want my help, stop doing that.

        jasonp

        ------------------------------------------------------
        This message was sent using BOO.net's Webmail.
        http://www.boo.net/
      • Sander Hoogendoorn
        ... I missed that part when approving his message. I ve already rejected one of his posts a couple of days ago and warned him in private e-mail. His post are
        Message 3 of 3 , Nov 2, 2006
          >> un OK. ny.
          >> See so that whatsoever it may be
          >>
          >> X:\Entertainment\Math\MMANIAC>type ANSW4520.ANS
          >> Control Test #4520
          >>
          >> 100 Math Answers for MANIAC_1

          > If you want my help, stop doing that.

          I missed that part when approving his message.

          I've already rejected one of his posts a couple of days ago and warned
          him in private e-mail.

          His post are still moderated and i won't hesitate to ban him after what
          he has done on mersenneforum.org.

          Sander
        Your message has been successfully submitted and would be delivered to recipients shortly.