Compiling netcdf-3.6.2 on powerpc-ibm-aix5.2.0.0


 
Thread Tools Search this Thread
Operating Systems AIX Compiling netcdf-3.6.2 on powerpc-ibm-aix5.2.0.0
# 1  
Old 04-23-2009
Compiling netcdf-3.6.2 on powerpc-ibm-aix5.2.0.0

Hi,
I am trying to compile a package netcdf-3.6.2 on an ibm aix machine called IBM Regatta P690. The script i am using is:
Code:
#!/usr/bin/bash -f

export CC=xlc_r
export CXX=xlC_r
export F77=xlf_r
export FC=xlf90_r
export CFLAGS=-q64
export CXXFLAGS=-q64
export FFLAGS='-q64 -qextname'
export FCFLAGS='-qsuffix=f=f90 -qextname'
export FCFLAGS_f90=-qsuffix=f=f90
export CPPFLAGS='-DIBMR2Fortran -Df2cFortran -Dextname'
export ARFLAGS='-X32_64 -cru'
export NMFLAGS=-X32_64
export SED=/usr/bin/sed

./configure --prefix=/home/caos1/mecsmrao/netcdf_3.6.2 --enable-f90

gmake

During the configure process i got a message as:c
Quote:
hecking command to parse /usr/bin/nm -B output from xlc_r object... failed
After a few object files get created the gmake process aborts giving the error as:
Quote:
libtool: compile: xlc_r -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -DIBMR2Fortran -Df2cFortran -Dextname -q64 -c -M fort-varsio.c -o fort-varsio.o
/bin/sh ../libtool --tag=CC --mode=link xlc_r -q64 -o libnetcdff.la fort-attio.lo fort-control.lo fort-dim.lo fort-genatt.lo fort-geninq.lo fort-genvar.lo fort-lib.lo fort-misc.lo fort-v2compat.lo fort-vario.lo fort-var1io.lo fort-varaio.lo fort-varmio.lo fort-varsio.lo
libtool: link: ar cru .libs/libnetcdff.a fort-attio.o fort-control.o fort-dim.o fort-genatt.o fort-geninq.o fort-genvar.o fort-lib.o fort-misc.o fort-v2compat.o fort-vario.o fort-var1io.o fort-varaio.o fort-varmio.o fort-varsio.o
ar: 0707-126 fort-attio.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-control.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-dim.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-genatt.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-geninq.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-genvar.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-lib.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-misc.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-v2compat.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-vario.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-var1io.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-varaio.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-varmio.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-varsio.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
gmake[3]: *** [libnetcdff.la] Error 14
gmake[3]: Leaving directory `/home/caos1/mecsmrao/netcdf-3.6.2/netcdf-3.6.2/fortran'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/caos1/mecsmrao/netcdf-3.6.2/netcdf-3.6.2/fortran'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/caos1/mecsmrao/netcdf-3.6.2/netcdf-3.6.2'
gmake: *** [all] Error 2
Could someone suggest a solution.

I am not a programmer, but i need to get this package compiled. I got many parts of the script from the net.

Thanks for any help.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Programming

Compiling C++ code with NetCDF libraries: "undefined reference"

Hi! I am trying to compile a C++ code with cmake and gcc on Ubuntu. The code uses NetCDF4 libraries. I specify the path to these libraries as follows: -I/usr/local/include -L/usr/local/lib -lnetcdf -lnetcdf_c++4 "ccmake" and "cmake" work fine. After typing "make" I receive the error... (0 Replies)
Discussion started by: Alauda
0 Replies

2. AIX

Attach HP EVA to IBM AIX powerpc singlepath

Dear all. We have a very big issue on Attach HP EVA to IBM AIX powerpc singlepath. the configurations on lscfg -vl fcs2 fcs2 U789C.001.DQD8D74-P1-C2-T1 4Gb FC PCI Express Adapter (df1000fe) Part Number.................10N7249 Serial... (3 Replies)
Discussion started by: Juri_al
3 Replies

3. AIX

LAPACK compilation error on ibm-aix5.2

Hi all, I am trying to compile LAPACK 3.2.1 on powerpc-ibm-aix5.2.0.0--Xlf but I am getting the following mesage?? "Makefile", line 362: make: 1254-055 Dependency line needs colon or double colon operator. "Makefile", line 364: make: 1254-055 Dependency line needs colon or double colon... (3 Replies)
Discussion started by: pauli
3 Replies

4. AIX

compilation problem on powerpc-ibm-aix5.2.0.0--Xlf

Dear all, I am not sure whether I am in the right forum, but... I am trying to compile a program on aix5.2.0.0 which requires the use of blas, lapack, blacs scalapack. I am getting the following error msg whcih I can't get rid off! ld: 0711-317 ERROR: Undefined symbol: .zhegvx ld: 0711-317... (2 Replies)
Discussion started by: pauli
2 Replies

5. AIX

How to upgrade AIX5.3TL6-07 to AIX5.3TL8-04?

Hello All, After creating lpp_source/spot from AIX 5.3TL6-07 DVD on the NIM(AIX6.1), I went online and download the fix pack for reaching TL8-04. (it was less than 200Mgegs total) then I did define a newer lpp_source530TL8-04 via a copy from the older lpp_source530TL6-07 (I diduse a command... (2 Replies)
Discussion started by: sangers
2 Replies
Login or Register to Ask a Question