Coder Social home page Coder Social logo

Build failed about fptuner HOT 5 OPEN

soarlab avatar soarlab commented on September 26, 2024
Build failed

from fptuner.

Comments (5)

huanghx1990 avatar huanghx1990 commented on September 26, 2024 1

The issue relates to the version of FPTaylor being used. This used to be solvable by lowering the version of ocamlc in opam.

Modern versions of ocamlc provided by opam can no longer compile the version of FPTaylor used. Updating the FPTaylor version would require rewriting the interface between FPTuner and FPTaylor.

Hi, Ian, could you give the detail version of ocamlc for the fptuner installation? Thanks very much

from fptuner.

huanghx1990 avatar huanghx1990 commented on September 26, 2024

Hi I also have this fail, did you fix it? could you share your approach Thanks very much

from fptuner.

huanghx1990 avatar huanghx1990 commented on September 26, 2024

Hi,
I am trying to build and use FPTuner in an Ubuntu 16.04 x86_64 machine. I installed the latest Gurobi, but the FPTuner build fails in InstallFPTaylor. What should I do to fix this?

Downloading FPTaylor git repository at branch develop
Checking out FPTaylor at commit bb773cb0e9e1b13db8845623e80186e1a343bb11
Building FPTaylor
File "fpu.ml", line 24, characters 0-52:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "fpu.ml", line 25, characters 0-54:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "fpu.ml", line 26, characters 0-60:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "fpu.ml", line 24, characters 0-52:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "fpu.ml", line 25, characters 0-54:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "fpu.ml", line 26, characters 0-60:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
/usr/bin/ld: chcw.o: relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
File "none", line 1:
Error: Error while building custom runtime system
Makefile:23: recipe for target 'ocamlfpu' failed
make[1]: *** [ocamlfpu] Error 2
Makefile:71: recipe for target 'compile-interval' failed
make: *** [compile-interval] Error 2
Traceback (most recent call last):
File "setup.py", line 258, in
main(sys.argv)
File "setup.py", line 199, in main
InstallFPTaylor("develop", "bb773cb0e9e1b13db8845623e80186e1a343bb11")
File "setup.py", line 83, in InstallFPTaylor
assert(os.path.isfile("./fptaylor"))
AssertionError

Thank you very much.

I also have this error, did you fix it๏ผŸif you do, could you share your solution?

from fptuner.

zvonimir avatar zvonimir commented on September 26, 2024

Thanks for reporting this! Unfortunately, students who implemented FPTuner graduated a few years ago, and currently there is nobody maintaining FPTuner. So I am not sure how we would be able to help. Sorry!

from fptuner.

IanBriggs avatar IanBriggs commented on September 26, 2024

The issue relates to the version of FPTaylor being used. This used to be solvable by lowering the version of ocamlc in opam.

Modern versions of ocamlc provided by opam can no longer compile the version of FPTaylor used. Updating the FPTaylor version would require rewriting the interface between FPTuner and FPTaylor.

from fptuner.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.