parallel-netcdf problem

Rob Latham robl at mcs.anl.gov
Fri Apr 20 08:51:07 CDT 2012


On Fri, Apr 20, 2012 at 01:24:07PM +0200, rene at iup.physik.uni-bremen.de wrote:
> Hi
> 
> according to the INSTALL file in the parallel-netcdf-1.2.0 one can
> write to this address in the hope that someone may help with
> problem.
> 
> Compiling pnetcdf fails with
> 
> ./configure --prefix=/hb/rene/Bin/netCDF/Bin_parallel-netcdf CC=icc
> FC=ifort MPICC=mpicc MPIF=mpif90
> 
> at an IBM p770 running on SUSE-Linux ppc64, 2.6.32.36....ppc64
> 
> returning
> 
> make[3]: Leaving directory
> `/gpfs/hb/rene/Bin/netCDF/parallel-netcdf-1.2.0/src/lib'
> if [ yes = yes ] ; then cd libf && make ; fi
> make[3]: Entering directory
> `/gpfs/hb/rene/Bin/netCDF/parallel-netcdf-1.2.0/src/libf'
> c  strerrorf.f
> make[3]: c: Kommando nicht gefunden

Hi.  I think I know what's going on here:  Did you type that configure
command by hand?  If not, then the variable "MPIF" won't don anything.
you need "MPIF77": you can set that to mpif90 if you like, but it
needs to be set.

We've made this more robust in the SVN versions, and the recent
pre-release should also catch this at configure time.

==rob

> make[3]: [strerrorf.o] Fehler 127 (ignoriert)
> c  inq_libversf.f
> make[3]: c: Kommando nicht gefunden
> make[3]: [inq_libversf.o] Fehler 127 (ignoriert)
> ar cru ../lib/libpnetcdf.a abortf.o begin_indep_dataf.o closef.o
> copy_attf.o createf.o def_dimf.o def_varf.o del_attf.o enddeff.o
> end_indep_dataf.o
> ...
> iget_varm_textf.o iget_varm_int2f.o iget_varm_intf.o
> iget_varm_realf.o iget_varm_doublef.o wait_allf.o waitf.o cancelf.o
> strerrorf.o inq_libversf.o
> ar: strerrorf.o: No such file or directory
> make[3]: *** [../lib/libpnetcdf.a] Fehler 1
> make[3]: Leaving directory
> `/gpfs/hb/rene/Bin/netCDF/parallel-netcdf-1.2.0/src/libf'
> make[2]: *** [all] Fehler 2
> make[2]: Leaving directory
> `/gpfs/hb/rene/Bin/netCDF/parallel-netcdf-1.2.0/src'
> make[1]: *** [subdir_target] Fehler 1
> make[1]: Leaving directory `/gpfs/hb/rene/Bin/netCDF/parallel-netcdf-1.2.0'
> make: *** [src/lib/all] Fehler 2
> 
> Sorry, its in German, but says that Command not found. Looks like an
> error in the Makefile.
> 
> Would be great if someone can help.
> 
> Regards
> 
> Rene Hommel
> Research Associate
> Bremen University, Environmental Lab
> 
> 
> 
> ----- Forwarded message from Lehnert at Uni-Bremen.de -----
>     Date: Thu, 19 Apr 2012 15:41:59 +0200
>     From: G Lehnert <Lehnert at Uni-Bremen.de>
>  Subject: Re: MPI auf nexus
>       To: Rene Hommel <rene.hommel at iup.physik.uni-bremen.de>
> 
> 
> parallel-netcdf laesst sich anscheinend
> so compilieren:
> 
> cd parallel-netcdf-1.2.0
> 
> configure --prefix=/hb/rene/xxx \
>   CC=icc FC=ifort MPICC=mpicc MPIF77=mpif90
> 
> make
> 
> 
> ----- End forwarded message -----
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> 

-- 
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA


More information about the parallel-netcdf mailing list