[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 950120: compiling on CRAY C90



>From: Ming Cai <address@hidden>
>Organization: University of Maryland
>Subject: Re: 950120: compiling on CRAY C90 
>Keywords: 199501202055.AA21596

In the above message you wrote:

>output of make -n port/all
>**********************
>sn4021% make -n port/all
>        echo ""
>        dir=`echo port/all | sed 's,/.*,,'`; \
>            target=`echo port/all | sed "s,$dir/,,"`; \
>            cd $dir && \
>            echo "making \`$target' in directory `pwd`" && \
>            echo "" && \
>            make  CC="cc"  CPP="cc -E"  exec_prefix="/wd5/wd51/wd51mc/netcdf/b
> in
>"  FC="cf77"  prefix="/wd5/wd51/wd51mc/netcdf" \
>                prefix=/wd5/wd51/wd51mc/netcdf exec_prefix=/wd5/wd51/wd51mc/ne
> tc
>df/bin \
>                $target || exit 1
>making `all' in directory /wd5/wd51/wd51mc/netcdf/netcdf-232pl2/port
>
>        if [ "@NEED_FORTC@" = yes ]; then \
>            make  fortc/all; \
>        else \
>            :; \
>        fi
>        make  library
>        cc -c -I. -DNDEBUG -O uddummy.c
>        ar rcuv libudport.a uddummy.o
>        : libudport.a
>        echo ""
>        echo "returning to directory `pwd`"
>        echo ""
>********************
>
>sn4021% cd port
>/home/wd51mc/netcdf/netcdf-232pl2/port
>sn4021% pwd
>/home/wd51mc/netcdf/netcdf-232pl2/port
>
>output of "make clean" in the directory 'port'
>
>***************
>sn4021% make clean
>        rm -f float.h limits.h config
>        rm -f   a.out core *.o *.a *.so.* *.sa.* *.so \
>            *.log
>**************
>
>output of "make -n all" in the directory of 'port'
>
>sn4021% make -n all
>\       if [ "@NEED_FORTC@" = yes ]; then \
>            make  fortc/all; \
>        else \
>            :; \
>        fi
>        make  library
>        cc -c -I. -DNDEBUG -O uddummy.c
>        ar rcuv libudport.a uddummy.o
>        : libudport.a
>*************************
>
>output of "make all" in the directory of 'port'
>************
>sn4021% make all
>        cc -c -I. -DNDEBUG -O uddummy.c
>        ar rcuv libudport.a uddummy.o
>a - uddummy.o
>*************

You probably don't want to hear this, but, in my opinion, your make(1)
utility is broken.

I suggest building the netCDF package manually, one subdirectory at a
time.  Do the following:

    1.  Go into the `port/' subdirectory and execute `make all install'.

    2.  For each of the subdirectories xdr/, libsrc/, fortran/, ncdump/,
        and ncgen/ (in that order):

        a.  Go into the subdirectory.

        b.  Execute `make clean all'.

    3.  For each of the subdirectories xdr/, libsrc/, and nctest/:

        a.  Go into the subdirectory.

        b.  Execute `make test'.

    4.  For each of the subdirectories libsrc/, ncdump/, ncgen/:

        a.  Go into the subdirectory.

        b.  Execute `make install'.

--------
Steve Emmerson   <address@hidden>