pnetcdf.inc pnetcdf missing in include directory after installation
Wei-keng Liao
wkliao at eecs.northwestern.edu
Fri Jun 9 21:05:07 CDT 2017
Hi, Xiao
Your config.log reveals that there is no MPI C++ and Fortran compilers
can be found on your system. Your do have an MPI C compiler located in
/global/opt/intel_2016/impi/5.1.1.109/bin64/mpicc
At the end of configure command, you should have seen below warning messages.
configure:5195: WARNING:
----------------------------------------------------------
MPI C++ implementation does not support MPI-IO
Disabling C++ testing programs
----------------------------------------------------------
configure:6669: WARNING:
------------------------------------------------------------
Invalid MPI Fortran 90 compiler: "/opt/intel/bin/ifort"
Fortran feature is disabled
------------------------------------------------------------
They indicate both C++ and Fortran features were disabled.
Please check files under /global/opt/intel_2016/impi/5.1.1.109/bin64
to see if there are MPI C++ and MPI Fortran compilers.
If yes, please try the following configure command.
./configure --prefix=/home/xzhang3/apps/pnetcdf \
--with-mpi=/global/opt/intel_2016/impi/5.1.1.109/bin64
Wei-keng
On Jun 9, 2017, at 8:52 PM, Xiao Zhang wrote:
> Hi, Wei-keng,
>
> Thanks very much for the reply. I have attached the log file.
>
> By the way, if the type "make" and then "make install" in the directory libf. It copies the pnetcdf.inc to the include dir. But it does not work for directory libcxx.
>
> Have a nice weekend
>
> Xiao
>
>
> On Fri, Jun 9, 2017 at 3:46 PM, Wei-keng Liao <wkliao at eecs.northwestern.edu> wrote:
> Hi, Xiao
>
> Please send me the file "config.log" generated from running configure command.
> It should reveal why the Fortran library was not built.
>
> Wei-keng
>
> On Jun 9, 2017, at 5:15 PM, Xiao Zhang wrote:
>
> > Dear all,
> >
> > I have a question about pnetcdf installation.
> >
> > So, I have the source code download parallel-netcdf-1.8.1.
> > The process is
> > 1. ./configure --prefix=/my install dirl/pnetcdf
> > 2. make
> > 3. make install
> >
> > After I finishes all of this, I found that source code under
> > /parallel-netcdf-1.8.1/src/libf and
> > /parallel-netcdf-1.8.1/src/libf90
> >
> > are not compiled. So, there are some files missing under include dir. For instance, pnetcdf.inc and pnetcdf. And the other program requires there two files to run.
> >
> > Then I checked /parallel-netcdf-1.8.1/src/Makefile.in. Looks like I need to have FORTRAN API to make "has_fortran" to be "yes"
> > to compile them.
> >
> > So, my question is, how to make the source code all compiled?
> >
> > Excuse me for the long email and have a nice weekend in advance
> >
> > Xiao
>
>
> <config.log>
More information about the parallel-netcdf
mailing list