Проблемы со связыванием для библиотек BLAS, Lapack, Gomp (64 бита)

Я пытался скомпилировать мою C ++ — программу с помощью следующей команды:

g++ -g -O0 -fopenmp -L/home/donkokse/development/workspace -o "NS_Solver" $(OBJS) $(USER_OBJS) $(LIBS)

с

LIBS := -lgomp /usr/lib/liblapack.so /usr/lib/libblas.so /home/harry/development/libpardiso412-GNU443-X86-64.so

под Ubuntu 13.04, 64bit. Проблема в том, что я все еще получаю следующие сообщения об ошибках:

/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `_gfortran_concat_string'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dtrmm_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `lsame_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dlartg_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dswap_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dgemm_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dger_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `GOMP_loop_dynamic_next'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `GOMP_single_start'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dgels_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dlartv_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `zscal_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `zlaev2_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `sswap_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `GOMP_parallel_end'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `izamax_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `zgetrf_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dsteqr_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `slaswp_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dtrsv_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dsyr_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `omp_get_thread_num_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `zsyr_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `zgeru_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `sscal_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dlaswp_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `zgemm_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dgeev_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `GOMP_atomic_end'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dscal_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `zdscal_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `ilaenv_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `zgemv_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dgetrf_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `isamax_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `zlacgv_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `omp_get_num_threads_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dsyevr_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `zpotf2_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `sgemm_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `omp_get_num_threads'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dsyr2k_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `ssyr_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dsytri_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `sgetrf_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `GOMP_critical_name_start'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dtrsm_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dlascl_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `idamax_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dpotrf_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dorgtr_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `GOMP_loop_end_nowait'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `GOMP_loop_end'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dsytd2_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `GOMP_critical_start'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dsytrf_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `zher_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dggev_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `omp_get_wtime_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `zrot_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `GOMP_critical_name_end'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `_gfortran_exit_i4'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dlatrd_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `GOMP_critical_end'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dlapy2_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `zlaswp_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `GOMP_atomic_start'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `zswap_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `xerbla_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dormqr_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `GOMP_barrier'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dgeqrf_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dgemv_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `sgemv_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dsterf_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `GOMP_parallel_start'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dlamch_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `ztrsm_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `sger_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `strsm_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `_gfortran_os_error'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `omp_get_thread_num'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dgetrs_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `GOMP_loop_dynamic_start'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dgetri_'
/home/harry/development/libpardiso412-GNU443-X86-64.so: undefined reference to `dlansy_'
collect2: error: ld returned 1 exit status
make: *** [NS_Solver] Error 1

Кажется, найти библиотеки. Я пробовал разные вещи, такие как переустановка библиотек, изменение порядка библиотек, проверка, действительно ли у меня есть 64-битные версии

objdump -a /usr/lib/libblas.so

а также предложения в разделе «Рекурсивные ссылки библиотек» на странице
http://www.ibm.com/developerworks/aix/library/au-portfortan.html#ur, хотя группировка не работает для g ++.
Что еще может быть не так? Я также попытался скомпилировать оптимизированную версию openMP для установки Theano (хотя другой проект). Может быть, это как-то портит мой openMP? Как я могу это проверить? Я хотел бы снова удалить эту оптимизированную версию и установить ее из менеджера пакетов synaptic. Как я могу это сделать?

1

Решение

Задача ещё не решена.

Другие решения

Других решений пока нет …

По вопросам рекламы [email protected]