#62 nco-4.1.0 failes to compile with mpi

closed-wont-fix
None
5
2014-08-19
2012-08-08
pmunhutu
No

CC=mpicc
CXX=mpicxx
CFLAGS=-DENABLE_NETCDF4 -fPIC -I/usr/local/antlr-2.7.7/include
NETCDF4_ROOT=/vftmp/Paidemwoyo.Munhutu/mpi_builds/netcdf-4.1.3/install_dir
UDUNITS2_PATH=/vftmp/Paidemwoyo.Munhutu/mpi_builds/udunits-2.1.24/install_dir
MPICH2_ROOT=/usr/local/mpich2
LDFLAGS=-L/usr/local/expat-2.0.1/lib
LIBS=-lexpat -lmpich
CPPFLAGS=-fPIC -DNEED_NC_INQ_FORMAT=1 -DHAVE_NETCDF4_H -I/usr/local/antlr-2.7.7/include -I/vftmp/Paidemwoyo.Munhutu/mpi_builds/netcdf-4.1.3/install_dir/include -I/vftmp/Paidemwoyo.Munhutu/mpi_builds/hdf5-1.8.7/install_dir/include
CPATH=/vftmp/Paidemwoyo.Munhutu/mpi_builds/netcdf-4.1.3/install_dir/include:/vftmp/Paidemwoyo.Munhutu/mpi_builds/hdf5-1.8.7/install_dir/include:/app/mpich2-1.2.1p1/include

./configure --prefix=/vftmp/Paidemwoyo.Munhutu/mpi_builds/nco-4.1.0/install_dir --enable-mpi --enable-netcdf-4

gmake

libtool: compile: mpicc -std=c99 -DHAVE_CONFIG_H -I. -I../.. -I/vftmp/Paidemwoyo.Munhutu/mpi_builds/netcdf-4.1.3/install_dir/include -fPIC -DNEED_NC_INQ_FORMAT=1 -DHAVE_NETCDF4_H -I/usr/local/antlr-2.7.7/include -I/vftmp/Paidemwoyo.Munhutu/mpi_builds/netcdf-4.1.3/install_dir/include -I/vftmp/Paidemwoyo.Munhutu/mpi_builds/hdf5-1.8.7/install_dir/include -I/usr/local/gsl/1.15/include -I/vftmp/Paidemwoyo.Munhutu/mpi_builds/udunits-2.1.24/install_dir/include -DENABLE_NETCDF4 -fPIC -I/usr/local/antlr-2.7.7/include -std=c99 -D_BSD_SOURCE -D_POSIX_SOURCE -MT nco_var_rth.lo -MD -MP -MF .deps/nco_var_rth.Tpo -c nco_var_rth.c -o nco_var_rth.o >/dev/null 2>&1
mv -f .deps/nco_scl_utl.Tpo .deps/nco_scl_utl.Plo
mv -f .deps/nco_rth_utl.Tpo .deps/nco_rth_utl.Plo
mv -f .deps/nco_scm.Tpo .deps/nco_scm.Plo
mv -f .deps/nco_sng_utl.Tpo .deps/nco_sng_utl.Plo
mpncra.c(498): error: identifier "cnk" is undefined
if(cnk_nbr > 0) cnk=nco_cnk_prs(cnk_nbr,cnk_arg);
^

mpncra.c(545): error: identifier "MSA_USR_RDR" is undefined
(void)nco_msa_lmt_all_int(in_id,MSA_USR_RDR,lmt_all_lst,nbr_dmn_fl,lmt,lmt_nbr);
^

mpncra.c(557): warning #592: variable "dmn_out" is used before its value is set
if(nbr_dmn_fl > 0) (void)nco_dmn_lmt_all_mrg(dmn_out,nbr_dmn_xtr,lmt_all_lst,nbr_dmn_fl);
^

mpncra.c(672): error: identifier "cnk" is undefined
if(fl_out_fmt == NC_FORMAT_NETCDF4 || fl_out_fmt == NC_FORMAT_NETCDF4_CLASSIC) (void)nco_cnk_sz_set(out_id,lmt_all_lst,nbr_dmn_fl,&cnk_map,&cnk_plc,cnk_sz_scl,cnk,cnk_nbr);
^

mpncra.c(1416): error: identifier "cnk" is undefined
if(cnk_nbr > 0) cnk=nco_cnk_lst_free(cnk,cnk_nbr);
^

compilation aborted for mpncra.c (code 2)
gmake[3]: *** [mpncra.o] Error 2
gmake[3]: *** Waiting for unfinished jobs....
mpncpdq.c(428): error: identifier "aux_arg" is undefined
aux_arg[aux_nbr]=(char *)strdup(optarg);
^

mpncpdq.c(428): error: identifier "aux_nbr" is undefined
aux_arg[aux_nbr]=(char *)strdup(optarg);
^

mpncpdq.c(430): error: identifier "MSA_USR_RDR" is undefined
MSA_USR_RDR=True; /* [flg] Multi-slabbing algorithm leaves hyperslabs in user order */
^

mpncpdq.c(472): error: identifier "aux_nbr" is undefined
if(aux_nbr > 0){
^

mpncpdq.c(474): error: identifier "aux_arg" is undefined
aux=nco_aux_evl(in_id,aux_nbr,aux_arg,&aux_idx_nbr);
^

mpncpdq.c(513): error: identifier "MSA_USR_RDR" is undefined
(void)nco_msa_lmt_all_int(in_id,MSA_USR_RDR,lmt_all_lst,nbr_dmn_fl,lmt,lmt_nbr);
^

mpncpdq.c(1155): error: identifier "jdx" is undefined
for(jdx=0;jdx< lmt_all_lst[idx]->lmt_dmn_nbr;jdx++)
^

mpncpdq.c(1178): error: identifier "aux_nbr" is undefined
for(idx=0;idx<aux_nbr;idx++) aux_arg[idx]=(char *)nco_free(aux_arg[idx]);
^

mpncpdq.c(1178): error: identifier "aux_arg" is undefined
for(idx=0;idx<aux_nbr;idx++) aux_arg[idx]=(char *)nco_free(aux_arg[idx]);
^

mpncpdq.c(1179): error: identifier "aux_nbr" is undefined
if(aux_nbr > 0) aux=(lmt_sct **)nco_free(aux);
^

compilation aborted for mpncpdq.c (code 2)
gmake[3]: *** [mpncpdq.o] Error 2
mpncwa.c(772): error: identifier "lmt_all_lst" is undefined
if(fl_out_fmt == NC_FORMAT_NETCDF4 || fl_out_fmt == NC_FORMAT_NETCDF4_CLASSIC) (void)nco_cnk_sz_set(out_id,lmt_all_lst,nbr_dmn_fl,&cnk_map,&cnk_plc,cnk_sz_scl,cnk,cnk_nbr);
^

compilation aborted for mpncwa.c (code 2)
gmake[3]: *** [mpncwa.o] Error 2
ncap_yacc.y(119): warning #2215: definition at end of file not followed by a semicolon or a declarator
}
^

ncap_yacc.y(119): warning #2215: definition at end of file not followed by a semicolon or a declarator
}
^

mv -f .deps/mpncflint.Tpo .deps/mpncflint.Po
mv -f .deps/nco_var_lst.Tpo .deps/nco_var_lst.Plo
mv -f .deps/nco_var_avg.Tpo .deps/nco_var_avg.Plo
mv -f .deps/nco_var_utl.Tpo .deps/nco_var_utl.Plo
mv -f .deps/nco_var_scv.Tpo .deps/nco_var_scv.Plo
mv -f .deps/ncap_yacc.Tpo .deps/ncap_yacc.Po
mv -f .deps/ncwa.Tpo .deps/ncwa.Po
mv -f .deps/ncap_lex.Tpo .deps/ncap_lex.Po
mv -f .deps/nco_var_rth.Tpo .deps/nco_var_rth.Plo
mv -f .deps/nco_cnf_typ.Tpo .deps/nco_cnf_typ.Plo
gmake[3]: Leaving directory `/vftmp/Paidemwoyo.Munhutu/mpi_builds/nco-4.1.0/src/nco'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/vftmp/Paidemwoyo.Munhutu/mpi_builds/nco-4.1.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/vftmp/Paidemwoyo.Munhutu/mpi_builds/nco-4.1.0'
gmake: *** [all] Error 2

Discussion

  • Charlie Zender

    Charlie Zender - 2012-08-08
    • assigned_to: nobody --> zender
    • status: open --> closed-wont-fix
     
  • Charlie Zender

    Charlie Zender - 2012-08-08

    Hello,
    Yes, the MPI executables no longer build. They are not a supported option of NCO. Patches to get them to build will
    be accepted but it is not a priority of the project to fix this at this time. It would take more resources than we have to fix, test, and maintain them on parallel filestystems.
    c

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks