Having a compile issue

Wei-keng Liao wkliao at ece.northwestern.edu
Tue Dec 8 13:12:40 CST 2009


If you downloaded and placed the source codes in /tmp/pnetcdf, you  
should
run configure/make/make tests in /tmp/pnetcdf

If you looked at the first two lines from your failed messages below,
the make entered directory `/tmp/pnetcdf/test/fandc'
but it compiled the source file /git/parallel-netcdf/test/fandc/ 
pnctestf.F
(it should compile ./pnctestf.F or /tmp/pnetcdf/test/fandc/pnctestf.F)

Is /tmp/pnetcdf a symbolic link of /git/parallel-netcdf ?

Wei-keng

On Dec 8, 2009, at 12:44 PM, Joe Buck wrote:

> Wei-keng,
> Thanks for the suggested invocation changes. They seem to have  
> helped (I no longer have to manually alter the macros.make file) but  
> "make tests" is still failing, albeit in a different way.
> The "make" call goes just fine and the tests up to the fandc  
> directory are fine and then this one throws a lot of warnings and  
> then an error at the bottom.
> I'm attaching the output from the "configure", "make" and "make  
> test" invocations.
>
> Here's the output from the failure:
>
> make[2]: Entering directory `/tmp/pnetcdf/test/fandc'
> mpif77 -o pnctestf -g  -o pnctestf /git/parallel-netcdf/test/fandc/ 
> pnctestf.F -I../../src/libf/ -L../../src/lib -lpnetcdf -lm
>    MAIN pnf_test:
> Warning on line 78 of <stdin>: ignoring text after "end".
> Warning on line 78 of <stdin>: local variable nf_request never used
> Warning on line 1 of <stdin>: nfmpi_get_varm_real_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_nvars declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_inq_natts declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_iget_vara_int_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: mpi_comm_null_delete_fn declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vars_real_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vara_real_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vara_text_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_varm_real_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: mpi_type_null_delete_fn declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_iput_vara_int_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vars_real_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_varm_text_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vars_text_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vara_text_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_iget_vara_int1_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_iget_vara_int2_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_varm_text_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vars_text_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_rename_dim declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_iput_vara_int1_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_iput_vara_int2_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_dimlen declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_rename_att declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_rename_var declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_iget_vara_real_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_attlen declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: mpi_null_copy_fn declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_get_var_double_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_iput_vara_real_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_iget_vara_text_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_set_default_format declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_iput_vara_text_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_inq declared EXTERNAL but never  
> used.
> Warning on line 1 of <stdin>: mpi_wtick declared EXTERNAL but never  
> used.
> Warning on line 1 of <stdin>: mpi_wtime declared EXTERNAL but never  
> used.
> Warning on line 1 of <stdin>: nfmpi_get_var_all declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_dimname declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_attname declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_att_int declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_varname declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var_int declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vara_double_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_libvers declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_varm_double_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_att_int declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_var_int declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vars_double_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_atttype declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_vartype declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vara_double_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_varm_double_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_att_int1 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_att_int2 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var_int1 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var_int2 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: mpi_dup_fn declared EXTERNAL but never  
> used.
> Warning on line 1 of <stdin>: nfmpi_get_var1_int declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vars_double_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_open declared EXTERNAL but never  
> used.
> Warning on line 1 of <stdin>: nfmpi_wait declared EXTERNAL but never  
> used.
> Warning on line 1 of <stdin>: nfmpi_put_att_int1 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_att_int2 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: pmpi_wtick declared EXTERNAL but never  
> used.
> Warning on line 1 of <stdin>: pmpi_wtime declared EXTERNAL but never  
> used.
> Warning on line 1 of <stdin>: nfmpi_sync declared EXTERNAL but never  
> used.
> Warning on line 1 of <stdin>: nfmpi_get_att_real declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: mpi_null_delete_fn declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_var_int1 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_var_int2 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var_real declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_var1_int declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vara_all declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_varm_all declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vara_int declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var1_int1 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var1_int2 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vars_all declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_vardimid declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vara_all declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_varm_int declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_iget_vara_double_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_att_real declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_unlimdim declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_var_real declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vars_int declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_varndims declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_att_text declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var_text declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_var1_int1 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_var1_int2 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vara_int declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vars_all declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_varm_all declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_varnatts declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var1_real declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_iput_vara_double_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vars_int declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_varm_int declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vara_int1 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_att_text declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_var_text declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vara_int2 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_redef declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_put_var1_real declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vars_int1 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vars_int2 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_abort declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_get_varm_int1 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var1_text declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vara_int1 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vara_int2 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_varm_int2 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_file_info declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_iget_vara_all declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vara_real declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_var1_text declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vars_int1 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vars_int2 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_varm_int1 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_iput_vara_all declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vars_real declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vara_real declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_varm_int2 declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_varm_real declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vara_text declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vars_real declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_varm_text declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_varm_real declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vars_text declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vara_text declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_varm_text declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_delete declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_put_vars_text declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_end_indep_data declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_att_double declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var_double declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_att_double declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_put_var_double declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: mpi_win_null_copy_fn declared EXTERNAL  
> but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var1_double declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_del_att declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_inq_dim declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_get_var declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_put_var1_double declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_waitall declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_inq_att declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_inq_var declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_put_var declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_get_vara_double declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var_int_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_varm_double declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vars_double declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var1 declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_put_vara_double declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: mpi_comm_null_copy_fn declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_varm_double declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vars_double declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_var1 declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: mpi_type_null_copy_fn declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var_int1_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var_int2_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vara declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_begin_indep_data declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_set_fill declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: mpi_win_dup_fn declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_get_varm declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_get_vars declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_get_var_real_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vara declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_copy_att declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_get_vara_int_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_varm declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_put_vars declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_get_varm_int_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: mpi_win_null_delete_fn declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vars_int_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_var_text_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_strerror declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_issyserr declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_put_vara_int_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_varm_int_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vars_int_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vara_int1_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: mpi_conversion_fn_null declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vara_int2_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_varm_int1_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_varm_int2_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vars_int1_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_get_vars_int2_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_dimid declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: mpi_comm_dup_fn declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_put_vara_int1_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vara_int2_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_attid declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_inq_varid declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_put_varm_int1_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_varm_int2_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_inq_ndims declared EXTERNAL but  
> never used.
> Warning on line 1 of <stdin>: nfmpi_get_vara_real_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vars_int1_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: nfmpi_put_vars_int2_all declared  
> EXTERNAL but never used.
> Warning on line 1 of <stdin>: mpi_type_dup_fn declared EXTERNAL but  
> never used.
> /git/parallel-netcdf/test/fandc/pnctestf.F: In function ‘MAIN__’:
> /git/parallel-netcdf/test/fandc/pnctestf.F:34: error: expected ‘=’,  
> ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘totsiz_3d__’
> /git/parallel-netcdf/test/fandc/pnctestf.F:34: error: ‘totsiz_3d__’  
> undeclared (first use in this function)
> /git/parallel-netcdf/test/fandc/pnctestf.F:34: error: (Each  
> undeclared identifier is reported only once
> /git/parallel-netcdf/test/fandc/pnctestf.F:34: error: for each  
> function it appears in.)
> /git/parallel-netcdf/test/fandc/pnctestf.F:34: error: expected  
> expression before ‘{’ token
> /git/parallel-netcdf/test/fandc/pnctestf.F:58: error: expected  
> declaration specifiers or ‘...’ before ‘longint’
> <stdin>:49: warning: passing argument 4 of ‘nfmpi_def_dim__’ makes  
> integer from pointer without a cast
> /git/parallel-netcdf/test/fandc/pnctestf.F:58: note: expected  
> ‘ftnlen’ but argument is of type ‘integer *’
> <stdin>:49: error: too many arguments to function ‘nfmpi_def_dim__’
> <stdin>:52: warning: passing argument 4 of ‘nfmpi_def_dim__’ makes  
> integer from pointer without a cast
> /git/parallel-netcdf/test/fandc/pnctestf.F:58: note: expected  
> ‘ftnlen’ but argument is of type ‘integer *’
> <stdin>:52: error: too many arguments to function ‘nfmpi_def_dim__’
> <stdin>:54: warning: passing argument 4 of ‘nfmpi_def_dim__’ makes  
> integer from pointer without a cast
> /git/parallel-netcdf/test/fandc/pnctestf.F:58: note: expected  
> ‘ftnlen’ but argument is of type ‘integer *’
> <stdin>:54: error: too many arguments to function ‘nfmpi_def_dim__’
> /usr/bin/f77: aborting compilation
> make[2]: *** [pnctestf] Error 1
> make[2]: Leaving directory `/tmp/pnetcdf/test/fandc'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/tmp/pnetcdf/test'
> make: *** [tests] Error 2
>
>
> -Joe Buck
>
> On Tue, Dec 8, 2009 at 10:00 AM, <parallel-netcdf-request at lists.mcs.anl.gov 
> > wrote:
> Send parallel-netcdf mailing list submissions to
>        parallel-netcdf at lists.mcs.anl.gov
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.mcs.anl.gov/mailman/listinfo/parallel-netcdf
> or, via email, send a message with subject or body 'help' to
>        parallel-netcdf-request at lists.mcs.anl.gov
>
> You can reach the person managing the list at
>        parallel-netcdf-owner at lists.mcs.anl.gov
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of parallel-netcdf digest..."
>
>
> Today's Topics:
>
>   1. Re: Having a compile issue (Wei-keng Liao)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 8 Dec 2009 10:41:41 -0600
> From: Wei-keng Liao <wkliao at ece.northwestern.edu>
> Subject: Re: Having a compile issue
> To: parallel-netcdf at lists.mcs.anl.gov
> Message-ID:
>        <51160B0D-DF8E-4982-8ACC-2DA0260F0164 at ece.northwestern.edu>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Hi, Joe,
>
> Can you try the followings? (I used these to build pnetcdf under  
> tcsh.)
>
> autoreconf
>
> setenv CC     gcc
> setenv CXX    g++
> setenv FC     gfortran
> setenv F90    gfortran
> setenv MPICC  mpicc
> setenv MPICXX mpicxx
> setenv MPIF77 mpif77
> setenv MPIF90 mpif90
> setenv CFLAGS "-g"
> setenv FFLAGS "-g"
>
> configure --prefix=$HOME/PnetCDF/1.1.0 --enable-fortran
> make
> make tests
>
> Wei-keng
>
> On Dec 8, 2009, at 12:40 AM, Joe Buck wrote:
>
> > I have checked revision 721 out via git. I'm running configure with
> > the --with-mpi flag and with a --prefix path specified. I'm seeing a
> > "make tests" failure in the "fandc" test directory.
> >
> > I'm attaching the output of "configure" , "make" and "make test".
> >
> > One note, it seems like the configure script doesn't pick up my
> > environmental setting of $FC as it does not show up in macros.make
> > file. I had to manually add it.
> >
> > Any advice would be appreciated. Thanks in advance,
> > -Joe Buck
> > <configure.txt><make_tests.txt><make.txt>
>
>
>
> ------------------------------
>
> _______________________________________________
> parallel-netcdf mailing list
> parallel-netcdf at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/parallel-netcdf
>
>
> End of parallel-netcdf Digest, Vol 13, Issue 6
> **********************************************
>
> <configure.txt><make.txt><make_tests.txt>



More information about the parallel-netcdf mailing list