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

power 9 install paddle error. #70825

Open
hongxingke opened this issue Jan 14, 2025 · 4 comments
Open

power 9 install paddle error. #70825

hongxingke opened this issue Jan 14, 2025 · 4 comments
Labels
status/new-issue 新建 type/build 编译/安装问题

Comments

@hongxingke
Copy link

问题描述 Issue Description

image

版本&环境信息 Version & Environment Information


Paddle version: N/A
Paddle With CUDA: N/A

OS: ubuntu 22.04
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: N/A
CMake version: version 3.22.1
Libc version: glibc 2.35
Python version: 3.10.12

CUDA version: 12.4.131
Build cuda_12.4.r12.4/compiler.34097967_0
cuDNN version: N/A
Nvidia driver version: 550.54.15
Nvidia driver List:
GPU 0: Tesla V100-SXM2-16GB
GPU 1: Tesla V100-SXM2-16GB


@hongxingke hongxingke added status/new-issue 新建 type/build 编译/安装问题 labels Jan 14, 2025
@iosmers
Copy link
Contributor

iosmers commented Jan 15, 2025

Image
试下这个呢?

@hongxingke
Copy link
Author

在cmake,make增加参数报错。

(paddle-venv) root@gputest21:/paddle/Paddle/build# cmake .. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.10 -DPYTHON_LIBRARY:FILEPATH=/usr/lib/powerpc64le-linux-gnu -DWITH_GPU=ON -DNO_WARN_X86_INTRINSICS
CMake Error: Parse error in command line argument: NO_WARN_X86_INTRINSICS
Should be: VAR:type=value

CMake Error: Run 'cmake --help' for all supported options.


(paddle-venv) root@gputest21:/paddle/Paddle/build# make -j$(nproc) -DNO_WARN_X86_INTRINSICS
make: invalid option -- 'D'
make: invalid option -- 'N'
Usage: make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
-E STRING, --eval=STRING Evaluate STRING as a makefile statement.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from recipes.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-L, --check-symlink-times Use the latest mtime between symlinks and target.
-n, --just-print, --dry-run, --recon
Don't actually run any recipe; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-O[TYPE], --output-sync[=TYPE]
Synchronize output of parallel jobs by TYPE.
-p, --print-data-base Print make's internal database.
-q, --question Run no recipe; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo recipes.
--no-silent Echo recipes (disable --silent mode).
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
--trace Print tracing information.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.

This program built for powerpc64le-unknown-linux-gnu
Report bugs to [email protected]

(paddle-venv) root@gputest21:/paddle/Paddle/build# cmake .. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.10 -DPYTHON_LIBRARY:FILEPATH=/usr/lib/powerpc64le-linux-gnu -DWITH_GPU=ON -DNO_WARN_X86_INTRINSICS
CMake Error: Parse error in command line argument: NO_WARN_X86_INTRINSICS
Should be: VAR:type=value

不增加参数有时候可以跑到这里报错

In file included from /paddle/Paddle/build/third_party/cryptopp/src/extern_cryptopp/modes.h:14,
from /paddle/Paddle/build/third_party/cryptopp/src/extern_cryptopp/ccm.h:11,
from /paddle/Paddle/build/third_party/cryptopp/src/extern_cryptopp/dll.h:18,
from /paddle/Paddle/build/third_party/cryptopp/src/extern_cryptopp/dll.cpp:6:
/paddle/Paddle/build/third_party/cryptopp/src/extern_cryptopp/algparam.h: In member function ‘void CryptoPP::AlgorithmParametersTemplate::MoveInto(void*) const [with T = bool]’:
/paddle/Paddle/build/third_party/cryptopp/src/extern_cryptopp/algparam.h:395:14: note: the layout of aggregates containing vectors with 2-byte alignment has changed in GCC 5
395 | void MoveInto(void buffer) const
| ^~~~~~~~
[ 98%] Built target cryptopp-object
[ 99%] Linking CXX shared library libcryptopp.so
[100%] Linking CXX static library libcryptopp.a
[100%] Built target cryptopp-static
[100%] Built target cryptopp-shared
[ 3%] Performing install step for 'extern_cryptopp'
-- extern_cryptopp install command succeeded. See also /paddle/Paddle/build/third_party/cryptopp/src/extern_cryptopp-stamp/extern_cryptopp-install-
.log
[ 3%] Completed 'extern_cryptopp'
[ 3%] Built target extern_cryptopp
make: *** [Makefile:136: all] Error 2

@iosmers
Copy link
Contributor

iosmers commented Jan 17, 2025

编译安装不成功的话,可以试下通过官网pip install的方式安装下呢?https://www.paddlepaddle.org.cn/

@iosmers
Copy link
Contributor

iosmers commented Jan 17, 2025

如果pip install安装解决不了您的问题,源码安装先参考这个文档试一下,https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/install/compile/linux-compile-by-ninja.html#anchor-0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/new-issue 新建 type/build 编译/安装问题
Projects
None yet
Development

No branches or pull requests

2 participants