parallel compilation problem |
- Date: 2008/07/26 20:46
- Name: Xun Yuan
<yuanustc@mail.ustc.edu.cn>
- Dear professor:
Sorry to bother you again.As a beginner for Linux, I got across the serial compilation with a super effort but also got errors following when did the parallel compilation.
When the modification of makefile is #mpicc = /export/mpi/mpich_intel/bin/mpicc CC = gcc -O3 -Dnompi -I/usr/include -I/export/home/xyuan/include LIB = -L/export/home/xyuan/lib -llapack -lblas -lfftw3 -lg2c -static, I can get across the compilation and pass the checkout for examples.
But when the modification of makefile is mpicc = /export/mpi/mpich_intel/bin/mpicc CC = ${mpicc} -O3 -DTRAN -I/usr/include -I/export/home/xyuan/include LIB = -L/export/home/xyuan/lib -llapack -lblas -lfftw3 -lg2c -static, I get errors following:
TRAN_Calc_SurfGreen.o(.text+0x6ea): In function `TRAN_Calc_SurfGreen_Normal': /export/home/xyuan/openmx3.3/source/TRAN_Calc_SurfGreen.c:239: undefined reference to `f2c_zgemm' TRAN_Calc_SurfGreen.o(.text+0x736):/export/home/xyuan/openmx3.3/source/TRAN_Calc_SurfGreen.c:240: undefined reference to `f2c_zgemm' TRAN_Calc_SurfGreen.o(.text+0x80c):/export/home/xyuan/openmx3.3/source/TRAN_Calc_SurfGreen.c:250: undefined reference to `f2c_zgemm' TRAN_Calc_SurfGreen.o(.text+0x858):/export/home/xyuan/openmx3.3/source/TRAN_Calc_SurfGreen.c:251: undefined reference to `f2c_zgemm' TRAN_Calc_SurfGreen.o(.text+0x8a4):/export/home/xyuan/openmx3.3/source/TRAN_Calc_SurfGreen.c:252: undefined reference to `f2c_zgemm' TRAN_Calc_SurfGreen.o(.text+0x97c):/export/home/xyuan/openmx3.3/source/TRAN_Calc_SurfGreen.c:260: more undefined references to `f2c_zgemm' follow TRAN_Output_HKS_Write_Grid.o(.text+0x395): In function `TRAN_Output_HKS_Write_Grid': /export/home/xyuan/openmx3.3/source/TRAN_Output_HKS_Write_Grid.c:101: undefined reference to `lam_mpi_double' TRAN_Output_HKS_Write_Grid.o(.text+0x646):/export/home/xyuan/openmx3.3/source/TRAN_Output_HKS_Write_Grid.c:92: undefined reference to `lam_mpi_double' TRAN_Output_HKS_Write_Grid.o(.text+0x811):/export/home/xyuan/openmx3.3/source/TRAN_Output_HKS_Write_Grid.c:172: undefined reference to `lam_mpi_double' TRAN_Output_HKS_Write_Grid.o(.text+0x880):/export/home/xyuan/openmx3.3/source/TRAN_Output_HKS_Write_Grid.c:168: undefined reference to `lam_mpi_double' RecursionS_H.o(.text+0x1990): In function `RecursionS_H': : undefined reference to `lam_mpi_int' RecursionS_H.o(.text+0x19fb): In function `RecursionS_H': : undefined reference to `lam_mpi_int' RecursionS_H.o(.text+0x1bc0): In function `RecursionS_H': : undefined reference to `lam_mpi_double' RecursionS_H.o(.text+0x2383): In function `RecursionS_H': : undefined reference to `lam_mpi_int' RecursionS_H.o(.text+0x23f4): In function `RecursionS_H': : undefined reference to `lam_mpi_int' RecursionS_H.o(.text+0x25ae): In function `RecursionS_H': : undefined reference to `lam_mpi_double' RecursionS_H.o(.text+0x3609): In function `RecursionS_H': : undefined reference to `lam_mpi_double' RecursionS_H.o(.text+0x37e2): In function `RecursionS_H': : undefined reference to `lam_mpi_double' RecursionS_H.o(.text+0xbd83): In function `T_Conserve_MP': : undefined reference to `lam_mpi_double' RecursionS_H.o(.text+0xbd89): In function `T_Conserve_MP': : undefined reference to `lam_mpi_sum' RecursionS_H.o(.text+0xbda9): In function `T_Conserve_MP': : undefined reference to `lam_mpi_double' RecursionS_H.o(.text+0xbdaf): In function `T_Conserve_MP': : undefined reference to `lam_mpi_sum' RecursionS_H.o(.text+0xf9ea): In function `Calc_DM_with_S': : undefined reference to `lam_mpi_double' RecursionS_H.o(.text+0xf9f0): In function `Calc_DM_with_S': : undefined reference to `lam_mpi_sum' RecursionS_H.o(.text+0xfa49): In function `Calc_DM_with_S': : undefined reference to `lam_mpi_double' RecursionS_H.o(.text+0xfa4f): In function `Calc_DM_with_S': : undefined reference to `lam_mpi_sum' make: *** [openmx] Error 1
sg`mjr@enq@`ssdmshnmI
![e](./img/mente.gif)
| |