I'm trying to compile abinit 7.0.5 in my mac which is 10.8.2. I'm able to get around the problem of compiling libxc, but after waiting for an hour I got the following error
Code: Select all
duplicate symbol ___m_profiling_MOD_mo_c1 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_l7 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_l6 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_l5 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_l4 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_l3 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_l2 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_l1 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_i7 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_i6 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_i5 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_i4 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_i3 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_i2 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_i1 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_sp7 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_sp6 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_sp5 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_sp4 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_sp3 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_sp2 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_sp1 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_dp7 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_dp6 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_dp5 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_dp4 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_dp3 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_dp2 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_mo_dp1 in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_memocc_internal in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_r_nan in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_d_nan in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_memocc_report in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_memocc_set_memory_limit in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
duplicate symbol ___m_profiling_MOD_memocc_set_state in:
../../src/11_memory_mpi/lib11_memory_mpi.a(m_profiling.o)
/Users/tawinancheiwchanchamnangij/Desktop/abinit-7.0.5/fallbacks/exports/lib/libabinit.a(m_profiling.o)
ld: 35 duplicate symbols for architecture x86_64
collect2: error: ld returned 1 exit status
make[3]: *** [abinit] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I still have this exactly same problem when I follow the step in this topic viewtopic.php?f=2&t=1067 by mlazar (thank you)
Could you guys please suggest the way to fix this problem? Thank you.
Tawinan