error on make DosMain with Ubuntu 14.04 LTS |
- Date: 2016/10/05 06:57
- Name: Diego
<diegocastillovi@gmail.com>
- Dear all:
I'm trying to generate DosMain with OpenMX 3.7.6-1 on Ubuntu 14.04 LTS and shows me this error using the command "make DosMain" on "source" directory: --- mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -o DosMain.o -c DosMain.c DosMain.c: In function einput_file_egf: DosMain.c:2410:8: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf( fp, "%d", &(*WhatSpecies)[i]); ^ DosMain.c:2426:8: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf( fp, "%d", &(*Spe_Total_CNO)[i]); ^ DosMain.c:2450:10: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d",&(*Spe_Num_CBasis)[i][j]); ^ DosMain.c:2475:10: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf( fp, "%lf %lf", &(*Angle0_Spin)[i],&(*Angle0_Spin)[i]); ^ DosMain.c:2514:8: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf( fp, "%d", &(*WhatSpecies)[i]); ^ DosMain.c:2530:8: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf( fp, "%d", &(*Spe_Total_CNO)[i]); ^ DosMain.c:2554:10: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d",&(*Spe_Num_CBasis)[i][j]); ^ DosMain.c:2579:10: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf( fp, "%lf %lf", &(*Angle0_Spin)[i],&(*Angle0_Spin)[i]); ^ DosMain.c:2602:14: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d%d%d",&i1,&j1,&k1); ^ DosMain.c:2613:9: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf",&(*ko)[spin][i1][j1][k1][ie-*iemin]); ^ DosMain.c: In function einput_file_evf: DosMain.c:2688:12: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d",&Msize1[spin][GA_AN]); ^ DosMain.c:2697:14: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d", &j); ^ DosMain.c:2698:14: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf",&EigenE[spin][GA_AN][n]); ^ DosMain.c:2702:9: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf",&PDOS[spin][GA_AN][n][i]); ^ DosMain.c:2742:10: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %d",&Msize1[0][GA_AN],&Msize1[1][GA_AN]); ^ DosMain.c:2754:12: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d", &j); ^ DosMain.c:2755:12: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf",&EigenE[0][GA_AN][n],&EigenE[1][GA_AN][n]); ^ DosMain.c:2760:14: warning: ignoring return value of efscanff, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf",&PDOS[0][GA_AN][n][i],&PDOS[1][GA_AN][n][i]); ^ DosMain.c:2816:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result] fread(i_vec,sizeof(int),3,fp); ^ DosMain.c:2831:10: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result] fread(fSD,sizeof(float),tnoA,fp); ^ DosMain.c:2869:13: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result] fread(i_vec,sizeof(int),3,fp); ^ DosMain.c:2884:8: warning: ignoring return value of efreadf, declared with attribute warn_unused_result [-Wunused-result] fread(fSD,sizeof(float),2*tnoA,fp); ^ DosMain.c: In function einput_mainf: DosMain.c:2960:12: warning: ignoring return value of efgetsf, declared with attribute warn_unused_result [-Wunused-result] fgets(buf,1000,stdin); sscanf(buf,"%d",method); ^ DosMain.c:2966:10: warning: ignoring return value of efgetsf, declared with attribute warn_unused_result [-Wunused-result] fgets(buf,1000,stdin); sscanf(buf,"%lf",gaussian); *gaussian = *gaussian/eV2Hartree; ^ DosMain.c:2970:8: warning: ignoring return value of efgetsf, declared with attribute warn_unused_result [-Wunused-result] fgets(buf,1000,stdin);sscanf(buf,"%d",todo); ^ DosMain.c:2981:12: warning: ignoring return value of efgetsf, declared with attribute warn_unused_result [-Wunused-result] fgets(buf,1000,stdin); ^ 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 malloc_multidimarray.c mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -o Tetrahedron_Blochl.o -c Tetrahedron_Blochl.c mpicc -openmp -O3 -I/usr/local/include -I./liberi-091216/source -o DosMain DosMain.o Inputtools.o malloc_multidimarray.o Tetrahedron_Blochl.o -lm gcc: error: Inputtools.o: No existe el archivo o el directorio gcc: error: malloc_multidimarray.o: No existe el archivo o el directorio make: *** [DosMain] Error 1 ---
Any idea how to solve this, did i forgot to install a package?, any idea anyone?
Thank You.
| |