Skip to content

building on colab/ search API #1

Description

@cmacdonald

Hi, I didnt manage to get this to build on Colab:

!apt-get install libtool m4 automake
!rm -f out.log
!pip --log out.log  install git+https://github.com/pisa-engine/pypisa.git

The output was

2021-04-01T15:29:14,505   Scanning dependencies of target pypisa
2021-04-01T15:29:14,610   [100%] Building CXX object CMakeFiles/pypisa.dir/src/binder.cpp.o
2021-04-01T15:30:03,942   [100%] Linking CXX shared module ../lib.linux-x86_64-3.7/pypisa.cpython-37m-x86_64-linux-gnu.so
2021-04-01T15:30:04,267   /usr/bin/ld: external/pisa/libpisa.a(tokenizer.cpp.o): relocation R_X86_64_PC32 against symbol `_ZTVN5boost16exception_detail19error_info_injectorINS_7bad_getEEE' can not be used when making a shared object; recompile with -fPIC
2021-04-01T15:30:04,269   /usr/bin/ld: final link failed: Bad value
2021-04-01T15:30:04,269   collect2: error: ld returned 1 exit status
2021-04-01T15:30:04,270   CMakeFiles/pypisa.dir/build.make:96: recipe for target '../lib.linux-x86_64-3.7/pypisa.cpython-37m-x86_64-linux-gnu.so' failed
2021-04-01T15:30:04,270   make[2]: *** [../lib.linux-x86_64-3.7/pypisa.cpython-37m-x86_64-linux-gnu.so] Error 1
2021-04-01T15:30:04,272   CMakeFiles/Makefile2:83: recipe for target 'CMakeFiles/pypisa.dir/all' failed
2021-04-01T15:30:04,272   make[1]: *** [CMakeFiles/pypisa.dir/all] Error 2
2021-04-01T15:30:04,273   Makefile:151: recipe for target 'all' failed
2021-04-01T15:30:04,273   make: *** [all] Error 2

Also, any plans to finish the search() function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions