Hi
I am compiling exciting boron for ubuntu 14.04 64-bit.
I installed gfortran, Lapack/Blas (libblas-dev, libatlas-dev, liblapack-dev) and xsltproc. In setup.pl, I selected gfortran as the compiler and turned on MPI and SMP. When running make, I receive the following error:
zfinp.o: In function `zfinp_._omp_fn.0':
zfinp.f90:(.text+0xc): undefined reference to `omp_get_num_threads'
zfinp.f90:(.text+0x1a): undefined reference to `omp_get_thread_num'
zfinp.f90:(.text+0x126): undefined reference to `GOMP_barrier'
zfinp.f90:(.text+0x12f): undefined reference to `GOMP_atomic_start'
zfinp.o: In function `zfinp_':
zfinp.f90:(.text+0x1dd): undefined reference to `GOMP_parallel_start'
zfinp.f90:(.text+0x1ec): undefined reference to `GOMP_parallel_end'
zfinp.o: In function `zfinp_._omp_fn.0':
zfinp.f90:(.text+0x159): undefined reference to `GOMP_atomic_end'
getevecfv.o: In function `getevecfv_':
getevecfv.f90:(.text+0x1cd): undefined reference to `GOMP_critical_start'
getevecfv.f90:(.text+0xb67): undefined reference to `GOMP_critical_end'
seceqnhf.o: In function `seceqnhf_':
seceqnhf.f90:(.text+0xa5): undefined reference to `GOMP_critical_start'
seceqnhf.f90:(.text+0x134): undefined reference to `GOMP_critical_end'
atom.o: In function `atom_._omp_fn.0':
atom.f90:(.text+0x25): undefined reference to `omp_get_num_threads'
atom.f90:(.text+0x2c): undefined reference to `omp_get_thread_num'
atom.o: In function `atom_':
atom.f90:(.text+0x1273): undefined reference to `GOMP_parallel_start'
atom.f90:(.text+0x1285): undefined reference to `GOMP_parallel_end'
atom.o: In function `atom_._omp_fn.0':
atom.f90:(.text+0x105): undefined reference to `GOMP_barrier'
DIISseceqnfv.o: In function `diisseceqnfv_':
DIISseceqnfv.F90:(.text+0x5eb): undefined reference to `GOMP_critical_start'
DIISseceqnfv.F90:(.text+0x612): undefined reference to `GOMP_critical_end'
rdmminn.o: In function `rdmminn_._omp_fn.0':
rdmminn.f90:(.text+0xc): undefined reference to `omp_get_num_threads'
rdmminn.f90:(.text+0x1a): undefined reference to `omp_get_thread_num'
rdmminn.f90:(.text+0x4f): undefined reference to `GOMP_critical_start'
rdmminn.f90:(.text+0xc0): undefined reference to `GOMP_critical_end'
rdmminn.f90:(.text+0xd7): undefined reference to `GOMP_barrier'
rdmminn.o: In function `rdmminn_':
rdmminn.f90:(.text+0x2f0): undefined reference to `GOMP_parallel_start'
rdmminn.f90:(.text+0x2fc): undefined reference to `GOMP_parallel_end'
zrhogp.o: In function `zrhogp_._omp_fn.0':
zrhogp.f90:(.text+0x40): undefined reference to `omp_get_num_threads'
zrhogp.f90:(.text+0x48): undefined reference to `omp_get_thread_num'
zrhogp.o: In function `zrhogp_':
zrhogp.f90:(.text+0x6f6): undefined reference to `GOMP_parallel_start'
zrhogp.f90:(.text+0x708): undefined reference to `GOMP_parallel_end'
collect2: error: ld returned 1 exit status
make[3]: *** [exciting] Error 1
make[3]: Leaving directory `/home/manzoor/Desktop/exciting/build/mpi'
make[2]: *** [bin] Error 2
make[2]: Leaving directory `/home/manzoor/Desktop/exciting/build/mpi'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/manzoor/Desktop/exciting/build/mpi'
make: *** [mpi] Error 2
Do you have any suggestions on how to fix this error?
Thanks,
kazem.manzoor