SAI preconditioner computation...
cc1plus: ошибка: некорректный уровень отладочной информации "fortran"
cc1plus: ошибка: некорректный уровень отладочной информации "fortran"
Traceback (most recent call last):
File "code/compute_SAI_precond_MLFMA.py", line 102, in <module>
compute_SAI(params_simu, simuDirName)
File "code/compute_SAI_precond_MLFMA.py", line 73, in compute_SAI
Wall_time_Mg_computation, CPU_time_Mg_computation = compute_SAIpreconditioner(tmpDirName, variables['C'], variables['chunkNumber_to_cubesNumbers'], variables['cubeNumber_to_chunkNumber'], variables['chunkNumber_to_processNumber'], variables['processNumber_to_ChunksNumbers'], params_simu.MAX_BLOCK_SIZE)
File "code/compute_SAI_precond_MLFMA.py", line 52, in compute_SAIpreconditioner
Mg_CSR(my_id, processNumber_to_ChunksNumbers, chunkNumber_to_cubesNumbers, cubeNumber_to_chunkNumber, ELEM_TYPE, Z_TMP_ELEM_TYPE, LIB_G2C, pathToReadFrom, pathToSaveTo)
File "/home/ws/App/Puma-EM/code/FMM_precond.py", line 205, in Mg_CSR
Mg, src_RWG_numbers, rowIndexToColumnIndexes, test_RWG_numbers = chunk_of_Mg_CSR(cubesNumbers, chunkNumber, ELEM_TYPE, Z_TMP_ELEM_TYPE, LIB_G2C, pathToReadFrom, cubeNumber_to_chunkNumber)
File "/home/ws/App/Puma-EM/code/FMM_precond.py", line 175, in chunk_of_Mg_CSR
Mg_tmp, Mg_q_array = MgPreconditionerComputationPerCube(cube, list_cubes_with_neighbors, list_Z_tmp, pathToReadFrom, cubeNumber_to_chunkNumber, ELEM_TYPE, Z_TMP_ELEM_TYPE, LIB_G2C)
File "/home/ws/App/Puma-EM/code/FMM_precond.py", line 144, in MgPreconditionerComputationPerCube
Y_CFIE_near_local = computeMyPinvCC(Z_local_2, LIB_G2C)
File "/home/ws/App/Puma-EM/code/myPseudoInv.py", line 108, in computeMyPinvCC
extra_compile_args = ['-O3', '-pthread', '-w', '-gfortran'])
File "/usr/lib/python2.7/site-packages/scipy/weave/inline_tools.py", line 355, in inline
**kw)
File "/usr/lib/python2.7/site-packages/scipy/weave/inline_tools.py", line 482, in compile_function
verbose=verbose, **kw)
File "/usr/lib/python2.7/site-packages/scipy/weave/ext_tools.py", line 367, in compile
verbose = verbose, **kw)
File "/usr/lib/python2.7/site-packages/scipy/weave/build_tools.py", line 272, in build_extension
setup(name = module_name, ext_modules = [ext],verbose=verb)
File "/usr/lib/python2.7/site-packages/numpy/distutils/core.py", line 186, in setup
return old_setup(**new_attr)
File "/usr/lib/python2.7/distutils/core.py", line 169, in setup
raise SystemExit, "error: " + str(msg)
scipy.weave.build_tools.CompileError: error: Command "g++ -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I./code/MoM/lapack/ -I. -I/usr/lib/python2.7/site-packages/scipy/weave -I/usr/lib/python2.7/site-packages/scipy/weave/scxx -I/usr/lib/python2.7/site-packages/scipy/weave/blitz -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c /usr/lib/python2.7/site-packages/scipy/weave/scxx/weave_imp.cpp -o /tmp/root/python27_intermediate/compiler_df5fd4482a0f36c64df244df1d21066e/usr/lib/python2.7/site-packages/scipy/weave/scxx/weave_imp.o -O3 -pthread -w -gfortran" failed with exit status 1
Похоже, он опцию -gfortran считает за «уровень отладки»... Подскажите пожалуйста, как исправить.
(собирал раньше - была одна ошибка, попробовал скрипты сборки для всех дистрибутивов - там чинить ещё сложнее, поставил обратно арч - теперь ошибка другая)