Problem in compiling example programs

Lyndon Lu lyndon.lu at gmail.com
Sun Jun 30 21:40:12 CDT 2013


Hi Guys,

    I am also wondering what's advantage of using ncmpidump (under sub-dir
bin) over ncdump? It seems that there is not an option in the command line
to set the number of cpus for ncmpidump.

Cheers,
Lyndon.


On Mon, Jul 1, 2013 at 9:55 AM, Wei-keng Liao
<wkliao at ece.northwestern.edu>wrote:

> Thanks, Rajeev. The fix has been added to the SVN repo.
>
> Hi, Lyndon,
> Thanks for giving our latest SVN a try. (File flex_f.f90 is
> yet to be official released.) Your testing helps us improve
> the software for next release. If you find any further
> problem or questions, please let us know.
>
> Wei-keng
>
> On Jun 30, 2013, at 2:09 AM, Rajeev Thakur wrote:
>
> > It should be MPI_INTEGER instead of MPI_INT in Fortran.
> >
> > On Jun 30, 2013, at 1:45 AM, Lyndon Lu wrote:
> >
> >> Hi,
> >>
> >>    When running make under sub-dir examples, one of fortran program
> cannot be compiled successfully ( see below) and other programs seem to be
> fine.
> >>
> >> /opt/openmpi/1.4.3/bin/mpif90 -c -g -I../src/lib  -I../src/libf
>  flex_f.f90
> >> flex_f.f90(117): error #6404: This name does not have a type, and must
> have an explicit type.   [MPI_INT]
> >>               MPI_INT, subarray, err)
> >> ---------------^
> >> flex_f.f90(115): error #6285: There is no matching specific subroutine
> for this generic subroutine call.   [MPI_TYPE_CREATE_SUBARRAY]
> >>          call MPI_Type_create_subarray(2, array_of_sizes, &
> >> ---------------^
> >> compilation aborted for flex_f.f90 (code 1)
> >> make: *** [flex_f.o] Error 1
> >>
> >>     Does anyone know what's wrong with this program flex_f.90? I am
> using pnetcdf 1.3.1/netcdf 4.3.0/hdf5 1.8.11.
> >>
> >>      In addition, could someone tell me what's advantage of using
> ncmpidump over ncdump? It seems that there is not an option in the command
> line to set the number of cpus for ncmpidump.
> >>
> >>
> >>      Thanks.
> >>
> >> Cheers,
> >> Lyndon
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20130701/ed6cd61e/attachment.html>


More information about the parallel-netcdf mailing list