Make installation error

Wei-keng Liao wkliao at ece.northwestern.edu
Thu Jan 21 11:32:20 CST 2010


please use the followings:

setenv CC     mpicc
setenv FC     mpif77
setenv F90    mpif90
setenv MPICC  mpicc
setenv MPIF77 mpif77
setenv MPIF90 mpif90


Wei-keng

On Jan 21, 2010, at 11:24 AM, Shawn Kim wrote:

> Hi, Wei-keng
>
> I set environment variables:
>
> 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"
>
> I also check the /tmp which has enough space, and time skew  
> mentioned in the previous thread. Both are fine. The new error  
> message is same except time skew. What else do I have to do?
>
> Thank you
>
> On Wed, Jan 20, 2010 at 11:52 PM, Wei-keng Liao <wkliao at ece.northwestern.edu 
> > wrote:
> Hi, Shawn,
>
> I notice another problem: mpif77 was used to compile pnetcdf.F90.
>
> Did you set the environment variables F90 and MPIF90 to the
> MPI Fortran 90 compiler, such as mpif90, when you ran configure?
>
> Wei-keng
>
>
> On Jan 20, 2010, at 10:30 PM, Jim Edwards wrote:
>
> I see two problems - the first is that it looks like there is a time  
> skew between your os and the filesystem - try using a different  
> filesystem or a different make tool.   The second is that your /tmp  
> is running out of space - look in your compiler documentation to see  
> how to change the directory it uses for temporary files.
>
>
>
>
>
> On Wed, Jan 20, 2010 at 9:18 PM, Shawn Kim  
> <shawn.subscribe at gmail.com> wrote:
> Hi,
>
> I am currently using mpich2-1.2 + pvfs-2.8.1 and trying to install  
> pnetcdf-1.1.0.
> I modified rules.make in pnetcdf-1.1.0 and Makefile in pnetcdf-1.1.0/ 
> src/libf. But I didn't add new functions because our cluster doesn't  
> support svn yet.
>
> When "make install", the error occurred:
>
> $ make install
> make[1]: Entering directory `/home/mdl/seokim/io_newest/test/ 
> parallel-netcdf-1.1.0'
>
> Making `install' in directory /home/mdl/seokim/io_newest/test/ 
> parallel-netcdf-1.1.0/src
>
> make[2]: Entering directory `/home/mdl/seokim/io_newest/test/ 
> parallel-netcdf-1.1.0/src'
> cd lib && make install
> make[3]: Entering directory `/home/mdl/seokim/io_newest/test/ 
> parallel-netcdf-1.1.0/src/lib'
> /usr/bin/install -c -d -m 755 /home/mdl/seokim/io_newest/test/ 
> parallel-netcdf-1.1.0/install/lib
> /usr/bin/install -c -m 644 libpnetcdf.a /home/mdl/seokim/io_newest/ 
> test/parallel-netcdf-1.1.0/install/lib/libpnetcdf.a
> /usr/bin/install -c -d -m 755 /home/mdl/seokim/io_newest/test/ 
> parallel-netcdf-1.1.0/install/include
> /usr/bin/install -c -m 644 ./pnetcdf.h /home/mdl/seokim/io_newest/ 
> test/parallel-netcdf-1.1.0/install/include/pnetcdf.h
> /usr/bin/install -c -d -m 755 /home/mdl/seokim/io_newest/test/ 
> parallel-netcdf-1.1.0/install/man/man3
> /usr/bin/install -c -m 644 pnetcdf.3 /home/mdl/seokim/io_newest/test/ 
> parallel-netcdf-1.1.0/install/man/man3/pnetcdf.3
> /usr/bin/install -c -d /home/mdl/seokim/io_newest/test/parallel- 
> netcdf-1.1.0/install/bin
> /usr/bin/install -c -m 755 ncvalid /home/mdl/seokim/io_newest/test/ 
> parallel-netcdf-1.1.0/install/bin/ncvalid
> make[3]: Leaving directory `/home/mdl/seokim/io_newest/test/parallel- 
> netcdf-1.1.0/src/lib'
> if [ yes = yes ] ; then cd libf && make install ; fi
> make[3]: Entering directory `/home/mdl/seokim/io_newest/test/ 
> parallel-netcdf-1.1.0/src/libf'
> make[3]: Warning: File `/home/mdl/seokim/io_newest/test/parallel- 
> netcdf-1.1.0/install/include' has modification time 4.4 s in the  
> future
> /bin/rm -f pnetcdf.F90
> echo "module pnetcdf" > pnetcdf.F90
> /bin/cat pnetcdf.inc >> pnetcdf.F90
> /home/mdl/seokim/io_newest/mpich2-1.2.1/bin/mpif77 -c -g -I. -I./../ 
> lib -I../lib   -c pnetcdf.F90
> Error: Unexpected end of file in '/tmp/ccFpAkMf.f95'
> make[3]: *** [pnetcdf.mod] Error 1
> make[3]: Leaving directory `/home/mdl/seokim/io_newest/test/parallel- 
> netcdf-1.1.0/src/libf'
> make[2]: *** [install] Error 2
> make[2]: Leaving directory `/home/mdl/seokim/io_newest/test/parallel- 
> netcdf-1.1.0/src'
> make[1]: *** [subdir_target] Error 1
> make[1]: Leaving directory `/home/mdl/seokim/io_newest/test/parallel- 
> netcdf-1.1.0'
> make: *** [src/lib/install] Error 2
>
> Is there anybody who faced with this kind of problem and solved it?
> Could you give me any suggestion?
>
>
>
>



More information about the parallel-netcdf mailing list