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

Re: 20060103:netCDF Fortran (77 + 90) - Problem with option +ppu on HP-UX64bit



Unidata Support <address@hidden> writes:

> ------- Forwarded Message
>
>>To: address@hidden
>>From: "LOUIS" <address@hidden>
>>Subject: netCDF Fortran (77 + 90) - Problem with option +ppu on HP-UX64bit!!
>>Organization: UCAR/Unidata
>>Keywords: 200601030957.k039vciE015070
>
> Institution: ALTRAN
> Package Version: 3.6.0-p1
> Operating System: HP-UX 64 bit
> Hardware Information: ?
> Inquiry: Hello,
>  
> My problem is the following :
>  
> I need netcfd library for another program which is compiled with option +ppu.
>  
> The install.ksh file:
>  
> if [ $osname = \'HP-UXB.11.23\' ] ; then
>   export CC=/bin/cc
>   export CPPFLAGS=\'-D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64\'
>   export CFLAGS=\'-g +DD64\'
>   export FC=/opt/fortran90/bin/f90
>   export FFLAGS=\'-O3 +DSitanium2 +DD64 +ppu\'
>   export FLIBS=-lU77
>   export CXX=\'\'
>   touch src/ncgen/ncgenyy.c
> cd src
> make distclean
> ./configure --prefix=/home/cfdtools/dev/st13412/DEV/sftnetcdf_3.6.0-p1/$osname
> make check
> make test
> make install
> cd ..
>
> So I have tried to compile netcdf with the same option +ppu (I know by 
> default you must use +noppu option on this machine), and I have these error 
> message : 
>  
> An extract of output after compilation:
>  
> Making `test\' in directory 
> /home/cfdtools/dev/st13412/DEV/sftnetcdf_3.6.0-p1/netcdf-3.6.0-p1/src/nf_test
>  
>         /opt/fortran90/bin/f90 -o nf_test -O3 +DSitanium2 +DD64 +ppu   
> test_get.o        test_put.o      nf_error.o      nf_test.o       test_read.o 
>     test_write.o    util.o  fortlib.o ../libsrc/libnetcdf.a -lU77 -lm 
> ld: Unsatisfied symbol \"max_double_\" in file util.o
> ld: Unsatisfied symbol \"nf_inq_dimlen_\" in file test_read.o
> ld: Unsatisfied symbol \"udrand_\" in file util.o
> ld: Unsatisfied symbol \"nf_put_varm_double_\" in file test_put.o
> ld: Unsatisfied symbol \"nf_set_fill_\" in file test_write.o
> ld: Unsatisfied symbol \"nf_put_vars_text_\" in file test_put.o
> ld: Unsatisfied symbol \"nf_get_vars_text_\" in file test_get.o
> ld: Unsatisfied symbol \"nf_put_vara_text_\" in file test_put.o
> ld: Unsatisfied symbol \"nf_put_var1_text_\" in file test_put.o
> ld: Unsatisfied symbol \"nf_get_var1_text_\" in file test_get.o
> ld: Unsatisfied symbol \"nf_get_vara_text_\" in file test_get.o
> ld: Unsatisfied symbol \"nf_put_varm_text_\" in file test_put.o
> ld: Unsatisfied symbol \"nf_create_\" in file test_put.o
> ..
> ..
> ..
> ld: Unsatisfied symbol \"nf_get_att_real_\" in file test_get.o
> ld: Unsatisfied symbol \"nf_put_att_real_\" in file test_put.o
> ld: Unsatisfied symbol \"nf_redef_\" in file test_read.o
> 125 errors.
> *** Error exit code 1 
> Stop.
>  
> Have you a solution to compile with +ppu option without error on this machine?
> Thinks for your answer..

Sorry, no, I don't know what the +ppu option is, and why specifying it
on the HPUX would cause the build to break...

Ed

-- 
Ed Hartnett  -- address@hidden