This thread is locked.Only browsing is available.
Top Page > Browsing
error on make TranMain with Ubuntu 14.04 LTS
Date: 2016/10/05 07:00
Name: Diego   <diegocastillovi@gmail.com>

Dear all:

I'm trying to generate TranMain with OpenMX 3.7.6-1 on Ubuntu 14.04 LTS and shows me this error using the command "make TranMain" on "source" directory:
---
mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -c TranMain.c
TranMain.c: In function eMTRAN_Read_Tran_HSf:
TranMain.c:176:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(iv, sizeof(int),4,fp);
^
TranMain.c:189:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(v,sizeof(double),3,fp);
^
TranMain.c:203:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(iv, sizeof(int),1,fp);
^
TranMain.c:209:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(iv, sizeof(int),3,fp);
^
TranMain.c:221:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(iv, sizeof(int),3,fp);
^
TranMain.c:233:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(iv, sizeof(int),3,fp);
^
TranMain.c:245:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(TRAN_region,sizeof(int),atomnum+1,fp);
^
TranMain.c:250:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(TRAN_Original_Id,sizeof(int),atomnum+1,fp);
^
TranMain.c:257:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(WhatSpecies, sizeof(int), atomnum+1, fp);
^
TranMain.c:266:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(Spe_Total_CNO, sizeof(int), SpeciesNum, fp);
^
TranMain.c:269:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(FNAN,sizeof(int), atomnum+1,fp);
^
TranMain.c:277:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(&Max_FSNAN,sizeof(int),1,fp);
^
TranMain.c:278:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(&ScaleSize,sizeof(double),1,fp);
^
TranMain.c:291:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(natn[i],sizeof(int),size1,fp);
^
TranMain.c:307:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(ncn[i],sizeof(int),size1,fp);
^
TranMain.c:320:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(ia_vec,sizeof(int),size1,fp);
^
TranMain.c:377:11: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(OLP[k][Gc_AN][h_AN][i],sizeof(double), tno1, fp);
^
TranMain.c:428:11: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(H[k][Gc_AN][h_AN][i],sizeof(double),tno1,fp);
^
TranMain.c:442:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(WhatSpecies_e[iside], sizeof(int), atomnum_e[iside]+1, fp);
^
TranMain.c:451:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(Spe_Total_CNO_e[iside], sizeof(int), SpeciesNum_e[iside], fp);
^
TranMain.c:454:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(FNAN_e[iside], sizeof(int), atomnum_e[iside]+1, fp);
^
TranMain.c:456:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(&Max_FSNAN_e[iside], sizeof(int), 1, fp);
^
TranMain.c:457:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(&ScaleSize_e[iside], sizeof(double),1, fp);
^
TranMain.c:466:12: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(natn_e[iside][i],sizeof(int),size1,fp);
^
TranMain.c:474:12: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(ncn_e[iside][i],sizeof(int),size1,fp);
^
TranMain.c:479:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(ia_vec,sizeof(int),size1,fp);
^
TranMain.c:531:13: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(OLP_e[iside][k][Gc_AN][h_AN][i],sizeof(double),tno1,fp);
^
TranMain.c:574:13: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(H_e[iside][k][Gc_AN][h_AN][i],sizeof(double),tno1,fp);
^
TranMain.c:608:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(iv, sizeof(int),4,fp);
^
TranMain.c:618:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(v,sizeof(double),3,fp);
^
TranMain.c:643:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(iv, sizeof(int),1,fp);
^
TranMain.c:649:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(iv, sizeof(int),3,fp);
^
TranMain.c:658:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(iv, sizeof(int),3,fp);
^
TranMain.c:667:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(iv, sizeof(int),3,fp);
^
TranMain.c:676:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(TRAN_region,sizeof(int),atomnum+1,fp);
^
TranMain.c:681:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(TRAN_Original_Id,sizeof(int),atomnum+1,fp);
^
TranMain.c:688:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(WhatSpecies, sizeof(int), atomnum+1, fp);
^
TranMain.c:691:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(Spe_Total_CNO, sizeof(int), SpeciesNum, fp);
^
TranMain.c:694:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(FNAN,sizeof(int), atomnum+1,fp);
^
TranMain.c:696:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(&Max_FSNAN,sizeof(int),1,fp);
^
TranMain.c:697:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(&ScaleSize,sizeof(double),1,fp);
^
TranMain.c:706:12: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(natn[i],sizeof(int),size1,fp);
^
TranMain.c:714:12: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(ncn[i],sizeof(int),size1,fp);
^
TranMain.c:719:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(ia_vec,sizeof(int),size1,fp);
^
TranMain.c:750:18: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(OLP[k][Gc_AN][h_AN][i],sizeof(double), tno1, fp);
^
TranMain.c:773:11: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(&vtmp[0],sizeof(double),tno1,fp);
^
TranMain.c:790:12: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(WhatSpecies_e[iside], sizeof(int), atomnum_e[iside]+1, fp);
^
TranMain.c:793:12: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(Spe_Total_CNO_e[iside], sizeof(int), SpeciesNum_e[iside], fp);
^
TranMain.c:796:12: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(FNAN_e[iside], sizeof(int), atomnum_e[iside]+1, fp);
^
TranMain.c:798:12: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(&Max_FSNAN_e[iside], sizeof(int), 1, fp);
^
TranMain.c:799:12: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(&ScaleSize_e[iside], sizeof(double),1, fp);
^
TranMain.c:808:7: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(natn_e[iside][i],sizeof(int),size1,fp);
^
TranMain.c:816:7: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(ncn_e[iside][i],sizeof(int),size1,fp);
^
TranMain.c:821:12: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(ia_vec,sizeof(int),size1,fp);
^
TranMain.c:852:13: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(OLP_e[iside][k][Gc_AN][h_AN][i],sizeof(double),tno1,fp);
^
TranMain.c:875:13: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(&vtmp[0],sizeof(double),tno1,fp);
^
mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -c TRAN_Read.c
TRAN_Read.c: In function eTRAN_Read_doublef:
TRAN_Read.c:27:8: warning: ignoring return value of efgetsf, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, LEN,fp);
^
TRAN_Read.c: In function eTRAN_Read_dcomplexf:
TRAN_Read.c:71:8: warning: ignoring return value of efgetsf, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, LEN,fp);
^
TRAN_Read.c: In function eTRAN_FRead2_binary_doublef:
TRAN_Read.c:116:9: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(iv,sizeof(int),2,fp);
^
TRAN_Read.c:127:12: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(iv,sizeof(int),3,fp);
^
TRAN_Read.c:136:12: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result]
fread(v,sizeof(double),i2-i1+1,fp);
^
mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -c Inputtools.c
Inputtools.c: In function einput_lastf:
Inputtools.c:522:8: warning: ignoring return value of efgetsf, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf,size,fp);
^
Inputtools.c:523:8: warning: ignoring return value of efgetsf, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf,size,fp);
^
mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -c TRAN_Set_Value.c
mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -c TRAN_Calc_SurfGreen.c
mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -c TRAN_Calc_SelfEnergy.c
mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -c TRAN_Calc_CentGreen.c
mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -c TRAN_Calc_OneTransmission.c
mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -c Lapack_LU_inverse.c
mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -c TRAN_Print.c
mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -c TRAN_Distribute_Node.c
mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -c Make_Comm_Worlds.c
mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source TranMain.o TRAN_Read.o Inputtools.o TRAN_Set_Value.o TRAN_Calc_SurfGreen.o TRAN_Calc_SelfEnergy.o TRAN_Calc_CentGreen.o TRAN_Calc_OneTransmission.o Lapack_LU_inverse.o TRAN_Print.o TRAN_Distribute_Node.o Make_Comm_Worlds.o -L/usr/local/lib -lfftw3 -llapack -lblas -lg2c -static -lm -o TranMain
gcc: error: TranMain.o: No existe el archivo o el directorio
gcc: error: TRAN_Read.o: No existe el archivo o el directorio
gcc: error: Inputtools.o: No existe el archivo o el directorio
gcc: error: TRAN_Set_Value.o: No existe el archivo o el directorio
gcc: error: TRAN_Calc_SurfGreen.o: No existe el archivo o el directorio
gcc: error: TRAN_Calc_SelfEnergy.o: No existe el archivo o el directorio
gcc: error: TRAN_Calc_CentGreen.o: No existe el archivo o el directorio
gcc: error: TRAN_Calc_OneTransmission.o: No existe el archivo o el directorio
gcc: error: Lapack_LU_inverse.o: No existe el archivo o el directorio
gcc: error: TRAN_Print.o: No existe el archivo o el directorio
gcc: error: TRAN_Distribute_Node.o: No existe el archivo o el directorio
gcc: error: Make_Comm_Worlds.o: No existe el archivo o el directorio
make: *** [TranMain] Error 1
---

Any idea how to solve this, did i forgot to install a package?, any idea anyone?

Thank You.
ƒƒ“ƒe
Page: [1]