Re: Compiling on a CRay.

From: Robert Harley (harley@pauillac.inria.fr)
Date: Fri Jan 21 2000 - 17:05:01 MET

  • Next message: Dan Oetting: "Expected itterations between points"

    Eric Depagne (Eric.Depagne@obspm.fr) wrote:

    >I've got problems for compiling ecdl2K-108.32bit.c and the 64bit version
    >on a cray:

    The "struct ru" is used for measuring speed and the http bit is for
    sending results back to our server. Neither is essential so you
    should be able to comment these out and run in batch mode, for
    instance.

    There may be a problem though:

    Some Crays have "int"s that are 64 bits (or 46 with the "-h fastmd"
    flag) but not 32. So the 32-bit source code will not work.

    However "long"s are 64 bits so the 64-bit code ought to work. One
    thing is that it checks if sizeof(u32) is 4 right at the beginning of
    main(). I think that >= 4 is sufficient, as the u32 type is only used
    for one array in squareNTimes() and the entries gets extended to u64s
    before use. Just change the checking code and it should be OK.

    By the way, if your Cray has the optional BMM (Bit Matrix Multiply)
    hardware then we might be able to use the extra intrinsic instructions
    that it provides, to speed up ECDL.

    Bye,
      Rob.



    This archive was generated by hypermail 2b29 : Fri Jan 21 2000 - 17:05:38 MET