Bad installation |
- Date: 2006/05/05 06:34
- Name: Pavel B Sorokin
- Dear Dr.Ozaki,
Recently I've succesfully installed OpenMX 3.0 on PowerPC64 under Linux
I have used following makefile: CC = mpicc -O3 -I/usr/local/include -I/home/psorokin/PWSCF/lib/lib -Dfftw2 LIB = -L/home/psorokin/PWSCF/lib/lib/ -lfftw -L/opt/intel/mkl/8.0.1/lib/64 -lmkl_lapack -lmkl_ipf -lguide -L/usr/lib -lpthread
(I removed -static because in the end of installation I have got message ": warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking")
During the installation I've got following warning messages:
Poisson.c(165): warning #188: enumerated type mixed with another type p = fftw_create_plan(Ng3, sgn3, FFTW_ESTIMATE); ^
Poisson.c(210): warning #188: enumerated type mixed with another type p = fftw_create_plan(Ng2, sgn2, FFTW_ESTIMATE); ^
Poisson.c(392): warning #188: enumerated type mixed with another type p = fftw_create_plan(Ng1, sgn1, FFTW_ESTIMATE);
.... mpicc -O3 -I/usr/local/include -I/home/psorokin/PWSCF/lib/lib -Dfftw2 -c Memory_Leak_test.c Memory_Leak_test.c(311): warning #181: argument is incompatible with corresponding format string conversion MD_iter,Used_CPU,(long int)(Used_VSZ),(long int)(Used_RSS)); ^
Memory_Leak_test.c(311): warning #181: argument is incompatible with corresponding format string conversion MD_iter,Used_CPU,(long int)(Used_VSZ),(long int)(Used_RSS)); ^
Memory_Leak_test.c(321): warning #181: argument is incompatible with corresponding format string conversion MD_iter,Used_CPU,(long int)(Used_VSZ),(long int)(Used_RSS)); ^
Memory_Leak_test.c(321): warning #181: argument is incompatible with corresponding format string conversion MD_iter,Used_CPU,(long int)(Used_VSZ),(long int)(Used_RSS)); .... mpicc -O3 -I/usr/local/include -I/home/psorokin/PWSCF/lib/lib -Dfftw2 -g -c -o TRAN_Allocate.o TRAN_Allocate.c TRAN_Allocate.c(63): warning #592: variable "MP" is used before its value is set TRAN_Set_MP(0, atomnum, WhatSpecies, Spe_Total_CNO, &NUM_c, MP); ^
TRAN_Allocate.c(130): warning #592: variable "MP" is used before its value is set TRAN_Set_MP(0, atomnum_e[iside], WhatSpecies_e[iside], Spe_Total_CNO_e[iside], &num[iside], MP); ^
mpicc -O3 -I/usr/local/include -I/home/psorokin/PWSCF/lib/lib -Dfftw2 -g -c -o TRAN_DFT.o TRAN_DFT.c TRAN_DFT.c(264): warning #592: variable "MP" is used before its value is set TRAN_Set_MP(0, atomnum, WhatSpecies, Spe_Total_CNO, &NUM_c, MP); ^
TRAN_DFT.c(628): warning #181: argument is incompatible with corresponding format string conversion printf("\n\ninternal error myid=%d itot=%d itotv=%d\n",myid,itot,itotv); ^
mpicc -O3 -I/usr/local/include -I/home/psorokin/PWSCF/lib/lib -Dfftw2 -g -c -o TRAN_DFT_Dosout.o TRAN_DFT_Dosout.c TRAN_DFT_Dosout.c(266): warning #592: variable "MP" is used before its value is set TRAN_Set_MP(0, atomnum, WhatSpecies, Spe_Total_CNO, &NUM_c, MP); ^ mpicc -O3 -I/usr/local/include -I/home/psorokin/PWSCF/lib/lib -Dfftw2 -g -c -o TRAN_Apply_Bias2e.o TRAN_Apply_Bias2e.c mpicc -O3 -I/usr/local/include -I/home/psorokin/PWSCF/lib/lib -Dfftw2 -g -c -o TRAN_FFT_interpolation3c.o TRAN_FFT_interpolation3c.c TRAN_FFT_interpolation3c.c(117): warning #188: enumerated type mixed with another type p = fftw_create_plan(n_in, isign, FFTW_ESTIMATE); ^ .... mpicc -O3 -I/usr/local/include -I/home/psorokin/PWSCF/lib/lib -Dfftw2 -g -c -o TRAN_Set_SurfOverlap.o TRAN_Set_SurfOverlap.c TRAN_Set_SurfOverlap.c(92): warning #592: variable "MP" is used before its value is set TRAN_Set_MP(0, atomnum_e[iside], WhatSpecies_e[iside], Spe_Total_CNO_e[iside], &NUM, MP); .... mpicc -O3 -I/usr/local/include -I/home/psorokin/PWSCF/lib/lib -Dfftw2 -g -c -o TRAN_Poisson.o TRAN_Poisson.c TRAN_Poisson.c(192): warning #188: enumerated type mixed with another type p = fftw_create_plan(Ngrid1,1,FFTW_ESTIMATE); ^
TRAN_Poisson.c(352): warning #188: enumerated type mixed with another type p = fftw_create_plan(Ngrid1, -1, FFTW_ESTIMATE); ^ ....
Tests of single molecule are going OK (C60, Methane) but bulk systems are completely wrong. For example I've tried to calculate test Graphite4.dat and I have got following information in the .out file
SCF= 1 NormRD= 1.000000000000 Uele= -8.328209977201 SCF= 2 NormRD= 117.247525494711 Uele= -23.121324302311 SCF= 3 NormRD= 107.246122926548 Uele= -23.121589710989 SCF= 4 NormRD= 103.905041745283 Uele= -23.121879479340 SCF= 5 NormRD= 116.715932046592 Uele= -23.122019168185 SCF= 6 NormRD= 108.960353300060 Uele= -23.124728744952 SCF= 7 NormRD= 102.860518575906 Uele= -23.371884898502 SCF= 8 NormRD= 117.662243091909 Uele= -23.344695536405 SCF= 9 NormRD= 104.364852470941 Uele= -23.291968454703 SCF= 10 NormRD= 96.647623466883 Uele= -23.417213693021 SCF= 11 NormRD= 112.334841260325 Uele= -23.366815994198 SCF= 12 NormRD= 107.092488187564 Uele= -23.371461317446 SCF= 13 NormRD= 89.885821607466 Uele= -23.396662225910 SCF= 14 NormRD= 105.051658839603 Uele= -23.353857776312 SCF= 15 NormRD= 88.165454644081 Uele= -23.371804548403 SCF= 16 NormRD= 112.627153454693 Uele= -23.403992308777 SCF= 17 NormRD= 82.298342135892 Uele= -23.371752844883 SCF= 18 NormRD= 69.197719490241 Uele= -23.477924594956 SCF= 19 NormRD= 105.636044706137 Uele= -23.373022227007 SCF= 20 NormRD= 76.682938030309 Uele= -23.387330972539 SCF= 21 NormRD= 80.379543761741 Uele= -23.378902892004 SCF= 22 NormRD= 74.311077301857 Uele= -23.363916230924 SCF= 23 NormRD= 99.971758253256 Uele= -23.337197778518 SCF= 24 NormRD= 77.539644106360 Uele= -23.287369298433 SCF= 25 NormRD= 86.234118885942 Uele= -23.245501909169 SCF= 26 NormRD= 96.407086676516 Uele= -23.223952201508 SCF= 27 NormRD= 86.972621298055 Uele= -23.284498911699 SCF= 28 NormRD= 72.538401693290 Uele= -23.302578606646 SCF= 29 NormRD= 82.343612335315 Uele= -23.300886472078 SCF= 30 NormRD= 0.000000000000 Uele= -23.250771118979
I thought that problem with fftw2.1.5 library, so I've installed fftw3.1.1 and I’ve changed my makefile:
CC = mpicc -O3 -I/usr/local/include -I$(HOME)/include -I/opt/intel/mkl/8.0.1/include LIB = -L$(HOME)/lib -lfftw3 -L/opt/intel/mkl/8.0.1/lib/64 -lmkl_lapack -lmkl_ipf -lguide -L/usr/lib -lpthread
During this installation I've got following warnings:
mpicc -O3 -I/usr/local/include -I/nethome/psorokin/include -I/opt/intel/mkl/8.0.1/include -c Memory_Leak_test.c Memory_Leak_test.c(311): warning #181: argument is incompatible with corresponding format string conversion MD_iter,Used_CPU,(long int)(Used_VSZ),(long int)(Used_RSS)); ^
Memory_Leak_test.c(311): warning #181: argument is incompatible with corresponding format string conversion MD_iter,Used_CPU,(long int)(Used_VSZ),(long int)(Used_RSS)); ^
Memory_Leak_test.c(321): warning #181: argument is incompatible with corresponding format string conversion MD_iter,Used_CPU,(long int)(Used_VSZ),(long int)(Used_RSS)); ^
Memory_Leak_test.c(321): warning #181: argument is incompatible with corresponding format string conversion MD_iter,Used_CPU,(long int)(Used_VSZ),(long int)(Used_RSS)); .... mpicc -O3 -I/usr/local/include -I/nethome/psorokin/include -I/opt/intel/mkl/8.0.1/include -g -c -o TRAN_Allocate.o TRAN_Allocate.c TRAN_Allocate.c(63): warning #592: variable "MP" is used before its value is set TRAN_Set_MP(0, atomnum, WhatSpecies, Spe_Total_CNO, &NUM_c, MP); ^
TRAN_Allocate.c(130): warning #592: variable "MP" is used before its value is set TRAN_Set_MP(0, atomnum_e[iside], WhatSpecies_e[iside], Spe_Total_CNO_e[iside], &num[iside], MP); ^
mpicc -O3 -I/usr/local/include -I/nethome/psorokin/include -I/opt/intel/mkl/8.0.1/include -g -c -o TRAN_DFT.o TRAN_DFT.c TRAN_DFT.c(264): warning #592: variable "MP" is used before its value is set TRAN_Set_MP(0, atomnum, WhatSpecies, Spe_Total_CNO, &NUM_c, MP); ^
TRAN_DFT.c(628): warning #181: argument is incompatible with corresponding format string conversion printf("\n\ninternal error myid=%d itot=%d itotv=%d\n",myid,itot,itotv); ^
mpicc -O3 -I/usr/local/include -I/nethome/psorokin/include -I/opt/intel/mkl/8.0.1/include -g -c -o TRAN_DFT_Dosout.o TRAN_DFT_Dosout.c TRAN_DFT_Dosout.c(266): warning #592: variable "MP" is used before its value is set TRAN_Set_MP(0, atomnum, WhatSpecies, Spe_Total_CNO, &NUM_c, MP); .... mpicc -O3 -I/usr/local/include -I/nethome/psorokin/include -I/opt/intel/mkl/8.0.1/include -g -c -o TRAN_Set_SurfOverlap.o TRAN_Set_SurfOverlap.c TRAN_Set_SurfOverlap.c(92): warning #592: variable "MP" is used before its value is set TRAN_Set_MP(0, atomnum_e[iside], WhatSpecies_e[iside], Spe_Total_CNO_e[iside], &NUM, MP);
But, unfortunately Graphite4.out is bad again:
SCF= 1 NormRD= 1.000000000000 Uele= -8.328209977201 SCF= 2 NormRD= 117.247526383789 Uele= -23.121324302311 SCF= 3 NormRD= 107.246120911022 Uele= -23.121589710921 SCF= 4 NormRD= 103.904570651599 Uele= -23.121879479595 SCF= 5 NormRD= 116.715710755965 Uele= -23.122019171564 SCF= 6 NormRD= 108.955617961415 Uele= -23.124728740528 SCF= 7 NormRD= 96.090023771147 Uele= -23.372116307880 SCF= 8 NormRD= 107.591942163510 Uele= -23.332020324686 SCF= 9 NormRD= 92.518581360667 Uele= -23.310118220260 SCF= 10 NormRD= 123.852188238046 Uele= -23.348691990214 SCF= 11 NormRD= 89.934568029114 Uele= -23.327653433568 SCF= 12 NormRD= 91.342384668563 Uele= -23.276789211650 SCF= 13 NormRD= 93.796245975876 Uele= -23.355185611956 SCF= 14 NormRD= 83.351900887817 Uele= -23.349383982593 SCF= 15 NormRD= 107.317719085466 Uele= -23.423890881401 SCF= 16 NormRD= 94.744896332886 Uele= -23.486502056753 SCF= 17 NormRD= 84.870763071192 Uele= -23.505522707202 SCF= 18 NormRD= 87.341705119117 Uele= -23.495013505268 SCF= 19 NormRD= 98.038362305521 Uele= -23.535335873553 SCF= 20 NormRD= 84.517777433084 Uele= -23.530797339268 SCF= 21 NormRD= 89.420100353428 Uele= -23.539391309593 SCF= 22 NormRD= 99.125838959716 Uele= -23.550268004055 SCF= 23 NormRD= 99.093634499054 Uele= -23.581898546389 SCF= 24 NormRD= 75.145103427485 Uele= -23.576647625233 SCF= 25 NormRD= 69.813281079911 Uele= -23.683503085430 SCF= 26 NormRD= 75.495254871876 Uele= -23.696382201013 SCF= 27 NormRD= 102.410666061286 Uele= -23.610905051588 SCF= 28 NormRD= 92.601819769462 Uele= -23.651617588352 SCF= 29 NormRD= 83.086281349135 Uele= -23.657035807534 SCF= 30 NormRD= 0.000000000000 Uele= -23.599782551611
Please help me!
| |