This thread is locked.Only browsing is available.
Top Page > Browsing
comile error in openmx3.4
Date: 2008/07/31 07:08
Name: Jaber Jahanbin   <jsardroodi@azaruniv.edu>

Dear Openmx3.4 professionals!
In comilation of parallel version of openmx3.4 on a fedora 9 machin, with AMD
phenom quadcore processor, I obtained errors. The followings are a small part! of it. Have
you any suggestions?
...
Total_Energy.o: In function `Total_Energy':
Total_Energy.c:(.text+0x3fec): undefined reference to `MPI_Comm_size'
Total_Energy.c:(.text+0x3fff): undefined reference to `MPI_Comm_rank'
Total_Energy.c:(.text+0x4153): undefined reference to `MPI_Allreduce'
Total_Energy.c:(.text+0x41d4): undefined reference to `MPI_Recv'
Total_Energy.c:(.text+0x4977): undefined reference to `MPI_Isend'
Total_Energy.c:(.text+0x4dce): undefined reference to `MPI_Barrier'
Total_Energy.c:(.text+0x4dfa): undefined reference to `MPI_Allreduce'
Total_Energy.c:(.text+0x550d): undefined reference to `MPI_Comm_size'
Total_Energy.c:(.text+0x5520): undefined reference to `MPI_Comm_rank'
Total_Energy.c:(.text+0x5a83): undefined reference to `MPI_Allreduce'
Total_Energy.c:(.text+0x5fbd): undefined reference to `MPI_Comm_size'
Total_Energy.c:(.text+0x5fd0): undefined reference to `MPI_Comm_rank'
Total_Energy.c:(.text+0x6121): undefined reference to `MPI_Allreduce'
Total_Energy.c:(.text+0x6167): undefined reference to `MPI_Comm_size'
Total_Energy.c:(.text+0x617a): undefined reference to `MPI_Comm_rank'
Total_Energy.c:(.text+0x62cd): undefined reference to `MPI_Allreduce'
Opt_Contraction.o: In function `D_ACntCoes':
Opt_Contraction.c:(.text+0x1adf): undefined reference to `MPI_Allreduce'
Opt_Contraction.o: In function `Change_CntCoes':
Opt_Contraction.c:(.text+0x1d56): undefined reference to `MPI_Comm_size'
Opt_Contraction.c:(.text+0x1d69): undefined reference to `MPI_Comm_rank'
Opt_Contraction.c:(.text+0x22da): undefined reference to `MPI_Isend'
Opt_Contraction.c:(.text+0x25ae): undefined reference to `MPI_Isend'
Opt_Contraction.c:(.text+0x26d1): undefined reference to `MPI_Recv'
Opt_Contraction.c:(.text+0x26fa): undefined reference to `MPI_Wait'
Opt_Contraction.c:(.text+0x274a): undefined reference to `MPI_Recv'
Opt_Contraction.c:(.text+0x2949): undefined reference to `MPI_Wait'
Opt_Contraction.o: In function `Opt_Contraction':
Opt_Contraction.c:(.text+0x29a0): undefined reference to `MPI_Comm_size'
Opt_Contraction.c:(.text+0x29b3): undefined reference to `MPI_Comm
...
Thank you for your attentions.
メンテ
Page: [1]

Re: comile error in openmx3.4 ( No.1 )
Date: 2008/08/04 17:55
Name: Xiaohui Qu  <xiaohui_qu@163.com>

It seems like that there is a lack of MPI library. Did you drop the -Dnompi option? if it is true, you should compile it with a MPI compiler such as MPICH2.
If you don't want to use distributed memory parallel function, you can compile OpenMX with -Dnompi by GCC compiler. The installation script will try to use a dummy MPI library.
メンテ
Re: comile error in openmx3.4 ( No.2 )
Date: 2008/09/10 10:15
Name: jaber jahanbin  <jsardroodi@azaruniv.edu>

I compiled with and without -Dnompi ,however, I get in both cases the same type errors (undefined references to ...).
メンテ
Re: comile error in openmx3.4 ( No.3 )
Date: 2008/09/24 14:25
Name: Heungsik Kim  <heungsikim@gmail.com>

I failed to reproduce such kind of error message. Maybe it seems that they cannot read the MPI libraries.
How about re-install the MPI? Maybe the installation of MPICH or OpenMPI is broken.

メンテ

Page: [1]