PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
http://www.paddlepaddle.org/
Apache License 2.0
22.23k stars 5.58k forks source link

Fatal Python error in paddle.v2 API #2335

Closed alvations closed 7 years ago

alvations commented 7 years ago

When using the paddle.v2 API, it threw a Fatal Python error:

$ python
Python 2.7.13 (default, Dec 18 2016, 07:03:39) 
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import paddle.v2 as paddle
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6

The detailed debug log from Apple:

Process:               Python [32843]
Path:                  /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier:            Python
Version:               2.7.13 (2.7.13)
Code Type:             X86-64 (Native)
Parent Process:        bash [31996]
Responsible:           Python [32843]
User ID:               163237818

Date/Time:             2017-06-01 09:48:29.655 +0800
OS Version:            Mac OS X 10.12.4 (16E195)
Report Version:        12
Anonymous UUID:        380E8920-86CA-2E1B-5E9B-35B22825B18F

Sleep/Wake UUID:       E6478A4B-855D-4CB1-BAEF-F89A6177DAE1

Time Awake Since Boot: 5500 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fffc56ecd42 __pthread_kill + 10
1   libsystem_pthread.dylib         0x00007fffc57da5bf pthread_kill + 90
2   libsystem_c.dylib               0x00007fffc5652420 abort + 129
3   org.python.python               0x0000000111a7d88e Py_FatalError + 49
4   org.python.python               0x0000000111a7cd88 PyThreadState_Get + 28
5   org.python.python               0x0000000111a79c82 Py_InitModule4_64 + 62
6   _swig_paddle.so                 0x000000010cc25f7f init_swig_paddle + 735 (PaddlePYTHON_wrap.cxx:28717)
7   org.python.python               0x000000010c8aba86 _PyImport_LoadDynamicModule + 140
8   org.python.python               0x000000010c8aa782 import_submodule + 267
9   org.python.python               0x000000010c8aa348 load_next + 280
10  org.python.python               0x000000010c8a9557 PyImport_ImportModuleLevel + 1205
11  org.python.python               0x000000010c88b33e builtin___import__ + 135
12  org.python.python               0x000000010c89686a PyEval_EvalFrameEx + 26934
13  org.python.python               0x000000010c88fd3e PyEval_EvalCodeEx + 1617
14  org.python.python               0x000000010c89a45e fast_function + 117
15  org.python.python               0x000000010c89678f PyEval_EvalFrameEx + 26715
16  org.python.python               0x000000010c89a4f1 fast_function + 264
17  org.python.python               0x000000010c89678f PyEval_EvalFrameEx + 26715
18  org.python.python               0x000000010c88fd3e PyEval_EvalCodeEx + 1617
19  org.python.python               0x000000010c88f6e7 PyEval_EvalCode + 48
20  org.python.python               0x000000010c8a7ff0 PyImport_ExecCodeModuleEx + 241
21  org.python.python               0x000000010c8aad1d load_source_module + 1095
22  org.python.python               0x000000010c8aa782 import_submodule + 267
23  org.python.python               0x000000010c8aa348 load_next + 280
24  org.python.python               0x000000010c8a950f PyImport_ImportModuleLevel + 1133
25  org.python.python               0x000000010c88b33e builtin___import__ + 135
26  org.python.python               0x000000010c816921 PyObject_Call + 99
27  org.python.python               0x000000010c899e37 PyEval_CallObjectWithKeywords + 165
28  org.python.python               0x000000010c895051 PyEval_EvalFrameEx + 20765
29  org.python.python               0x000000010c88fd3e PyEval_EvalCodeEx + 1617
30  org.python.python               0x000000010c88f6e7 PyEval_EvalCode + 48
31  org.python.python               0x000000010c8a7ff0 PyImport_ExecCodeModuleEx + 241
32  org.python.python               0x000000010c8aad1d load_source_module + 1095
33  org.python.python               0x000000010c8aa782 import_submodule + 267
34  org.python.python               0x000000010c8aa348 load_next + 280
35  org.python.python               0x000000010c8a950f PyImport_ImportModuleLevel + 1133
36  org.python.python               0x000000010c88b33e builtin___import__ + 135
37  org.python.python               0x000000010c816921 PyObject_Call + 99
38  org.python.python               0x000000010c899e37 PyEval_CallObjectWithKeywords + 165
39  org.python.python               0x000000010c895051 PyEval_EvalFrameEx + 20765
40  org.python.python               0x000000010c88fd3e PyEval_EvalCodeEx + 1617
41  org.python.python               0x000000010c88f6e7 PyEval_EvalCode + 48
42  org.python.python               0x000000010c8a7ff0 PyImport_ExecCodeModuleEx + 241
43  org.python.python               0x000000010c8aad1d load_source_module + 1095
44  org.python.python               0x000000010c8aafa5 load_package + 303
45  org.python.python               0x000000010c8aa782 import_submodule + 267
46  org.python.python               0x000000010c8aa389 load_next + 345
47  org.python.python               0x000000010c8a950f PyImport_ImportModuleLevel + 1133
48  org.python.python               0x000000010c88b33e builtin___import__ + 135
49  org.python.python               0x000000010c816921 PyObject_Call + 99
50  org.python.python               0x000000010c899e37 PyEval_CallObjectWithKeywords + 165
51  org.python.python               0x000000010c895051 PyEval_EvalFrameEx + 20765
52  org.python.python               0x000000010c88fd3e PyEval_EvalCodeEx + 1617
53  org.python.python               0x000000010c88f6e7 PyEval_EvalCode + 48
54  org.python.python               0x000000010c8a7ff0 PyImport_ExecCodeModuleEx + 241
55  org.python.python               0x000000010c8aad1d load_source_module + 1095
56  org.python.python               0x000000010c8aa782 import_submodule + 267
57  org.python.python               0x000000010c8aa348 load_next + 280
58  org.python.python               0x000000010c8a950f PyImport_ImportModuleLevel + 1133
59  org.python.python               0x000000010c88b33e builtin___import__ + 135
60  org.python.python               0x000000010c816921 PyObject_Call + 99
61  org.python.python               0x000000010c899e37 PyEval_CallObjectWithKeywords + 165
62  org.python.python               0x000000010c895051 PyEval_EvalFrameEx + 20765
63  org.python.python               0x000000010c88fd3e PyEval_EvalCodeEx + 1617
64  org.python.python               0x000000010c88f6e7 PyEval_EvalCode + 48
65  org.python.python               0x000000010c8a7ff0 PyImport_ExecCodeModuleEx + 241
66  org.python.python               0x000000010c8aad1d load_source_module + 1095
67  org.python.python               0x000000010c8aafa5 load_package + 303
68  org.python.python               0x000000010c8aa782 import_submodule + 267
69  org.python.python               0x000000010c8aa348 load_next + 280
70  org.python.python               0x000000010c8a9557 PyImport_ImportModuleLevel + 1205
71  org.python.python               0x000000010c88b33e builtin___import__ + 135
72  org.python.python               0x000000010c816921 PyObject_Call + 99
73  org.python.python               0x000000010c899e37 PyEval_CallObjectWithKeywords + 165
74  org.python.python               0x000000010c895051 PyEval_EvalFrameEx + 20765
75  org.python.python               0x000000010c88fd3e PyEval_EvalCodeEx + 1617
76  org.python.python               0x000000010c88f6e7 PyEval_EvalCode + 48
77  org.python.python               0x000000010c8b3068 run_mod + 53
78  org.python.python               0x000000010c8b2e96 PyRun_InteractiveOneFlags + 377
79  org.python.python               0x000000010c8b298a PyRun_InteractiveLoopFlags + 192
80  org.python.python               0x000000010c8b2834 PyRun_AnyFileExFlags + 60
81  org.python.python               0x000000010c8c4442 Py_Main + 3094
82  libdyld.dylib                   0x00007fffc55be235 start + 1

Thread 1:
0   libsystem_kernel.dylib          0x00007fffc56e543a swtch_pri + 10
1   libsystem_pthread.dylib         0x00007fffc57d84ed sched_yield + 11
2   libopenblasp-r0.2.18.dylib      0x000000010d89799a blas_thread_server + 104
3   libsystem_pthread.dylib         0x00007fffc57d79af _pthread_body + 180
4   libsystem_pthread.dylib         0x00007fffc57d78fb _pthread_start + 286
5   libsystem_pthread.dylib         0x00007fffc57d7101 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff533f4ca8  rdx: 0x0000000000000000
  rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007fff533f4cd0  rsp: 0x00007fff533f4ca8
   r8: 0x0000000000000040   r9: 0x00007fffce4b4040  r10: 0x0000000008000000  r11: 0x0000000000000206
  r12: 0x00007fead0822000  r13: 0x000000010cfdf484  r14: 0x00007fffce4d03c0  r15: 0x000000010c95bc68
  rip: 0x00007fffc56ecd42  rfl: 0x0000000000000206  cr2: 0x00007fffce4b2128

Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133

Binary Images:
       0x10c808000 -        0x10c809fff +org.python.python (2.7.13 - 2.7.13) <388F0305-67B0-3C97-8F12-7E7307941C3C> /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
       0x10c80c000 -        0x10c902ff7 +org.python.python (2.7.13, [c] 2001-2016 Python Software Foundation. - 2.7.13) <4FBE16EB-7083-3358-B64B-C7D1D7121ADC> /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/Python
       0x10cb38000 -        0x10cb3afff +_locale.so (0) <383DB9A8-00C8-3D53-AA69-24F15102A832> /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
       0x10cb7d000 -        0x10cb7fff3 +readline.so (0) <7A70518D-8D78-3B6D-8FE8-899FFB73519E> /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so
       0x10cb85000 -        0x10cba8ff3 +libreadline.7.dylib (0) <E16A5AF1-953F-3274-BFBA-725FD9973D8D> /usr/local/opt/readline/lib/libreadline.7.dylib
       0x10cc22000 -        0x10d029ff7 +_swig_paddle.so (0) <E675759E-7FED-34B8-AD26-ADD1DF0E3316> /usr/local/lib/python2.7/site-packages/py_paddle/_swig_paddle.so
       0x10d59b000 -        0x1114a8347 +libopenblasp-r0.2.18.dylib (0) <52889DA5-0FAF-306F-A148-61F2974A54A7> /usr/local/opt/openblas/lib/libopenblasp-r0.2.18.dylib
       0x1117e9000 -        0x1118ecff7 +libprotobuf.13.dylib (0) <5DE70C05-ECFC-3773-AAD9-84B36934996A> /usr/local/opt/protobuf/lib/libprotobuf.13.dylib
       0x1119dc000 -        0x111acdff7  org.python.python (2.7.10 - 2.7.10) <475C5616-E821-3764-A435-55F05857B366> /System/Library/Frameworks/Python.framework/Versions/2.7/Python
       0x111b35000 -        0x111c53fef +libgfortran.3.dylib (0) <372D7107-1F3F-31DA-96C9-50E20AFA2F42> /usr/local/opt/gcc/lib/gcc/6/libgfortran.3.dylib
       0x111cc1000 -        0x111cf8fe7 +libquadmath.0.dylib (0) <D0F53B88-8084-3329-9EB3-BA75006B6648> /usr/local/opt/gcc/lib/gcc/6/libquadmath.0.dylib
       0x111d07000 -        0x111d1cfff +libgcc_s.1.dylib (1) <4C72AD8D-925E-3D79-8B76-17D7209F57A4> /usr/local/lib/gcc/6/libgcc_s.1.dylib
       0x115243000 -        0x115280dc7  dyld (433.5) <8239D0D7-66F6-3C44-A77F-586F74525DA3> /usr/lib/dyld
    0x7fffafdd4000 -     0x7fffb026dff7  com.apple.CoreFoundation (6.9 - 1349.65) <F79384D1-FA3F-38CA-A847-B2625EBB790E> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fffc3dd7000 -     0x7fffc3dd8ff3  libDiagnosticMessagesClient.dylib (102) <84A04D24-0E60-3810-A8C0-90A65E2DF61A> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fffc4016000 -     0x7fffc4017ffb  libSystem.B.dylib (1238.51.1) <D9B20A4F-87BC-36CB-9405-80E105666725> /usr/lib/libSystem.B.dylib
    0x7fffc4150000 -     0x7fffc41a6ff7  libc++.1.dylib (307.5) <0B43BB5D-E6EB-3464-8DE9-B41AC8ED9D1C> /usr/lib/libc++.1.dylib
    0x7fffc41a7000 -     0x7fffc41d1fff  libc++abi.dylib (307.3) <30199352-88BF-30BD-8CFF-2A4FBE247523> /usr/lib/libc++abi.dylib
    0x7fffc4710000 -     0x7fffc4935ffb  libicucore.A.dylib (57163.0.1) <325E1C97-1C45-3A7E-9AFB-D1328E31D879> /usr/lib/libicucore.A.dylib
    0x7fffc4c17000 -     0x7fffc4c48ffb  libncurses.5.4.dylib (51.30.1) <B03B1BD2-7080-3856-BB02-7E8238320C3B> /usr/lib/libncurses.5.4.dylib
    0x7fffc4cc4000 -     0x7fffc5096047  libobjc.A.dylib (709) <DC77AA6E-A4E4-326D-8D7F-82D63AA88F99> /usr/lib/libobjc.A.dylib
    0x7fffc54c2000 -     0x7fffc54d3ff3  libz.1.dylib (67) <46E3FFA2-4328-327A-8D34-A03E20BFFB8E> /usr/lib/libz.1.dylib
    0x7fffc54e2000 -     0x7fffc54e6ff7  libcache.dylib (79) <093A4DAB-8385-3D47-A350-E20CB7CCF7BF> /usr/lib/system/libcache.dylib
    0x7fffc54e7000 -     0x7fffc54f1fff  libcommonCrypto.dylib (60092.50.5) <BE8380C5-C09D-3F48-A502-AEBB58231067> /usr/lib/system/libcommonCrypto.dylib
    0x7fffc54f2000 -     0x7fffc54f9fff  libcompiler_rt.dylib (62) <55D47421-772A-32AB-B529-1A46C2F43B4D> /usr/lib/system/libcompiler_rt.dylib
    0x7fffc54fa000 -     0x7fffc5502fff  libcopyfile.dylib (138) <819BEA3C-DF11-3E3D-A1A1-5A51C5BF1961> /usr/lib/system/libcopyfile.dylib
    0x7fffc5503000 -     0x7fffc5586fdf  libcorecrypto.dylib (442.50.19) <8A39EE06-121C-3731-A9E9-35847064B3EE> /usr/lib/system/libcorecrypto.dylib
    0x7fffc5587000 -     0x7fffc55b8fff  libdispatch.dylib (703.50.37) <D122E712-9593-31CA-BAC4-4A54410BF4A0> /usr/lib/system/libdispatch.dylib
    0x7fffc55b9000 -     0x7fffc55beffb  libdyld.dylib (433.5) <129D3B44-FB21-3750-9A68-48B5C3DC632B> /usr/lib/system/libdyld.dylib
    0x7fffc55bf000 -     0x7fffc55bfffb  libkeymgr.dylib (28) <7AA011A9-DC21-3488-BF73-3B5B14D1FDD6> /usr/lib/system/libkeymgr.dylib
    0x7fffc55cd000 -     0x7fffc55cdfff  liblaunch.dylib (972.50.27) <037D198D-9B02-3EF9-A8E9-6F43EA555A9E> /usr/lib/system/liblaunch.dylib
    0x7fffc55ce000 -     0x7fffc55d3ff3  libmacho.dylib (898) <17D5D855-F6C3-3B04-B680-E9BF02EF8AED> /usr/lib/system/libmacho.dylib
    0x7fffc55d4000 -     0x7fffc55d6ff3  libquarantine.dylib (85.50.1) <7B32EA91-AB8B-32A4-8E52-9D3ED46CAC8E> /usr/lib/system/libquarantine.dylib
    0x7fffc55d7000 -     0x7fffc55d8ffb  libremovefile.dylib (45) <38D4CB9C-10CD-30D3-8B7B-A515EC75FE85> /usr/lib/system/libremovefile.dylib
    0x7fffc55d9000 -     0x7fffc55f1ff7  libsystem_asl.dylib (349.50.5) <096E4228-3B7C-30A6-8B13-EC909A64499A> /usr/lib/system/libsystem_asl.dylib
    0x7fffc55f2000 -     0x7fffc55f2ff7  libsystem_blocks.dylib (67) <10DC5404-73AB-35B3-A277-A8AFECB476EB> /usr/lib/system/libsystem_blocks.dylib
    0x7fffc55f3000 -     0x7fffc5680fef  libsystem_c.dylib (1158.50.2) <B03F8915-1E9B-3C84-AED5-68E2E0031630> /usr/lib/system/libsystem_c.dylib
    0x7fffc5681000 -     0x7fffc5684ffb  libsystem_configuration.dylib (888.51.2) <872C8A42-0871-3424-830B-84E587A75D27> /usr/lib/system/libsystem_configuration.dylib
    0x7fffc5685000 -     0x7fffc5688fff  libsystem_coreservices.dylib (41.4) <FD0915E8-9C43-3FCB-94E0-33C45DF028CD> /usr/lib/system/libsystem_coreservices.dylib
    0x7fffc5689000 -     0x7fffc56a1fff  libsystem_coretls.dylib (121.50.4) <EC6FCF07-DCFB-3A03-9CC9-6DD3709974C6> /usr/lib/system/libsystem_coretls.dylib
    0x7fffc56a2000 -     0x7fffc56a8fff  libsystem_dnssd.dylib (765.50.9) <FF02A197-7CEF-3684-8155-E5E225051E44> /usr/lib/system/libsystem_dnssd.dylib
    0x7fffc56a9000 -     0x7fffc56d2ff7  libsystem_info.dylib (503.50.4) <611DB84C-BF70-3F92-8702-B9F28A900920> /usr/lib/system/libsystem_info.dylib
    0x7fffc56d3000 -     0x7fffc56f5ff7  libsystem_kernel.dylib (3789.51.2) <FC51D7B0-8292-3F6A-9231-64340B237EB7> /usr/lib/system/libsystem_kernel.dylib
    0x7fffc56f6000 -     0x7fffc573dfe7  libsystem_m.dylib (3121.6) <A790C9A5-DD24-32F5-8FD7-33BFCE79AC87> /usr/lib/system/libsystem_m.dylib
    0x7fffc573e000 -     0x7fffc575cff7  libsystem_malloc.dylib (116.50.8) <48D1BBA3-914E-3C65-AF70-C33B4A1B5233> /usr/lib/system/libsystem_malloc.dylib
    0x7fffc575d000 -     0x7fffc57b6ffb  libsystem_network.dylib (856.50.56) <FDE14243-4328-3EFD-824C-C0D314D7B540> /usr/lib/system/libsystem_network.dylib
    0x7fffc57b7000 -     0x7fffc57c0ff3  libsystem_networkextension.dylib (563.50.32) <D5381DA9-529C-3588-BE16-A2245DE93423> /usr/lib/system/libsystem_networkextension.dylib
    0x7fffc57c1000 -     0x7fffc57caff3  libsystem_notify.dylib (165.20.1) <B8160190-A069-3B3A-BDF6-2AA408221FAE> /usr/lib/system/libsystem_notify.dylib
    0x7fffc57cb000 -     0x7fffc57d3fe7  libsystem_platform.dylib (126.50.8) <5940EAB7-84D6-34DC-9B38-111648B2B589> /usr/lib/system/libsystem_platform.dylib
    0x7fffc57d4000 -     0x7fffc57deff7  libsystem_pthread.dylib (218.51.1) <62A84A68-431D-3B54-A7B6-31367CCF2884> /usr/lib/system/libsystem_pthread.dylib
    0x7fffc57df000 -     0x7fffc57e2ff7  libsystem_sandbox.dylib (592.50.47) <87A2327D-B7A1-3E4C-A85D-D3D9484003DB> /usr/lib/system/libsystem_sandbox.dylib
    0x7fffc57e3000 -     0x7fffc57e4ff3  libsystem_secinit.dylib (24.50.4) <F78B847B-3565-3E4B-98A6-F7AD40392E2D> /usr/lib/system/libsystem_secinit.dylib
    0x7fffc57e5000 -     0x7fffc57ecffb  libsystem_symptoms.dylib (532.50.47) <9CF6A47C-8343-3E85-9C27-A8D98E726A8B> /usr/lib/system/libsystem_symptoms.dylib
    0x7fffc57ed000 -     0x7fffc5800ff7  libsystem_trace.dylib (518.51.1) <E1D540D8-CC88-3901-92BA-FC4B802FE0E8> /usr/lib/system/libsystem_trace.dylib
    0x7fffc5801000 -     0x7fffc5806ffb  libunwind.dylib (35.3) <3D50D8A8-C460-334D-A519-2DA841102C6B> /usr/lib/system/libunwind.dylib
    0x7fffc5807000 -     0x7fffc5830ff7  libxpc.dylib (972.50.27) <ABC45890-DA23-3A4A-B50B-1384BD4CBBDF> /usr/lib/system/libxpc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 9
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 811788
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=210.2M resident=0K(0%) swapped_out_or_unallocated=210.2M(100%)
Writable regions: Total=79.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=79.9M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        2 
MALLOC                            36.5M       10 
MALLOC guard page                   16K        4 
STACK GUARD                       56.0M        3 
Stack                             8712K        3 
VM_ALLOCATE                       2048K        6 
VM_ALLOCATE (reserved)            32.0M        2         reserved VM address space (unallocated)
__DATA                            4516K       65 
__LINKEDIT                       123.8M       15 
__TEXT                            86.5M       57 
__UNICODE                          556K        2 
shared memory                        8K        3 
===========                     =======  ======= 
TOTAL                            350.2M      160 
TOTAL, minus reserved VM space   318.2M      160 

Model: MacBookPro12,1, BootROM MBP121.0167.B24, 2 processors, Intel Core i5, 2.9 GHz, 16 GB, SMC 2.28f7
Graphics: Intel Iris Graphics 6100, Intel Iris Graphics 6100, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1867 MHz, 0x80CE, 0x4B3445424533303445422D45474346202020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1867 MHz, 0x80CE, 0x4B3445424533303445422D45474346202020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.21.171.124.1a2)
Bluetooth: Version 5.0.4f18, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM1024G, 1 TB
USB Device: USB 3.0 Bus
USB Device: Bluetooth USB Host Controller
USB Device: USB Receiver
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1

I've installed Paddle from source on a MacOSX:

~/Paddle/build$ cmake ..
-- Found Paddle host system: macosx
-- Found Paddle host system's CPU: 4 cores
-- The CXX compiler identification is AppleClang 8.1.0.8020042
-- The C compiler identification is AppleClang 8.1.0.8020042
-- The Golang compiler identification is go1.8.1 darwin/amd64
-- Check for working Golang compiler: /usr/local/bin/go
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find Sphinx (missing:  SPHINX_EXECUTABLE) 
-- Found Git: /usr/local/bin/git (found version "2.10.1") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Performing Test MMX_FOUND
-- Performing Test MMX_FOUND - Success
-- Performing Test SSE2_FOUND
-- Performing Test SSE2_FOUND - Success
-- Performing Test SSE3_FOUND
-- Performing Test SSE3_FOUND - Success
-- Performing Test AVX_FOUND
-- Performing Test AVX_FOUND - Success
-- Performing Test AVX2_FOUND
-- Performing Test AVX2_FOUND - Success
-- Found PROTOBUF: /usr/local/lib/libprotobuf.dylib  
-- Protobuf protoc executable: /usr/local/bin/protoc
-- Protobuf library: /usr/local/lib/libprotobuf.dylib
-- Protobuf version: 3.3
-- Found PythonInterp: /usr/local/bin/python2.7 (found suitable version "2.7.13", minimum required is "2.7") 
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable version "2.7.10", minimum required is "2.7") 
-- Found PY_pip: /usr/local/lib/python2.7/site-packages/pip  
-- Found PY_numpy: /usr/local/lib/python2.7/site-packages/numpy  
-- Found PY_wheel: /Users/liling.tan/Library/Python/2.7/lib/python/site-packages/wheel  
-- Found PY_google.protobuf: /usr/local/Cellar/protobuf/3.3.0/libexec/lib/python2.7/site-packages/google/protobuf  
-- Found NumPy: /usr/local/lib/python2.7/site-packages/numpy/core/include  
-- Found OpenBLAS (include: /usr/local/opt/openblas/include, library: /usr/local/opt/openblas/lib/libopenblas.dylib)
-- Found lapack in OpenBLAS (include: /usr/local/opt/openblas/include)
-- BLAS library: /usr/local/opt/openblas/lib/libopenblas.dylib
-- Found SWIG: /usr/local/bin/swig (found version "3.0.10") 
-- Ccache is founded, use ccache to speed up compile.
-- Looking for UINT64_MAX
-- Looking for UINT64_MAX - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of pthread_spinlock_t
-- Check size of pthread_spinlock_t - failed
-- Check size of pthread_barrier_t
-- Check size of pthread_barrier_t - failed
-- Performing Test C_COMPILER_SUPPORT_FLAG__fPIC
-- Performing Test C_COMPILER_SUPPORT_FLAG__fPIC - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fPIC
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fPIC - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer
-- Performing Test C_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wall
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wall - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wall
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wall - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wextra
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wextra - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wextra
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wextra - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Werror
-- Performing Test C_COMPILER_SUPPORT_FLAG__Werror - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Werror
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Werror - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_parameter
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_parameter - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_parameter
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_parameter - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_function
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_function - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_function
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_function - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix - Failed
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix - Failed
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_function
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_function - Success
-- Paddle version is 0.10.0
-- DROP LINT dataproviders/MultiDataProvider.cpp
-- DROP LINT dataproviders/MultiDataProvider.h
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/liling.tan/Paddle/build

~/Paddle/build$ sudo make install
[  0%] Performing install step for 'gflags'
[ 50%] Built target gflags_nothreads_static
[100%] Built target gflags_static
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /Users/liling.tan/Paddle/third_party/install/gflags/lib/libgflags.a
-- Up-to-date: /Users/liling.tan/Paddle/third_party/install/gflags/lib/libgflags_nothreads.a
-- Up-to-date: /Users/liling.tan/Paddle/third_party/install/gflags/include/gflags/gflags.h
-- Up-to-date: /Users/liling.tan/Paddle/third_party/install/gflags/include/gflags/gflags_declare.h
-- Up-to-date: /Users/liling.tan/Paddle/third_party/install/gflags/include/gflags/gflags_completions.h
-- Up-to-date: /Users/liling.tan/Paddle/third_party/install/gflags/include/gflags/gflags_gflags.h
-- Up-to-date: /Users/liling.tan/Paddle/third_party/install/gflags/lib/cmake/gflags/gflags-config.cmake
-- Up-to-date: /Users/liling.tan/Paddle/third_party/install/gflags/lib/cmake/gflags/gflags-config-version.cmake
-- Up-to-date: /Users/liling.tan/Paddle/third_party/install/gflags/lib/cmake/gflags/gflags-targets.cmake
-- Up-to-date: /Users/liling.tan/Paddle/third_party/install/gflags/lib/cmake/gflags/gflags-targets-release.cmake
-- Up-to-date: /Users/liling.tan/Paddle/third_party/install/gflags/bin/gflags_completions.sh
-- Up-to-date: /Users/liling.tan/Paddle/third_party/install/gflags/lib/pkgconfig/gflags.pc
-- Installing: /Users/liling.tan/.cmake/packages/gflags/1e4959194d7536deef1fb9cffe2761fa
[  1%] Completed 'gflags'
[  2%] Built target gflags
Scanning dependencies of target glog
[  2%] Creating directories for 'glog'
[  2%] Performing download step (git clone) for 'glog'
Cloning into 'glog'...
Already on 'master'
Your branch is up-to-date with 'origin/master'.
[  3%] No patch step for 'glog'
[  3%] No update step for 'glog'
[  3%] Performing configure step for 'glog'
-- glog configure command succeeded.  See also /Users/liling.tan/Paddle/third_party/glog/src/glog-stamp/glog-configure-*.log
[  3%] Performing build step for 'glog'
Scanning dependencies of target glog
[ 12%] Building CXX object CMakeFiles/glog.dir/src/demangle.cc.o
[ 25%] Building CXX object CMakeFiles/glog.dir/src/logging.cc.o
[ 37%] Building CXX object CMakeFiles/glog.dir/src/raw_logging.cc.o
/Users/liling.tan/Paddle/third_party/glog/src/glog/src/raw_logging.cc:153:3: warning: 'syscall' is deprecated: first
      deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace
      use kdebug_signpost(). [-Wdeprecated-declarations]
  safe_write(STDERR_FILENO, buffer, strlen(buffer));
  ^
/Users/liling.tan/Paddle/third_party/glog/src/glog/src/raw_logging.cc:63:34: note: expanded from macro 'safe_write'
# define safe_write(fd, s, len)  syscall(SYS_write, fd, s, len)
                                 ^
/usr/include/unistd.h:733:6: note: 'syscall' has been explicitly marked deprecated here
int      syscall(int, ...);
         ^
1 warning generated.
[ 50%] Building CXX object CMakeFiles/glog.dir/src/symbolize.cc.o
[ 62%] Building CXX object CMakeFiles/glog.dir/src/utilities.cc.o
/Users/liling.tan/Paddle/third_party/glog/src/glog/src/utilities.cc:254:17: warning: 'syscall' is deprecated: first
      deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace
      use kdebug_signpost(). [-Wdeprecated-declarations]
    pid_t tid = syscall(__NR_gettid);
                ^
/usr/include/unistd.h:733:6: note: 'syscall' has been explicitly marked deprecated here
int      syscall(int, ...);
         ^
1 warning generated.
[ 75%] Building CXX object CMakeFiles/glog.dir/src/vlog_is_on.cc.o
[ 87%] Building CXX object CMakeFiles/glog.dir/src/signalhandler.cc.o
[100%] Linking CXX static library libglog.a
[100%] Built target glog
[  3%] Performing install step for 'glog'
[100%] Built target glog
Install the project...
-- Install configuration: "Release"
-- Installing: /Users/liling.tan/Paddle/third_party/install/glog/lib/libglog.a
-- Installing: /Users/liling.tan/Paddle/third_party/install/glog/include/glog/config.h
-- Installing: /Users/liling.tan/Paddle/third_party/install/glog/include/glog/logging.h
-- Installing: /Users/liling.tan/Paddle/third_party/install/glog/include/glog/raw_logging.h
-- Installing: /Users/liling.tan/Paddle/third_party/install/glog/include/glog/stl_logging.h
-- Installing: /Users/liling.tan/Paddle/third_party/install/glog/include/glog/vlog_is_on.h
-- Installing: /Users/liling.tan/Paddle/third_party/install/glog/include/glog/log_severity.h
-- Installing: /Users/liling.tan/Paddle/third_party/install/glog/lib/cmake/glog/glog-config.cmake
-- Installing: /Users/liling.tan/Paddle/third_party/install/glog/lib/cmake/glog/glog-config-version.cmake
-- Installing: /Users/liling.tan/Paddle/third_party/install/glog/lib/cmake/glog/glog-targets.cmake
-- Installing: /Users/liling.tan/Paddle/third_party/install/glog/lib/cmake/glog/glog-targets-release.cmake
[  4%] Completed 'glog'
[  4%] Built target glog
[  6%] Built target gtest
[  8%] Built target linb_any
[ 10%] Built target warpctc
[ 12%] Built target zlib
Scanning dependencies of target gen_proto_cpp
[ 12%] Generating DataConfig.pb.h, DataConfig.pb.cc
[ 13%] Generating DataFormat.pb.h, DataFormat.pb.cc
[ 13%] Generating ModelConfig.pb.h, ModelConfig.pb.cc
[ 13%] Generating ParameterConfig.pb.h, ParameterConfig.pb.cc
[ 13%] Generating ParameterService.pb.h, ParameterService.pb.cc
[ 14%] Generating TrainerConfig.pb.h, TrainerConfig.pb.cc
[ 14%] Generating ParameterServerConfig.pb.h, ParameterServerConfig.pb.cc
[ 14%] Built target gen_proto_cpp
Scanning dependencies of target gen_proto_py
[ 14%] Generating ../../paddle/python/paddle/proto/ParameterServerConfig_pb2.py
[ 14%] Generating ../../paddle/python/paddle/proto/TrainerConfig_pb2.py
[ 14%] Generating ../../paddle/python/paddle/proto/ParameterService_pb2.py
[ 15%] Generating ../../paddle/python/paddle/proto/ParameterConfig_pb2.py
[ 15%] Generating ../../paddle/python/paddle/proto/ModelConfig_pb2.py
[ 15%] Generating ../../paddle/python/paddle/proto/DataFormat_pb2.py
[ 15%] Generating ../../paddle/python/paddle/proto/DataConfig_pb2.py
[ 15%] Built target gen_proto_py
Scanning dependencies of target paddle_proto
[ 15%] Building CXX object proto/CMakeFiles/paddle_proto.dir/DataConfig.pb.cc.o
[ 15%] Building CXX object proto/CMakeFiles/paddle_proto.dir/DataFormat.pb.cc.o
[ 16%] Building CXX object proto/CMakeFiles/paddle_proto.dir/ModelConfig.pb.cc.o
[ 16%] Building CXX object proto/CMakeFiles/paddle_proto.dir/ParameterConfig.pb.cc.o
[ 16%] Building CXX object proto/CMakeFiles/paddle_proto.dir/ParameterService.pb.cc.o
[ 16%] Building CXX object proto/CMakeFiles/paddle_proto.dir/TrainerConfig.pb.cc.o
[ 17%] Building CXX object proto/CMakeFiles/paddle_proto.dir/ParameterServerConfig.pb.cc.o
[ 17%] Linking CXX static library libpaddle_proto.a
[ 19%] Built target paddle_proto
Scanning dependencies of target paddle_cuda
[ 19%] Building CXX object paddle/cuda/CMakeFiles/paddle_cuda.dir/src/hl_time.cc.o
[ 20%] Building CXX object paddle/cuda/CMakeFiles/paddle_cuda.dir/src/hl_cpu_functions.cc.o
[ 20%] Building CXX object paddle/cuda/CMakeFiles/paddle_cuda.dir/src/hl_math.cc.o
[ 20%] Building CXX object paddle/cuda/CMakeFiles/paddle_cuda.dir/src/hl_avx_functions.cc.o
[ 20%] Building CXX object paddle/cuda/CMakeFiles/paddle_cuda.dir/src/hl_warpctc_wrap.cc.o
[ 21%] Linking CXX static library libpaddle_cuda.a
[ 21%] Built target paddle_cuda
Scanning dependencies of target paddle_function
[ 21%] Building CXX object paddle/function/CMakeFiles/paddle_function.dir/ContextProjectionOp.cpp.o
[ 21%] Building CXX object paddle/function/CMakeFiles/paddle_function.dir/CosSimOp.cpp.o
[ 21%] Building CXX object paddle/function/CMakeFiles/paddle_function.dir/CrossMapNormalOp.cpp.o
[ 22%] Building CXX object paddle/function/CMakeFiles/paddle_function.dir/MulOp.cpp.o
[ 22%] Building CXX object paddle/function/CMakeFiles/paddle_function.dir/PadOp.cpp.o
[ 22%] Building CXX object paddle/function/CMakeFiles/paddle_function.dir/Function.cpp.o
[ 22%] Building CXX object paddle/function/CMakeFiles/paddle_function.dir/BufferArg.cpp.o
[ 22%] Linking CXX static library libpaddle_function.a
[ 22%] Built target paddle_function
[ 22%] Generating ../../../paddle/utils/enable_virtualenv.c
Scanning dependencies of target paddle_utils
[ 22%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/BarrierStat.cpp.o
[ 23%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/CpuId.cpp.o
[ 23%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/CustomStackTrace.cpp.o
[ 23%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/DynamicLoader.cpp.o
[ 23%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/Flags.cpp.o
[ 24%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/GlobalConstants.cpp.o
[ 24%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/Logging.cpp.o
[ 24%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/PythonUtil.cpp.o
[ 24%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/Stat.cpp.o
[ 25%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/StringUtil.cpp.o
[ 25%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/ThreadLocal.cpp.o
[ 25%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/Util.cpp.o
[ 25%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/Version.cpp.o
[ 25%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/arch/osx/Excepts.cpp.o
[ 26%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/arch/osx/Locks.cpp.o
[ 26%] Building C object paddle/utils/CMakeFiles/paddle_utils.dir/enable_virtualenv.c.o
[ 26%] Linking CXX static library libpaddle_utils.a
[ 26%] Built target paddle_utils
Scanning dependencies of target paddle_trainer_lib
[ 27%] Building CXX object paddle/trainer/CMakeFiles/paddle_trainer_lib.dir/ParameterUpdater.cpp.o
[ 27%] Building CXX object paddle/trainer/CMakeFiles/paddle_trainer_lib.dir/ParamUtil.cpp.o
[ 27%] Building CXX object paddle/trainer/CMakeFiles/paddle_trainer_lib.dir/RemoteParameterUpdater.cpp.o
[ 27%] Building CXX object paddle/trainer/CMakeFiles/paddle_trainer_lib.dir/Tester.cpp.o
[ 28%] Building CXX object paddle/trainer/CMakeFiles/paddle_trainer_lib.dir/Trainer.cpp.o
[ 28%] Building CXX object paddle/trainer/CMakeFiles/paddle_trainer_lib.dir/TrainerInternal.cpp.o
[ 28%] Building CXX object paddle/trainer/CMakeFiles/paddle_trainer_lib.dir/TrainerBenchmark.cpp.o
[ 28%] Building CXX object paddle/trainer/CMakeFiles/paddle_trainer_lib.dir/ThreadParameterUpdater.cpp.o
[ 28%] Building CXX object paddle/trainer/CMakeFiles/paddle_trainer_lib.dir/TrainerInternalConfig.cpp.o
[ 29%] Building CXX object paddle/trainer/CMakeFiles/paddle_trainer_lib.dir/TrainerConfigHelper.cpp.o
[ 29%] Linking CXX static library libpaddle_trainer_lib.a
[ 29%] Built target paddle_trainer_lib
Scanning dependencies of target paddle_test_util
[ 30%] Building CXX object paddle/testing/CMakeFiles/paddle_test_util.dir/TestUtil.cpp.o
[ 30%] Linking CXX static library libpaddle_test_util.a
[ 30%] Built target paddle_test_util
Scanning dependencies of target paddle_test_main
[ 30%] Building CXX object paddle/testing/CMakeFiles/paddle_test_main.dir/TestMain.cpp.o
[ 30%] Linking CXX static library libpaddle_test_main.a
[ 30%] Built target paddle_test_main
Scanning dependencies of target paddle_math
[ 30%] Building CXX object paddle/math/CMakeFiles/paddle_math.dir/BaseMatrix.cu.o
[ 30%] Building CXX object paddle/math/CMakeFiles/paddle_math.dir/TrainingAlgorithmOp.cu.o
[ 31%] Building CXX object paddle/math/CMakeFiles/paddle_math.dir/CpuSparseMatrix.cpp.o
[ 31%] Building CXX object paddle/math/CMakeFiles/paddle_math.dir/MathFunctions.cpp.o
[ 31%] Building CXX object paddle/math/CMakeFiles/paddle_math.dir/MathUtils.cpp.o
[ 31%] Building CXX object paddle/math/CMakeFiles/paddle_math.dir/Matrix.cpp.o
[ 32%] Building CXX object paddle/math/CMakeFiles/paddle_math.dir/MatrixBitCode.cpp.o
[ 32%] Building CXX object paddle/math/CMakeFiles/paddle_math.dir/MemoryHandle.cpp.o
[ 32%] Building CXX object paddle/math/CMakeFiles/paddle_math.dir/PoolAllocator.cpp.o
[ 32%] Building CXX object paddle/math/CMakeFiles/paddle_math.dir/SIMDFunctions.cpp.o
[ 33%] Building CXX object paddle/math/CMakeFiles/paddle_math.dir/SparseMatrix.cpp.o
[ 33%] Building CXX object paddle/math/CMakeFiles/paddle_math.dir/SparseRowMatrix.cpp.o
[ 33%] Building CXX object paddle/math/CMakeFiles/paddle_math.dir/Storage.cpp.o
[ 33%] Building CXX object paddle/math/CMakeFiles/paddle_math.dir/Vector.cpp.o
[ 33%] Linking CXX static library libpaddle_math.a
[ 33%] Built target paddle_math
Scanning dependencies of target paddle_parameter
[ 33%] Building CXX object paddle/parameter/CMakeFiles/paddle_parameter.dir/Argument.cpp.o
[ 33%] Building CXX object paddle/parameter/CMakeFiles/paddle_parameter.dir/AverageOptimizer.cpp.o
[ 34%] Building CXX object paddle/parameter/CMakeFiles/paddle_parameter.dir/FirstOrderOptimizer.cpp.o
[ 34%] Building CXX object paddle/parameter/CMakeFiles/paddle_parameter.dir/LearningRateScheduler.cpp.o
[ 34%] Building CXX object paddle/parameter/CMakeFiles/paddle_parameter.dir/OptimizerFunctions.cpp.o
[ 34%] Building CXX object paddle/parameter/CMakeFiles/paddle_parameter.dir/OptimizerWithRegularizer.cpp.o
[ 34%] Building CXX object paddle/parameter/CMakeFiles/paddle_parameter.dir/Parameter.cpp.o
[ 35%] Building CXX object paddle/parameter/CMakeFiles/paddle_parameter.dir/ParameterOptimizer.cpp.o
[ 35%] Building CXX object paddle/parameter/CMakeFiles/paddle_parameter.dir/ParameterUpdateFunctions.cpp.o
[ 35%] Building CXX object paddle/parameter/CMakeFiles/paddle_parameter.dir/ParameterUpdaterBase.cpp.o
[ 35%] Building CXX object paddle/parameter/CMakeFiles/paddle_parameter.dir/ParameterUpdaterHook.cpp.o
[ 36%] Building CXX object paddle/parameter/CMakeFiles/paddle_parameter.dir/Regularizer.cpp.o
[ 36%] Building CXX object paddle/parameter/CMakeFiles/paddle_parameter.dir/ThreadLocalBuffer.cpp.o
[ 36%] Building CXX object paddle/parameter/CMakeFiles/paddle_parameter.dir/Weight.cpp.o
[ 36%] Linking CXX static library libpaddle_parameter.a
[ 36%] Built target paddle_parameter
Scanning dependencies of target paddle_gserver
[ 37%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/WarpCTCLayer.cpp.o
[ 37%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ValidationLayer.cpp.o
[ 37%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/TransposedFullMatrixProjection.cpp.o
[ 37%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/TransLayer.cpp.o
[ 38%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/TensorLayer.cpp.o
[ 38%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/TableProjection.cpp.o
[ 38%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/SumToOneNormLayer.cpp.o
[ 38%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/SubSequenceLayer.cpp.o
[ 39%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/SpatialPyramidPoolLayer.cpp.o
[ 39%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/SlopeInterceptLayer.cpp.o
[ 39%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/SequenceToBatch.cpp.o
[ 39%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/SequenceReshapeLayer.cpp.o
[ 40%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/SequencePoolLayer.cpp.o
[ 40%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/SequenceLastInstanceLayer.cpp.o
[ 40%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/SequenceConcatLayer.cpp.o
[ 40%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/SelectiveFullyConnectedLayer.cpp.o
[ 40%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ScalingProjection.cpp.o
[ 41%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ScalingLayer.cpp.o
[ 41%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/SamplingIdLayer.cpp.o
[ 41%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/RotateLayer.cpp.o
[ 41%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ResizeLayer.cpp.o
[ 42%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/RecurrentLayerGroup.cpp.o
[ 42%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/RecurrentLayer.cpp.o
[ 42%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/Projection.cpp.o
[ 42%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/PriorBox.cpp.o
[ 43%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/PrintLayer.cpp.o
[ 43%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/PowerLayer.cpp.o
[ 43%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/PoolProjectionLayer.cpp.o
[ 43%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/PoolProjection.cpp.o
[ 43%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/PoolLayer.cpp.o
[ 44%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ParameterReluLayer.cpp.o
[ 44%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/PadLayer.cpp.o
[ 44%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/OuterProdLayer.cpp.o
[ 44%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/Operator.cpp.o
[ 45%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/NormProjectionLayer.cpp.o
[ 45%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/NormLayer.cpp.o
[ 45%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/NCELayer.cpp.o
[ 45%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/MultiplexLayer.cpp.o
[ 46%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/MultinomialSampler.cpp.o
[ 46%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/MixedLayer.cpp.o
[ 46%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/MDLstmLayer.cpp.o
[ 46%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/MaxOutLayer.cpp.o
[ 47%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/MaxLayer.cpp.o
[ 47%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/MaxIdLayer.cpp.o
[ 47%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/LstmStepLayer.cpp.o
[ 47%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/LstmLayer.cpp.o
[ 47%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/LstmCompute.cpp.o
[ 48%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/LinearChainCTC.cpp.o
[ 48%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/LinearChainCRF.cpp.o
[ 48%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/Layer.cpp.o
[ 48%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/InterpolationLayer.cpp.o
[ 49%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/IdentityProjection.cpp.o
[ 49%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/HierarchicalSigmoidLayer.cpp.o
[ 49%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/GruStepLayer.cpp.o
[ 49%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/GruCompute.cpp.o
[ 50%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/GetOutputLayer.cpp.o
[ 50%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/GatedRecurrentLayer.cpp.o
[ 50%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/FullyConnectedLayer.cpp.o
[ 50%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/FullMatrixProjection.cpp.o
[ 51%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/FeatureMapExpandLayer.cpp.o
[ 51%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ExpandLayer.cpp.o
[ 51%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ExpandConvTransLayer.cpp.o
[ 51%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ExpandConvLayer.cpp.o
[ 51%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ExpandConvBaseLayer.cpp.o
[ 52%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/EosIdCheckLayer.cpp.o
[ 52%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/DotMulProjection.cpp.o
[ 52%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/DotMulOperator.cpp.o
[ 52%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/DataNormLayer.cpp.o
[ 53%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/DataLayer.cpp.o
[ 53%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/CTCLayer.cpp.o
[ 53%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/CrossChannelNormLayer.cpp.o
[ 53%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/CRFLayer.cpp.o
[ 54%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/CRFDecodingLayer.cpp.o
[ 54%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/CostLayer.cpp.o
[ 54%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/CosSimVecMatLayer.cpp.o
[ 54%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/CosSimLayer.cpp.o
[ 55%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ConvTransProjection.cpp.o
[ 55%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ConvTransOperator.cpp.o
[ 55%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ConvShiftLayer.cpp.o
[ 55%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ConvProjection.cpp.o
[ 55%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ConvOperator.cpp.o
[ 56%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ConvexCombinationLayer.cpp.o
[ 56%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ConvBaseProjection.cpp.o
[ 56%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ConvBaseOperator.cpp.o
[ 56%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ConvBaseLayer.cpp.o
[ 57%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ContextProjection.cpp.o
[ 57%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/ConcatenateLayer.cpp.o
[ 57%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/BlockExpandLayer.cpp.o
[ 57%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/BilinearInterpLayer.cpp.o
[ 58%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/BatchNormBaseLayer.cpp.o
[ 58%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/BatchNormalizationLayer.cpp.o
[ 58%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/AverageLayer.cpp.o
[ 58%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/AgentLayer.cpp.o
[ 58%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/AddtoLayer.cpp.o
[ 59%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/gradientmachines/RecurrentGradientMachine.cpp.o
[ 59%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/gradientmachines/ParallelNeuralNetwork.cpp.o
[ 59%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/gradientmachines/NeuralNetwork.cpp.o
[ 59%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/gradientmachines/MultiNetwork.cpp.o
[ 60%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/gradientmachines/MultiGradientMachine.cpp.o
[ 60%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/gradientmachines/GradientMachineMode.cpp.o
[ 60%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/gradientmachines/GradientMachine.cpp.o
[ 60%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/evaluators/Evaluator.cpp.o
[ 61%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/evaluators/CTCErrorEvaluator.cpp.o
[ 61%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/evaluators/ChunkEvaluator.cpp.o
[ 61%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/dataproviders/PyDataProvider2.cpp.o
[ 61%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/dataproviders/PyDataProvider.cpp.o
[ 62%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/dataproviders/ProtoDataProvider.cpp.o
[ 62%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/dataproviders/MultiDataProvider.cpp.o
[ 62%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/dataproviders/DataProvider.cpp.o
[ 62%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/activations/ActivationFunction.cpp.o
[ 62%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/GruCompute.cu.o
[ 63%] Building CXX object paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/LstmCompute.cu.o
[ 63%] Linking CXX static library libpaddle_gserver.a
[ 63%] Built target paddle_gserver
Scanning dependencies of target paddle_network
[ 63%] Building CXX object paddle/pserver/CMakeFiles/paddle_network.dir/LightNetwork.cpp.o
[ 63%] Building CXX object paddle/pserver/CMakeFiles/paddle_network.dir/SocketChannel.cpp.o
[ 64%] Building CXX object paddle/pserver/CMakeFiles/paddle_network.dir/ProtoServer.cpp.o
[ 64%] Linking CXX static library libpaddle_network.a
[ 64%] Built target paddle_network
Scanning dependencies of target paddle_pserver
[ 64%] Building CXX object paddle/pserver/CMakeFiles/paddle_pserver.dir/BaseClient.cpp.o
[ 64%] Building CXX object paddle/pserver/CMakeFiles/paddle_pserver.dir/ParameterClient2.cpp.o
[ 65%] Building CXX object paddle/pserver/CMakeFiles/paddle_pserver.dir/ParameterServer2.cpp.o
[ 65%] Building CXX object paddle/pserver/CMakeFiles/paddle_pserver.dir/SparseParameterDistribution.cpp.o
[ 65%] Building CXX object paddle/pserver/CMakeFiles/paddle_pserver.dir/ParameterServerController.cpp.o
[ 65%] Linking CXX static library libpaddle_pserver.a
[ 65%] Built target paddle_pserver
Scanning dependencies of target test_CustomStackTrace
[ 65%] Building CXX object paddle/utils/tests/CMakeFiles/test_CustomStackTrace.dir/test_CustomStackTrace.cpp.o
[ 66%] Linking CXX executable test_CustomStackTrace
[ 66%] Built target test_CustomStackTrace
Scanning dependencies of target test_CustomStackTracePrint
[ 66%] Building CXX object paddle/utils/tests/CMakeFiles/test_CustomStackTracePrint.dir/test_CustomStackTracePrint.cpp.o
[ 66%] Linking CXX executable test_CustomStackTracePrint
[ 66%] Built target test_CustomStackTracePrint
Scanning dependencies of target test_Error
[ 66%] Building CXX object paddle/utils/tests/CMakeFiles/test_Error.dir/test_Error.cpp.o
[ 66%] Linking CXX executable test_Error
[ 66%] Built target test_Error
Scanning dependencies of target test_SIMDFlags
[ 66%] Building CXX object paddle/utils/tests/CMakeFiles/test_SIMDFlags.dir/test_SIMDFlags.cpp.o
[ 66%] Linking CXX executable test_SIMDFlags
[ 66%] Built target test_SIMDFlags
Scanning dependencies of target test_SpinLock
[ 66%] Building CXX object paddle/utils/tests/CMakeFiles/test_SpinLock.dir/test_SpinLock.cpp.o
[ 67%] Linking CXX executable test_SpinLock
[ 67%] Built target test_SpinLock
Scanning dependencies of target test_StringUtils
[ 67%] Building CXX object paddle/utils/tests/CMakeFiles/test_StringUtils.dir/test_StringUtils.cpp.o
[ 67%] Linking CXX executable test_StringUtils
[ 67%] Built target test_StringUtils
Scanning dependencies of target test_Thread
[ 67%] Building CXX object paddle/utils/tests/CMakeFiles/test_Thread.dir/test_Thread.cpp.o
[ 67%] Linking CXX executable test_Thread
[ 67%] Built target test_Thread
Scanning dependencies of target test_ThreadBarrier
[ 67%] Building CXX object paddle/utils/tests/CMakeFiles/test_ThreadBarrier.dir/test_ThreadBarrier.cpp.o
[ 68%] Linking CXX executable test_ThreadBarrier
[ 68%] Built target test_ThreadBarrier
Scanning dependencies of target test_Allocator
[ 68%] Building CXX object paddle/math/tests/CMakeFiles/test_Allocator.dir/test_Allocator.cpp.o
[ 68%] Linking CXX executable test_Allocator
[ 68%] Built target test_Allocator
Scanning dependencies of target test_BaseMatrix
[ 69%] Building CXX object paddle/math/tests/CMakeFiles/test_BaseMatrix.dir/test_BaseMatrix.cpp.o
[ 69%] Linking CXX executable test_BaseMatrix
[ 69%] Built target test_BaseMatrix
Scanning dependencies of target test_CpuGpuVector
[ 69%] Building CXX object paddle/math/tests/CMakeFiles/test_CpuGpuVector.dir/test_CpuGpuVector.cpp.o
[ 69%] Linking CXX executable test_CpuGpuVector
[ 69%] Built target test_CpuGpuVector
Scanning dependencies of target test_ExecViaCpu
[ 69%] Building CXX object paddle/math/tests/CMakeFiles/test_ExecViaCpu.dir/test_ExecViaCpu.cpp.o
[ 69%] Linking CXX executable test_ExecViaCpu
[ 69%] Built target test_ExecViaCpu
Scanning dependencies of target test_FPException
[ 70%] Building CXX object paddle/math/tests/CMakeFiles/test_FPException.dir/test_FPException.cpp.o
[ 70%] Linking CXX executable test_FPException
[ 70%] Built target test_FPException
Scanning dependencies of target test_GpuProfiler
[ 70%] Building CXX object paddle/math/tests/CMakeFiles/test_GpuProfiler.dir/test_GpuProfiler.cpp.o
[ 70%] Linking CXX executable test_GpuProfiler
[ 70%] Built target test_GpuProfiler
Scanning dependencies of target test_Matrix
[ 70%] Building CXX object paddle/math/tests/CMakeFiles/test_Matrix.dir/test_Matrix.cpp.o
[ 70%] Linking CXX executable test_Matrix
[ 70%] Built target test_Matrix
Scanning dependencies of target test_RowBuffer
[ 71%] Building CXX object paddle/math/tests/CMakeFiles/test_RowBuffer.dir/test_RowBuffer.cpp.o
[ 71%] Linking CXX executable test_RowBuffer
[ 71%] Built target test_RowBuffer
Scanning dependencies of target test_SIMDFunctions
[ 72%] Building CXX object paddle/math/tests/CMakeFiles/test_SIMDFunctions.dir/test_SIMDFunctions.cpp.o
[ 72%] Linking CXX executable test_SIMDFunctions
[ 72%] Built target test_SIMDFunctions
Scanning dependencies of target test_SparseMatrix
[ 72%] Building CXX object paddle/math/tests/CMakeFiles/test_SparseMatrix.dir/test_SparseMatrix.cpp.o
[ 72%] Linking CXX executable test_SparseMatrix
[ 72%] Built target test_SparseMatrix
Scanning dependencies of target test_Tensor
[ 72%] Building CXX object paddle/math/tests/CMakeFiles/test_Tensor.dir/test_Tensor.cu.o
[ 73%] Linking CXX executable test_Tensor
[ 73%] Built target test_Tensor
Scanning dependencies of target test_TrainingAlgorithm
[ 73%] Building CXX object paddle/math/tests/CMakeFiles/test_TrainingAlgorithm.dir/test_TrainingAlgorithm.cpp.o
[ 73%] Linking CXX executable test_TrainingAlgorithm
[ 73%] Built target test_TrainingAlgorithm
Scanning dependencies of target test_lazyAssign
[ 74%] Building CXX object paddle/math/tests/CMakeFiles/test_lazyAssign.dir/test_lazyAssign.cu.o
[ 74%] Linking CXX executable test_lazyAssign
[ 74%] Built target test_lazyAssign
Scanning dependencies of target test_matrixCompare
[ 74%] Building CXX object paddle/math/tests/CMakeFiles/test_matrixCompare.dir/test_matrixCompare.cpp.o
[ 74%] Linking CXX executable test_matrixCompare
[ 74%] Built target test_matrixCompare
Scanning dependencies of target test_perturbation
[ 75%] Building CXX object paddle/math/tests/CMakeFiles/test_perturbation.dir/test_perturbation.cpp.o
[ 75%] Linking CXX executable test_perturbation
[ 75%] Built target test_perturbation
Scanning dependencies of target test_sparseMatrixCompare
[ 76%] Building CXX object paddle/math/tests/CMakeFiles/test_sparseMatrixCompare.dir/test_sparseMatrixCompare.cpp.o
[ 76%] Linking CXX executable test_sparseMatrixCompare
[ 76%] Built target test_sparseMatrixCompare
Scanning dependencies of target test_argument
[ 77%] Building CXX object paddle/parameter/tests/CMakeFiles/test_argument.dir/test_argument.cpp.o
In file included from /Users/liling.tan/Paddle/paddle/parameter/tests/test_argument.cpp:16:
In file included from /Users/liling.tan/Paddle/paddle/parameter/Argument.h:19:
In file included from /Users/liling.tan/Paddle/paddle/math/Matrix.h:21:
In file included from /Users/liling.tan/Paddle/paddle/utils/Logging.h:25:
/Users/liling.tan/Paddle/third_party/install/glog/include/glog/logging.h:717:32: warning: comparison of integers of different signs: 'const unsigned long' and 'const int' [-Wsign-compare]
DEFINE_CHECK_OP_IMPL(Check_EQ, ==)  // Compilation error with CHECK_EQ(NULL, x)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/Users/liling.tan/Paddle/third_party/install/glog/include/glog/logging.h:706:32: note: expanded from macro 'DEFINE_CHECK_OP_IMPL'
    if (GOOGLE_PREDICT_TRUE(v1 op v2)) return NULL; \
                            ~~ ^  ~~
/Users/liling.tan/Paddle/third_party/install/glog/include/glog/logging.h:148:53: note: expanded from macro 'GOOGLE_PREDICT_TRUE'
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
                                                    ^
/Users/liling.tan/Paddle/paddle/parameter/tests/test_argument.cpp:45:5: note: in instantiation of function template specialization 'google::Check_EQImpl<unsigned long, int>' requested here
    CHECK_EQ(stridePositions->getSize(), 8);
    ^
/Users/liling.tan/Paddle/third_party/install/glog/include/glog/logging.h:788:30: note: expanded from macro 'CHECK_EQ'
#define CHECK_EQ(val1, val2) CHECK_OP(_EQ, ==, val1, val2)
                             ^
/Users/liling.tan/Paddle/third_party/install/glog/include/glog/logging.h:764:3: note: expanded from macro 'CHECK_OP'
  CHECK_OP_LOG(name, op, val1, val2, google::LogMessageFatal)
  ^
/Users/liling.tan/Paddle/third_party/install/glog/include/glog/logging.h:755:18: note: expanded from macro 'CHECK_OP_LOG'
         google::Check##name##Impl(                      \
                 ^
<scratch space>:86:1: note: expanded from here
Check_EQImpl
^
1 warning generated.
[ 77%] Linking CXX executable test_argument
[ 77%] Built target test_argument
Scanning dependencies of target test_common
[ 77%] Building CXX object paddle/parameter/tests/CMakeFiles/test_common.dir/test_common.cpp.o
[ 77%] Linking CXX executable test_common
[ 77%] Built target test_common
Scanning dependencies of target test_ActivationGrad
[ 78%] Building CXX object paddle/gserver/tests/CMakeFiles/test_ActivationGrad.dir/test_ActivationGrad.cpp.o
[ 78%] Building CXX object paddle/gserver/tests/CMakeFiles/test_ActivationGrad.dir/LayerGradUtil.cpp.o
[ 78%] Linking CXX executable test_ActivationGrad
[ 78%] Built target test_ActivationGrad
Scanning dependencies of target test_BatchNorm
[ 78%] Building CXX object paddle/gserver/tests/CMakeFiles/test_BatchNorm.dir/test_BatchNorm.cpp.o
[ 78%] Building CXX object paddle/gserver/tests/CMakeFiles/test_BatchNorm.dir/LayerGradUtil.cpp.o
[ 79%] Linking CXX executable test_BatchNorm
[ 79%] Built target test_BatchNorm
Scanning dependencies of target test_CRFLayerGrad
[ 79%] Building CXX object paddle/gserver/tests/CMakeFiles/test_CRFLayerGrad.dir/test_CRFLayerGrad.cpp.o
[ 79%] Building CXX object paddle/gserver/tests/CMakeFiles/test_CRFLayerGrad.dir/LayerGradUtil.cpp.o
[ 79%] Linking CXX executable test_CRFLayerGrad
[ 79%] Built target test_CRFLayerGrad
Scanning dependencies of target test_ConvTrans
[ 79%] Building CXX object paddle/gserver/tests/CMakeFiles/test_ConvTrans.dir/test_ConvTrans.cpp.o
[ 80%] Building CXX object paddle/gserver/tests/CMakeFiles/test_ConvTrans.dir/LayerGradUtil.cpp.o
[ 80%] Linking CXX executable test_ConvTrans
[ 80%] Built target test_ConvTrans
Scanning dependencies of target test_ConvUnify
[ 80%] Building CXX object paddle/gserver/tests/CMakeFiles/test_ConvUnify.dir/test_ConvUnify.cpp.o
[ 80%] Building CXX object paddle/gserver/tests/CMakeFiles/test_ConvUnify.dir/LayerGradUtil.cpp.o
[ 81%] Linking CXX executable test_ConvUnify
[ 81%] Built target test_ConvUnify
Scanning dependencies of target test_Evaluator
[ 82%] Building CXX object paddle/gserver/tests/CMakeFiles/test_Evaluator.dir/test_Evaluator.cpp.o
[ 82%] Linking CXX executable test_Evaluator
[ 82%] Built target test_Evaluator
Scanning dependencies of target test_LayerGrad
[ 83%] Building CXX object paddle/gserver/tests/CMakeFiles/test_LayerGrad.dir/test_LayerGrad.cpp.o
[ 83%] Building CXX object paddle/gserver/tests/CMakeFiles/test_LayerGrad.dir/LayerGradUtil.cpp.o
[ 83%] Linking CXX executable test_LayerGrad
[ 83%] Built target test_LayerGrad
Scanning dependencies of target test_LinearChainCRF
[ 83%] Building CXX object paddle/gserver/tests/CMakeFiles/test_LinearChainCRF.dir/test_LinearChainCRF.cpp.o
[ 84%] Linking CXX executable test_LinearChainCRF
[ 84%] Built target test_LinearChainCRF
Scanning dependencies of target test_MultinomialSampler
[ 84%] Building CXX object paddle/gserver/tests/CMakeFiles/test_MultinomialSampler.dir/test_MultinomialSampler.cpp.o
[ 84%] Linking CXX executable test_MultinomialSampler
[ 84%] Built target test_MultinomialSampler
Scanning dependencies of target test_NetworkCompare
[ 85%] Building CXX object paddle/gserver/tests/CMakeFiles/test_NetworkCompare.dir/test_NetworkCompare.cpp.o
[ 85%] Linking CXX executable test_NetworkCompare
[ 85%] Built target test_NetworkCompare
Scanning dependencies of target test_PriorBox
[ 86%] Building CXX object paddle/gserver/tests/CMakeFiles/test_PriorBox.dir/test_PriorBox.cpp.o
[ 86%] Building CXX object paddle/gserver/tests/CMakeFiles/test_PriorBox.dir/LayerGradUtil.cpp.o
[ 86%] Linking CXX executable test_PriorBox
[ 86%] Built target test_PriorBox
Scanning dependencies of target test_ProtoDataProvider
[ 86%] Building CXX object paddle/gserver/tests/CMakeFiles/test_ProtoDataProvider.dir/test_ProtoDataProvider.cpp.o
[ 87%] Linking CXX executable test_ProtoDataProvider
[ 87%] Built target test_ProtoDataProvider
Scanning dependencies of target test_PyDataProvider
[ 87%] Building CXX object paddle/gserver/tests/CMakeFiles/test_PyDataProvider.dir/test_PyDataProvider.cpp.o
[ 88%] Linking CXX executable test_PyDataProvider
[ 88%] Built target test_PyDataProvider
Scanning dependencies of target test_PyDataProvider2
[ 88%] Building CXX object paddle/gserver/tests/CMakeFiles/test_PyDataProvider2.dir/test_PyDataProvider2.cpp.o
[ 88%] Linking CXX executable test_PyDataProvider2
[ 88%] Built target test_PyDataProvider2
Scanning dependencies of target test_RecurrentGradientMachine
[ 89%] Building CXX object paddle/gserver/tests/CMakeFiles/test_RecurrentGradientMachine.dir/test_RecurrentGradientMachine.cpp.o
[ 89%] Linking CXX executable test_RecurrentGradientMachine
[ 89%] Built target test_RecurrentGradientMachine
Scanning dependencies of target test_RecurrentLayer
[ 89%] Building CXX object paddle/gserver/tests/CMakeFiles/test_RecurrentLayer.dir/test_RecurrentLayer.cpp.o
[ 89%] Linking CXX executable test_RecurrentLayer
[ 89%] Built target test_RecurrentLayer
Scanning dependencies of target test_WarpCTCLayer
[ 89%] Building CXX object paddle/gserver/tests/CMakeFiles/test_WarpCTCLayer.dir/test_WarpCTCLayer.cpp.o
[ 89%] Linking CXX executable test_WarpCTCLayer
[ 89%] Built target test_WarpCTCLayer
Scanning dependencies of target paddle_pserver_main
[ 90%] Building CXX object paddle/pserver/CMakeFiles/paddle_pserver_main.dir/ParameterServer2Main.cpp.o
[ 90%] Linking CXX executable paddle_pserver_main
[ 90%] Built target paddle_pserver_main
Scanning dependencies of target socket_test
[ 90%] Building CXX object paddle/pserver/test/CMakeFiles/socket_test.dir/SocketTest.cpp.o
/Users/liling.tan/Paddle/paddle/pserver/test/SocketTest.cpp:253:5: warning: unused typedef 'INVALID_REQUESTED_LOG_SEVERITY' [-Wunused-local-typedef]
    LOG_EVERY_N(INFO, 100) << "i=" << i;
    ^
/Users/liling.tan/Paddle/third_party/install/glog/include/glog/logging.h:943:30: note: expanded from macro 'LOG_EVERY_N'
                             INVALID_REQUESTED_LOG_SEVERITY);           \
                             ^
1 warning generated.
[ 90%] Linking CXX executable socket_test
[ 90%] Built target socket_test
Scanning dependencies of target test_ParameterServer2
[ 90%] Building CXX object paddle/pserver/test/CMakeFiles/test_ParameterServer2.dir/test_ParameterServer2.cpp.o
[ 90%] Linking CXX executable test_ParameterServer2
[ 90%] Built target test_ParameterServer2
Scanning dependencies of target test_ProtoServer
[ 90%] Building CXX object paddle/pserver/test/CMakeFiles/test_ProtoServer.dir/test_ProtoServer.cpp.o
[ 90%] Linking CXX executable test_ProtoServer
[ 90%] Built target test_ProtoServer
Scanning dependencies of target paddle_merge_model
[ 91%] Building CXX object paddle/trainer/CMakeFiles/paddle_merge_model.dir/MergeModel.cpp.o
[ 91%] Linking CXX executable paddle_merge_model
[ 91%] Built target paddle_merge_model
Scanning dependencies of target paddle_trainer
[ 91%] Building CXX object paddle/trainer/CMakeFiles/paddle_trainer.dir/TrainerMain.cpp.o
[ 91%] Linking CXX executable paddle_trainer
[ 91%] Built target paddle_trainer
Scanning dependencies of target test_Compare
[ 92%] Building CXX object paddle/trainer/tests/CMakeFiles/test_Compare.dir/test_Compare.cpp.o
[ 92%] Linking CXX executable test_Compare
[ 92%] Built target test_Compare
Scanning dependencies of target test_CompareSparse
[ 92%] Building CXX object paddle/trainer/tests/CMakeFiles/test_CompareSparse.dir/test_CompareSparse.cpp.o
[ 92%] Linking CXX executable test_CompareSparse
[ 92%] Built target test_CompareSparse
Scanning dependencies of target test_CompareTwoNets
[ 93%] Building CXX object paddle/trainer/tests/CMakeFiles/test_CompareTwoNets.dir/test_CompareTwoNets.cpp.o
[ 93%] Linking CXX executable test_CompareTwoNets
[ 93%] Built target test_CompareTwoNets
Scanning dependencies of target test_CompareTwoOpts
[ 93%] Building CXX object paddle/trainer/tests/CMakeFiles/test_CompareTwoOpts.dir/test_CompareTwoOpts.cpp.o
[ 93%] Linking CXX executable test_CompareTwoOpts
[ 93%] Built target test_CompareTwoOpts
Scanning dependencies of target test_PyDataProviderWrapper
[ 93%] Building CXX object paddle/trainer/tests/CMakeFiles/test_PyDataProviderWrapper.dir/test_PyDataProviderWrapper.cpp.o
[ 93%] Linking CXX executable test_PyDataProviderWrapper
[ 93%] Built target test_PyDataProviderWrapper
Scanning dependencies of target test_Trainer
[ 93%] Building CXX object paddle/trainer/tests/CMakeFiles/test_Trainer.dir/test_Trainer.cpp.o
[ 93%] Linking CXX executable test_Trainer
[ 93%] Built target test_Trainer
Scanning dependencies of target test_TrainerOnePass
[ 93%] Building CXX object paddle/trainer/tests/CMakeFiles/test_TrainerOnePass.dir/test_TrainerOnePass.cpp.o
[ 94%] Linking CXX executable test_TrainerOnePass
[ 94%] Built target test_TrainerOnePass
Scanning dependencies of target test_recurrent_machine_generation
[ 94%] Building CXX object paddle/trainer/tests/CMakeFiles/test_recurrent_machine_generation.dir/test_recurrent_machine_generation.cpp.o
[ 94%] Linking CXX executable test_recurrent_machine_generation
[ 94%] Built target test_recurrent_machine_generation
Scanning dependencies of target ddim
[ 94%] Building CXX object paddle/majel/CMakeFiles/ddim.dir/ddim.cc.o
[ 95%] Linking CXX static library libddim.a
[ 95%] Built target ddim
Scanning dependencies of target place
[ 95%] Building CXX object paddle/majel/CMakeFiles/place.dir/place.cc.o
[ 96%] Linking CXX static library libplace.a
[ 96%] Built target place
Scanning dependencies of target ddim_test
[ 96%] Building CXX object paddle/majel/test/CMakeFiles/ddim_test.dir/ddim_test.cc.o
[ 96%] Linking CXX executable ddim_test
[ 96%] Built target ddim_test
Scanning dependencies of target place_test
[ 96%] Building CXX object paddle/majel/test/CMakeFiles/place_test.dir/place_test.cc.o
[ 96%] Linking CXX executable place_test
[ 96%] Built target place_test
Scanning dependencies of target paddle_api
[ 96%] Building CXX object paddle/api/CMakeFiles/paddle_api.dir/Arguments.cpp.o
[ 97%] Building CXX object paddle/api/CMakeFiles/paddle_api.dir/ConfigParser.cpp.o
[ 97%] Building CXX object paddle/api/CMakeFiles/paddle_api.dir/Evaluator.cpp.o
[ 97%] Building CXX object paddle/api/CMakeFiles/paddle_api.dir/GradientMachine.cpp.o
[ 97%] Building CXX object paddle/api/CMakeFiles/paddle_api.dir/Matrix.cpp.o
[ 98%] Building CXX object paddle/api/CMakeFiles/paddle_api.dir/Parameter.cpp.o
[ 98%] Building CXX object paddle/api/CMakeFiles/paddle_api.dir/ParameterOptimizer.cpp.o
[ 98%] Building CXX object paddle/api/CMakeFiles/paddle_api.dir/ParameterUpdater.cpp.o
[ 98%] Building CXX object paddle/api/CMakeFiles/paddle_api.dir/SequenceGenerator.cpp.o
[ 98%] Building CXX object paddle/api/CMakeFiles/paddle_api.dir/Trainer.cpp.o
[ 99%] Building CXX object paddle/api/CMakeFiles/paddle_api.dir/Util.cpp.o
[ 99%] Building CXX object paddle/api/CMakeFiles/paddle_api.dir/Vector.cpp.o
[ 99%] Linking CXX static library libpaddle_api.a
[ 99%] Built target paddle_api
[ 99%] Swig source
Scanning dependencies of target _swig_paddle
[ 99%] Building CXX object paddle/api/CMakeFiles/_swig_paddle.dir/PaddlePYTHON_wrap.cxx.o
[ 99%] Linking CXX shared module _swig_paddle.so
[ 99%] Built target _swig_paddle
Scanning dependencies of target python_api_wheel
[ 99%] Generating ../../../paddle/py_paddle/_swig_paddle.so
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/py_paddle
copying py_paddle/__init__.py -> build/lib/py_paddle
copying py_paddle/dataprovider_converter.py -> build/lib/py_paddle
copying py_paddle/swig_paddle.py -> build/lib/py_paddle
copying py_paddle/util.py -> build/lib/py_paddle
running egg_info
creating py_paddle.egg-info
writing requirements to py_paddle.egg-info/requires.txt
writing py_paddle.egg-info/PKG-INFO
writing top-level names to py_paddle.egg-info/top_level.txt
writing dependency_links to py_paddle.egg-info/dependency_links.txt
writing manifest file 'py_paddle.egg-info/SOURCES.txt'
reading manifest file 'py_paddle.egg-info/SOURCES.txt'
writing manifest file 'py_paddle.egg-info/SOURCES.txt'
copying py_paddle/_swig_paddle.so -> build/lib/py_paddle
installing to build/bdist.macosx-10.12-x86_64/wheel
running install
running install_lib
creating build/bdist.macosx-10.12-x86_64
creating build/bdist.macosx-10.12-x86_64/wheel
creating build/bdist.macosx-10.12-x86_64/wheel/py_paddle
copying build/lib/py_paddle/__init__.py -> build/bdist.macosx-10.12-x86_64/wheel/py_paddle
copying build/lib/py_paddle/_swig_paddle.so -> build/bdist.macosx-10.12-x86_64/wheel/py_paddle
copying build/lib/py_paddle/dataprovider_converter.py -> build/bdist.macosx-10.12-x86_64/wheel/py_paddle
copying build/lib/py_paddle/swig_paddle.py -> build/bdist.macosx-10.12-x86_64/wheel/py_paddle
copying build/lib/py_paddle/util.py -> build/bdist.macosx-10.12-x86_64/wheel/py_paddle
running install_egg_info
Copying py_paddle.egg-info to build/bdist.macosx-10.12-x86_64/wheel/py_paddle-0.10.0-py2.7.egg-info
running install_scripts
creating build/bdist.macosx-10.12-x86_64/wheel/py_paddle-0.10.0.dist-info/WHEEL
[ 99%] Built target python_api_wheel
Scanning dependencies of target paddle_python
[ 99%] Generating build/.timestamp
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/paddle
copying /Users/liling.tan/Paddle/python/paddle/__init__.py -> build/lib/paddle
creating build/lib/paddle/proto
copying /Users/liling.tan/Paddle/python/paddle/proto/__init__.py -> build/lib/paddle/proto
copying /Users/liling.tan/Paddle/python/paddle/proto/DataConfig_pb2.py -> build/lib/paddle/proto
copying /Users/liling.tan/Paddle/python/paddle/proto/DataFormat_pb2.py -> build/lib/paddle/proto
copying /Users/liling.tan/Paddle/python/paddle/proto/ModelConfig_pb2.py -> build/lib/paddle/proto
copying /Users/liling.tan/Paddle/python/paddle/proto/ParameterConfig_pb2.py -> build/lib/paddle/proto
copying /Users/liling.tan/Paddle/python/paddle/proto/ParameterServerConfig_pb2.py -> build/lib/paddle/proto
copying /Users/liling.tan/Paddle/python/paddle/proto/ParameterService_pb2.py -> build/lib/paddle/proto
copying /Users/liling.tan/Paddle/python/paddle/proto/TrainerConfig_pb2.py -> build/lib/paddle/proto
creating build/lib/paddle/trainer
copying /Users/liling.tan/Paddle/python/paddle/trainer/__init__.py -> build/lib/paddle/trainer
copying /Users/liling.tan/Paddle/python/paddle/trainer/config_parser.py -> build/lib/paddle/trainer
copying /Users/liling.tan/Paddle/python/paddle/trainer/config_parser_extension.py -> build/lib/paddle/trainer
copying /Users/liling.tan/Paddle/python/paddle/trainer/PyDataProvider2.py -> build/lib/paddle/trainer
copying /Users/liling.tan/Paddle/python/paddle/trainer/PyDataProviderWrapper.py -> build/lib/paddle/trainer
copying /Users/liling.tan/Paddle/python/paddle/trainer/recurrent_units.py -> build/lib/paddle/trainer
creating build/lib/paddle/trainer_config_helpers
copying /Users/liling.tan/Paddle/python/paddle/trainer_config_helpers/__init__.py -> build/lib/paddle/trainer_config_helpers
copying /Users/liling.tan/Paddle/python/paddle/trainer_config_helpers/activations.py -> build/lib/paddle/trainer_config_helpers
copying /Users/liling.tan/Paddle/python/paddle/trainer_config_helpers/attrs.py -> build/lib/paddle/trainer_config_helpers
copying /Users/liling.tan/Paddle/python/paddle/trainer_config_helpers/config_parser_utils.py -> build/lib/paddle/trainer_config_helpers
copying /Users/liling.tan/Paddle/python/paddle/trainer_config_helpers/data_sources.py -> build/lib/paddle/trainer_config_helpers
copying /Users/liling.tan/Paddle/python/paddle/trainer_config_helpers/default_decorators.py -> build/lib/paddle/trainer_config_helpers
copying /Users/liling.tan/Paddle/python/paddle/trainer_config_helpers/evaluators.py -> build/lib/paddle/trainer_config_helpers
copying /Users/liling.tan/Paddle/python/paddle/trainer_config_helpers/layer_math.py -> build/lib/paddle/trainer_config_helpers
copying /Users/liling.tan/Paddle/python/paddle/trainer_config_helpers/layers.py -> build/lib/paddle/trainer_config_helpers
copying /Users/liling.tan/Paddle/python/paddle/trainer_config_helpers/networks.py -> build/lib/paddle/trainer_config_helpers
copying /Users/liling.tan/Paddle/python/paddle/trainer_config_helpers/optimizers.py -> build/lib/paddle/trainer_config_helpers
copying /Users/liling.tan/Paddle/python/paddle/trainer_config_helpers/poolings.py -> build/lib/paddle/trainer_config_helpers
copying /Users/liling.tan/Paddle/python/paddle/trainer_config_helpers/utils.py -> build/lib/paddle/trainer_config_helpers
creating build/lib/paddle/utils
copying /Users/liling.tan/Paddle/python/paddle/utils/__init__.py -> build/lib/paddle/utils
copying /Users/liling.tan/Paddle/python/paddle/utils/dump_config.py -> build/lib/paddle/utils
copying /Users/liling.tan/Paddle/python/paddle/utils/image_multiproc.py -> build/lib/paddle/utils
copying /Users/liling.tan/Paddle/python/paddle/utils/image_util.py -> build/lib/paddle/utils
copying /Users/liling.tan/Paddle/python/paddle/utils/make_model_diagram.py -> build/lib/paddle/utils
copying /Users/liling.tan/Paddle/python/paddle/utils/plotcurve.py -> build/lib/paddle/utils
copying /Users/liling.tan/Paddle/python/paddle/utils/predefined_net.py -> build/lib/paddle/utils
copying /Users/liling.tan/Paddle/python/paddle/utils/preprocess_img.py -> build/lib/paddle/utils
copying /Users/liling.tan/Paddle/python/paddle/utils/preprocess_util.py -> build/lib/paddle/utils
copying /Users/liling.tan/Paddle/python/paddle/utils/show_pb.py -> build/lib/paddle/utils
copying /Users/liling.tan/Paddle/python/paddle/utils/torch2paddle.py -> build/lib/paddle/utils
creating build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/__init__.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/activation.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/attr.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/config_base.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/data_feeder.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/data_type.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/evaluator.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/event.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/image.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/inference.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/layer.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/minibatch.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/networks.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/op.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/optimizer.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/parameters.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/pooling.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/topology.py -> build/lib/paddle/v2
copying /Users/liling.tan/Paddle/python/paddle/v2/trainer.py -> build/lib/paddle/v2
creating build/lib/paddle/v2/dataset
copying /Users/liling.tan/Paddle/python/paddle/v2/dataset/__init__.py -> build/lib/paddle/v2/dataset
copying /Users/liling.tan/Paddle/python/paddle/v2/dataset/cifar.py -> build/lib/paddle/v2/dataset
copying /Users/liling.tan/Paddle/python/paddle/v2/dataset/common.py -> build/lib/paddle/v2/dataset
copying /Users/liling.tan/Paddle/python/paddle/v2/dataset/conll05.py -> build/lib/paddle/v2/dataset
copying /Users/liling.tan/Paddle/python/paddle/v2/dataset/imdb.py -> build/lib/paddle/v2/dataset
copying /Users/liling.tan/Paddle/python/paddle/v2/dataset/imikolov.py -> build/lib/paddle/v2/dataset
copying /Users/liling.tan/Paddle/python/paddle/v2/dataset/mnist.py -> build/lib/paddle/v2/dataset
copying /Users/liling.tan/Paddle/python/paddle/v2/dataset/movielens.py -> build/lib/paddle/v2/dataset
copying /Users/liling.tan/Paddle/python/paddle/v2/dataset/mq2007.py -> build/lib/paddle/v2/dataset
copying /Users/liling.tan/Paddle/python/paddle/v2/dataset/sentiment.py -> build/lib/paddle/v2/dataset
copying /Users/liling.tan/Paddle/python/paddle/v2/dataset/uci_housing.py -> build/lib/paddle/v2/dataset
copying /Users/liling.tan/Paddle/python/paddle/v2/dataset/wmt14.py -> build/lib/paddle/v2/dataset
creating build/lib/paddle/v2/reader
copying /Users/liling.tan/Paddle/python/paddle/v2/reader/__init__.py -> build/lib/paddle/v2/reader
copying /Users/liling.tan/Paddle/python/paddle/v2/reader/creator.py -> build/lib/paddle/v2/reader
copying /Users/liling.tan/Paddle/python/paddle/v2/reader/decorator.py -> build/lib/paddle/v2/reader
creating build/lib/paddle/v2/plot
copying /Users/liling.tan/Paddle/python/paddle/v2/plot/__init__.py -> build/lib/paddle/v2/plot
copying /Users/liling.tan/Paddle/python/paddle/v2/plot/plot.py -> build/lib/paddle/v2/plot
installing to build/bdist.macosx-10.12-x86_64/wheel
running install
running install_lib
creating build/bdist.macosx-10.12-x86_64
creating build/bdist.macosx-10.12-x86_64/wheel
creating build/bdist.macosx-10.12-x86_64/wheel/paddle
copying build/lib/paddle/__init__.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle
creating build/bdist.macosx-10.12-x86_64/wheel/paddle/proto
copying build/lib/paddle/proto/__init__.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/proto
copying build/lib/paddle/proto/DataConfig_pb2.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/proto
copying build/lib/paddle/proto/DataFormat_pb2.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/proto
copying build/lib/paddle/proto/ModelConfig_pb2.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/proto
copying build/lib/paddle/proto/ParameterConfig_pb2.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/proto
copying build/lib/paddle/proto/ParameterServerConfig_pb2.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/proto
copying build/lib/paddle/proto/ParameterService_pb2.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/proto
copying build/lib/paddle/proto/TrainerConfig_pb2.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/proto
creating build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer
copying build/lib/paddle/trainer/__init__.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer
copying build/lib/paddle/trainer/config_parser.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer
copying build/lib/paddle/trainer/config_parser_extension.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer
copying build/lib/paddle/trainer/PyDataProvider2.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer
copying build/lib/paddle/trainer/PyDataProviderWrapper.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer
copying build/lib/paddle/trainer/recurrent_units.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer
creating build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer_config_helpers
copying build/lib/paddle/trainer_config_helpers/__init__.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer_config_helpers
copying build/lib/paddle/trainer_config_helpers/activations.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer_config_helpers
copying build/lib/paddle/trainer_config_helpers/attrs.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer_config_helpers
copying build/lib/paddle/trainer_config_helpers/config_parser_utils.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer_config_helpers
copying build/lib/paddle/trainer_config_helpers/data_sources.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer_config_helpers
copying build/lib/paddle/trainer_config_helpers/default_decorators.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer_config_helpers
copying build/lib/paddle/trainer_config_helpers/evaluators.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer_config_helpers
copying build/lib/paddle/trainer_config_helpers/layer_math.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer_config_helpers
copying build/lib/paddle/trainer_config_helpers/layers.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer_config_helpers
copying build/lib/paddle/trainer_config_helpers/networks.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer_config_helpers
copying build/lib/paddle/trainer_config_helpers/optimizers.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer_config_helpers
copying build/lib/paddle/trainer_config_helpers/poolings.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer_config_helpers
copying build/lib/paddle/trainer_config_helpers/utils.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/trainer_config_helpers
creating build/bdist.macosx-10.12-x86_64/wheel/paddle/utils
copying build/lib/paddle/utils/__init__.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/utils
copying build/lib/paddle/utils/dump_config.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/utils
copying build/lib/paddle/utils/image_multiproc.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/utils
copying build/lib/paddle/utils/image_util.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/utils
copying build/lib/paddle/utils/make_model_diagram.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/utils
copying build/lib/paddle/utils/plotcurve.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/utils
copying build/lib/paddle/utils/predefined_net.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/utils
copying build/lib/paddle/utils/preprocess_img.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/utils
copying build/lib/paddle/utils/preprocess_util.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/utils
copying build/lib/paddle/utils/show_pb.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/utils
copying build/lib/paddle/utils/torch2paddle.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/utils
creating build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/__init__.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/activation.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/attr.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/config_base.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/data_feeder.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/data_type.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
creating build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/dataset
copying build/lib/paddle/v2/dataset/__init__.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/dataset
copying build/lib/paddle/v2/dataset/cifar.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/dataset
copying build/lib/paddle/v2/dataset/common.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/dataset
copying build/lib/paddle/v2/dataset/conll05.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/dataset
copying build/lib/paddle/v2/dataset/imdb.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/dataset
copying build/lib/paddle/v2/dataset/imikolov.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/dataset
copying build/lib/paddle/v2/dataset/mnist.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/dataset
copying build/lib/paddle/v2/dataset/movielens.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/dataset
copying build/lib/paddle/v2/dataset/mq2007.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/dataset
copying build/lib/paddle/v2/dataset/sentiment.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/dataset
copying build/lib/paddle/v2/dataset/uci_housing.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/dataset
copying build/lib/paddle/v2/dataset/wmt14.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/dataset
copying build/lib/paddle/v2/evaluator.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/event.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/image.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/inference.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/layer.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/minibatch.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/networks.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/op.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/optimizer.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/parameters.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
creating build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/plot
copying build/lib/paddle/v2/plot/__init__.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/plot
copying build/lib/paddle/v2/plot/plot.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/plot
copying build/lib/paddle/v2/pooling.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
creating build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/reader
copying build/lib/paddle/v2/reader/__init__.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/reader
copying build/lib/paddle/v2/reader/creator.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/reader
copying build/lib/paddle/v2/reader/decorator.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2/reader
copying build/lib/paddle/v2/topology.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
copying build/lib/paddle/v2/trainer.py -> build/bdist.macosx-10.12-x86_64/wheel/paddle/v2
running install_egg_info
running egg_info
creating /Users/liling.tan/Paddle/python/paddle.egg-info
writing requirements to /Users/liling.tan/Paddle/python/paddle.egg-info/requires.txt
writing /Users/liling.tan/Paddle/python/paddle.egg-info/PKG-INFO
writing top-level names to /Users/liling.tan/Paddle/python/paddle.egg-info/top_level.txt
writing dependency_links to /Users/liling.tan/Paddle/python/paddle.egg-info/dependency_links.txt
writing manifest file '/Users/liling.tan/Paddle/python/paddle.egg-info/SOURCES.txt'
reading manifest file '/Users/liling.tan/Paddle/python/paddle.egg-info/SOURCES.txt'
writing manifest file '/Users/liling.tan/Paddle/python/paddle.egg-info/SOURCES.txt'
Copying /Users/liling.tan/Paddle/python/paddle.egg-info to build/bdist.macosx-10.12-x86_64/wheel/paddle-0.10.0-py2.7.egg-info
running install_scripts
creating build/bdist.macosx-10.12-x86_64/wheel/paddle-0.10.0.dist-info/WHEEL
[ 99%] Built target paddle_python
Scanning dependencies of target protobuf_equal
[ 99%] Building CXX object python/paddle/trainer_config_helpers/tests/CMakeFiles/protobuf_equal.dir/ProtobufEqualMain.cpp.o
[100%] Linking CXX executable protobuf_equal
[100%] Built target protobuf_equal
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/local/opt/paddle/bin/paddle_pserver_main
-- Installing: /usr/local/opt/paddle/bin/paddle_trainer
-- Installing: /usr/local/opt/paddle/bin/paddle_merge_model
-- Installing: /usr/local/bin/paddle
-- Installing: /usr/local/opt/paddle/bin/paddle_usage
-- Up-to-date: /usr/local/opt/paddle/share/wheels
-- Installing: /usr/local/opt/paddle/share/wheels/.timestamp
-- Installing: /usr/local/opt/paddle/share/wheels/py_paddle-0.10.0-py2-none-any.whl
-- Up-to-date: /usr/local/opt/paddle/share/wheels
-- Installing: /usr/local/opt/paddle/share/wheels/paddle-0.10.0-py2-none-any.whl

~/Paddle/build$ which paddle
/usr/local/bin/paddle
:~/Paddle/build$ paddle version
PaddlePaddle 0.10.0, compiled with
    with_avx: ON
    with_gpu: OFF
    with_double: OFF
    with_python: ON
    with_rdma: OFF
    with_timer: OFF

Installing the Python API:

$ cd  /usr/local/opt/paddle/share/wheels/
/usr/local/opt/paddle/share/wheels$ sudo pip install *.whl
Password:
The directory '/Users/liling.tan/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/liling.tan/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Processing ./paddle-0.10.0-py2-none-any.whl
Processing ./py_paddle-0.10.0-py2-none-any.whl
Collecting rarfile (from paddle==0.10.0)
  Downloading rarfile-3.0.tar.gz (110kB)
    100% |████████████████████████████████| 112kB 1.7MB/s 
Collecting matplotlib (from paddle==0.10.0)
  Downloading matplotlib-2.0.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (12.8MB)
    100% |████████████████████████████████| 12.8MB 99kB/s 
Collecting protobuf==3.3 (from paddle==0.10.0)
  Downloading protobuf-3.3.0.tar.gz (271kB)
    100% |████████████████████████████████| 276kB 2.0MB/s 
Collecting opencv-python (from paddle==0.10.0)
  Downloading opencv_python-3.2.0.7-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (27.2MB)
    100% |████████████████████████████████| 27.2MB 45kB/s 
Requirement already satisfied: numpy in /usr/local/lib/python2.7/site-packages (from paddle==0.10.0)
Requirement already satisfied: requests in /usr/local/lib/python2.7/site-packages (from paddle==0.10.0)
Requirement already satisfied: nltk>=3.2.2 in /usr/local/lib/python2.7/site-packages (from py-paddle==0.10.0)
Requirement already satisfied: python-dateutil in /Users/liling.tan/Library/Python/2.7/lib/python/site-packages (from matplotlib->paddle==0.10.0)
Collecting cycler>=0.10 (from matplotlib->paddle==0.10.0)
  Downloading cycler-0.10.0-py2.py3-none-any.whl
Collecting subprocess32 (from matplotlib->paddle==0.10.0)
Requirement already satisfied: pytz in /usr/local/lib/python2.7/site-packages (from matplotlib->paddle==0.10.0)
Requirement already satisfied: six>=1.10 in /Users/liling.tan/Library/Python/2.7/lib/python/site-packages (from matplotlib->paddle==0.10.0)
Requirement already satisfied: functools32 in /Users/liling.tan/Library/Python/2.7/lib/python/site-packages (from matplotlib->paddle==0.10.0)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 (from matplotlib->paddle==0.10.0)
  Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB)
    100% |████████████████████████████████| 61kB 4.4MB/s 
Requirement already satisfied: setuptools in /Users/liling.tan/Library/Python/2.7/lib/python/site-packages (from protobuf==3.3->paddle==0.10.0)
Installing collected packages: rarfile, cycler, subprocess32, pyparsing, matplotlib, protobuf, opencv-python, paddle, py-paddle
  Running setup.py install for rarfile ... done
  Found existing installation: protobuf 3.1.0.post1
    Uninstalling protobuf-3.1.0.post1:
      Successfully uninstalled protobuf-3.1.0.post1
  Running setup.py install for protobuf ... done
  Found existing installation: paddle 0.8.0b1
    Uninstalling paddle-0.8.0b1:
      Successfully uninstalled paddle-0.8.0b1
  Found existing installation: py-paddle 0.8.0b1
    Uninstalling py-paddle-0.8.0b1:
      Successfully uninstalled py-paddle-0.8.0b1
Successfully installed cycler-0.10.0 matplotlib-2.0.2 opencv-python-3.2.0.7 paddle-0.10.0 protobuf-3.3.0 py-paddle-0.10.0 pyparsing-2.2.0 rarfile-3.0 subprocess32-3.2.7
qingqing01 commented 7 years ago

Fatal Python error: PyThreadState_Get: no current thread

It seems that there are more than one Python installed according to https://stackoverflow.com/questions/15678153/homebrew-python-on-mac-os-x-10-8-fatal-python-error-pythreadstate-get-no-cu . @gangliao Could you help to have a look?

gangliao commented 7 years ago

@alvations If there exists multiple Python in your system, when you compile the source code, please specify the appropriate python.

For example

cmake ~/Paddle -DPYTHON_EXECUTABLE=(which python)\
-DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DWITH_TESTING=OFF -DWITH_STYLE_CHECK=OFF -DWITH_SWIG_PY=ON -DWITH_PYTHON=ON -DCMAKE_BUILD_TYPE=Release -DTHIRD_PARTY_PATH=/Users/baidu/.cache/third_party 
alvations commented 7 years ago

Thanks @gangliao! The -DPYTHON_EXECUTABLE and -DPYTHON_LIBRARY parameters works. Now the paddle.v2 imports without the fatal error.

Small syntax difference to the command, using (which python), didn't work I need the to evaluate the command with $(which python):

cmake ~/Paddle -DPYTHON_EXECUTABLE=$(which python)\
-DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib \
-DWITH_TESTING=OFF -DWITH_STYLE_CHECK=OFF \
-DWITH_SWIG_PY=ON -DWITH_PYTHON=ON -DCMAKE_BUILD_TYPE=Release \
-DTHIRD_PARTY_PATH=/Users/baidu/.cache/third_party