Re: openmx3.7 Installation problem ( No.1 ) |
- Date: 2013/05/24 22:57
- Name: T.V.T. Duy <duytvt@jaist.ac.jp>
- Hi,
Because the C compiler is used for linking, apparently this problem occurred because the C compiler does not know the locations of the Fortran's standard and MPI libraries. As a result, they should be specified explicitly in LIB.
As the first workaround, could you please add the following link options to LIB and try makefile again (FC in "$(FC) $(OBJS) $(STACK) $(LIB) -lm -o openmx" must be set back to CC):
LIB = ... -lmpi_f77 -lmpi_f90 -lifcore
If this does not work, please show your settings of CC, FC, and LIB so that we can suggest other tips.
Best regards, T.V.T. Duy
|
Re: openmx3.7 Installation problem ( No.2 ) |
- Date: 2013/05/25 05:37
- Name: SH
- Dear T.V.T. Duy,
I really appreciate your reply.
It works correctly and I install the program without any problems.
Thanks again!
Best regards, SH
|
Re: openmx3.7 Installation problem ( No.3 ) |
- Date: 2013/05/26 01:04
- Name: Tamal Goswami
- Dear all,
While installing openmx 3.7 I am facing the following error message
Cluster_DFT_ON2.c:(.text+0x6dfc): undefined reference to `omp_get_thread_num' Cluster_DFT_ON2.c:(.text+0x6e03): undefined reference to `omp_get_num_threads' Cluster_DFT_ON2.c:(.text+0x6e0f): undefined reference to `omp_get_num_procs' Cluster_DFT_ON2.c:(.text+0x7896): undefined reference to `omp_get_thread_num' Cluster_DFT_ON2.c:(.text+0x789d): undefined reference to `omp_get_num_threads' Cluster_DFT_ON2.c:(.text+0x78a4): undefined reference to `omp_get_num_procs' Cluster_DFT_ON2.c:(.text+0x7ae3): undefined reference to `omp_get_thread_num' Cluster_DFT_ON2.c:(.text+0x7aef): undefined reference to `omp_get_num_threads' Cluster_DFT_ON2.c:(.text+0x7afb): undefined reference to `omp_get_num_procs' Cluster_DFT_ON2.c:(.text+0x85b7): undefined reference to `omp_get_thread_num' Cluster_DFT_ON2.c:(.text+0x85be): undefined reference to `omp_get_num_threads' Cluster_DFT_ON2.c:(.text+0x85c6): undefined reference to `omp_get_num_procs' Cluster_DFT_ON2.c:(.text+0x88c8): undefined reference to `omp_get_thread_num' Cluster_DFT_ON2.c:(.text+0x88d4): undefined reference to `omp_get_num_threads' Cluster_DFT_ON2.c:(.text+0x88e0): undefined reference to `omp_get_num_procs' Cluster_DFT_ON2.c:(.text+0x9061): undefined reference to `omp_get_thread_num' Cluster_DFT_ON2.c:(.text+0x906d): undefined reference to `omp_get_num_threads' Cluster_DFT_ON2.c:(.text+0x9079): undefined reference to `omp_get_num_procs' ........ ........
Please suggest ways to overcome this difficulty
Best, Tamal
|
Re: openmx3.7 Installation problem ( No.4 ) |
- Date: 2013/05/26 08:34
- Name: T. Ozaki
- Hi,
Please try to add the following compiler option for both the CC and FC:
For gnu compiler -fopenmp
For icc compiler -openmp
For pgi compiler -mp
Disabling the OpenMP parallelism by adding -Dnoomp seems not to work.
Regards,
TO
|
Re: openmx3.7 Installation problem ( No.5 ) |
- Date: 2013/05/29 20:42
- Name: Tamal Goswami <tamal.nbu@gmail.com>
- Respected Professor Ozaki,
Thank you very much for your reply. I can now run OpenMX-3.7 on my machine.
Sincerely, Tamal
|