Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Ubuntu to 22.04 in CI #622

Open
ikanago opened this issue Mar 19, 2024 · 1 comment
Open

Update Ubuntu to 22.04 in CI #622

ikanago opened this issue Mar 19, 2024 · 1 comment
Assignees

Comments

@ikanago
Copy link
Contributor

ikanago commented Mar 19, 2024

  • use actions/upload-artifact@v4 due to node runtime update
  • Use macOS arm runner
  • Use Ubuntu 22.04?
    • Consider using 22.04 in other workflow
@ikanago ikanago self-assigned this Mar 19, 2024
@ikanago ikanago changed the title Update Wheel CI Update Ubuntu to 22.04 in CI Apr 1, 2024
@ikanago
Copy link
Contributor Author

ikanago commented Apr 4, 2024

I got an error in GPU and MPI build

  • GPU
    • cuda-11.4 is not provided for Ubuntu 22.04, but I have no idea about what version to use
  • MPI
    • CMake build test prior to build fails
CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
  The C compiler

    "/usr/bin/mpicc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /qulacs/build/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_adc32/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_adc32.dir/build.make CMakeFiles/cmTC_adc32.dir/build
    gmake[1]: Entering directory '/qulacs/build/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_adc32.dir/testCCompiler.c.o
    /usr/bin/mpicc    -o CMakeFiles/cmTC_adc32.dir/testCCompiler.c.o -c /qulacs/build/CMakeFiles/CMakeTmp/testCCompiler.c
    Linking C executable cmTC_adc32
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_adc32.dir/link.txt --verbose=1
    /usr/bin/mpicc -rdynamic CMakeFiles/cmTC_adc32.dir/testCCompiler.c.o -o cmTC_adc32
    /usr/bin/ld: cannot find -lmpi: No such file or directory
    /usr/bin/ld: cannot find -lopen-rte: No such file or directory
    /usr/bin/ld: cannot find -lopen-pal: No such file or directory
    /usr/bin/ld: cannot find -lhwloc: No such file or directory
    /usr/bin/ld: cannot find -levent_core: No such file or directory
    /usr/bin/ld: cannot find -levent_pthreads: No such file or directory
    collect2: error: ld returned 1 exit status
    gmake[1]: *** [CMakeFiles/cmTC_adc32.dir/build.make:99: cmTC_adc32] Error 1
    gmake[1]: Leaving directory '/qulacs/build/CMakeFiles/CMakeTmp'
    gmake: *** [Makefile:127: cmTC_adc32/fast] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant