Hello all,
I was compiling IOAPI with intel2013, but when I make I got this error
the libraries are: hdf51.8.11, netcdf4.5.0
cd /vol6/home/majm/software/ioapi-3.2-master/Linux2_x86_64ifort; ifort -auto -warn notruncated_source -Bstatic -static-intel /vol6/home/majm/software/ioapi-3.2-master/Linux2_x86_64ifort/airs2m3.o -L/vol6/home/majm/software/ioapi-3.2-master/Linux2_x86_64ifort -lioapi -lnetcdff -lnetcdf -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -openmp -Bstatic -o airs2m3
/vol6/home/majm/software/ioapi-3.2-master/Linux2_x86_64ifort/libnetcdf.a(libdispatch_la-derror.o): In function nc_strerror':* *derror.c:(.text+0x24a): undefined reference to
ncmpi_strerror’
derror.c:(.text+0x259): undefined reference to ncmpi_strerror'* */vol6/home/majm/software/ioapi-3.2-master/Linux2_x86_64ifort/libnetcdf.a(libdispatch_la-dfile.o): In function
NC_open’:
dfile.c:(.text+0x39d): undefined reference to MPI_File_open'* *dfile.c:(.text+0x3ff): undefined reference to
MPI_File_read’
dfile.c:(.text+0x447): undefined reference to MPI_File_close'* */vol6/home/majm/software/ioapi-3.2-master/Linux2_x86_64ifort/libnetcdf.a(libnetcdfp_la-ncpdispatch.o): In function
NCP_create’:
ncpdispatch.c:(.text+0xc4): undefined reference to ncmpi_create'* */vol6/home/majm/software/ioapi-3.2-master/Linux2_x86_64ifort/libnetcdf.a(libnetcdfp_la-ncpdispatch.o): In function
NCP_open’:
ncpdispatch.c:(.text+0x17a): undefined reference to ncmpi_open'* *ncpdispatch.c:(.text+0x186): undefined reference to
ncmpi_begin_indep_data’
/vol6/home/majm/software/ioapi-3.2-master/Linux2_x86_64ifort/libnetcdf.a(libnetcdfp_la-ncpdispatch.o): In function NCP_redef':* *ncpdispatch.c:(.text+0x1d8): undefined reference to
ncmpi_redef’
/vol6/home/majm/software/ioapi-3.2-master/Linux2_x86_64ifort/libnetcdf.a(libnetcdfp_la-ncpdispatch.o): In function `NCP__enddef’:
and lots of undifined reference to mpi*something, I was compiling with the nocpl mode without mpi, but it seemed still required my MPI library, I don’t know how it went wrong. Please help me!!! Thankkkkkk youuuuu!