Thursday, September 21, 2006

NetCDF on System X

Tried building NetCDF on SystemX. Chances are good a working NetCDF is installed somewhere, but I have yet to find it.


sysx1:~/lmarr/netcdf/netcdf-3.6.0-p1/src jlinford$ export CC=/usr/bin/cc
sysx1:~/lmarr/netcdf/netcdf-3.6.0-p1/src jlinford$ export FC=xlf
sysx1:~/lmarr/netcdf/netcdf-3.6.0-p1/src jlinford$ export F90xlf90
sysx1:~/lmarr/netcdf/netcdf-3.6.0-p1/src jlinford$ export F90FLAGS="-qsuffix=cpp=f90"
sysx1:~/lmarr/netcdf/netcdf-3.6.0-p1/src jlinford$ export CPPFLAGS="-Df2cFortran -DIBMR2Fortran"
sysx1:~/lmarr/netcdf/netcdf-3.6.0-p1/src jlinford$ ./configure

....

checking "xlf" as Fortran-90 compiler... works

....

sysx1:~/lmarr/netcdf/netcdf-3.6.0-p1/src jlinford$ make

....

Making `all' in directory /nfs/home/jlinford/lmarr/netcdf/netcdf-3.6.0-p1/src/f90

xlf -c -qsuffix=cpp=f90 typeSizes.f90
"typeSizes.f90", line 30.0: 1515-005 (S) Continuation line is not permitted at b eginning of program or after INCLUDE, EJECT, @PROCESS statements or comment directive. Line is ignored.
"typeSizes.f90", line 31.0: 1515-005 (S) Continuation line is not permitted at b eginning of program or after INCLUDE, EJECT, @PROCESS statements or comment directive. Line is ignored.
"typeSizes.f90", line 32.0: 1515-005 (S) Continuation line is not permitted at b eginning of program or after INCLUDE, EJECT, @PROCESS statements or comment directive. Line is ignored.
"typeSizes.f90", line 33.0: 1515-005 (S) Continuation line is not permitted at b eginning of program or after INCLUDE, EJECT, @PROCESS statements or comment directive. Line is ignored.
"typeSizes.f90", line 34.60: 1515-022 (S) Syntax Error: Extra token " , " was found. The token is ignored.
"typeSizes.f90", line 34.62: 1515-018 (S) Incorrect character found in source at line 34 in column 62. Hexadecimal value of character is 26.
"typeSizes.f90", line 35.60: 1515-022 (S) Syntax Error: Extra token " , " was found. The token is ignored.
"typeSizes.f90", line 35.62: 1515-018 (S) Incorrect character found in source at line 35 in column 62. Hexadecimal value of character is 26.
"typeSizes.f90", line 38.7: 1515-022 (S) Syntax Error: Extra token " ger " was found. The token is ignored.
"typeSizes.f90", line 38.10: 1515-022 (S) Syntax Error: Extra token " , " was found. The token is ignored.
"typeSizes.f90", line 38.12: 1515-022 (S) Syntax Error: Extra token " parameter " was found. The token is ignored.
"typeSizes.f90", line 38.22: 1515-022 (S) Syntax Error: Extra token " :: " was found. The token is ignored.
"typeSizes.f90", line 38.66: 1515-018 (S) Incorrect character found in source at line 38 in column 66. Hexadecimal value of character is 26.
"typeSizes.f90", line 39.72: 1515-020 (S) Syntax Error: Token " ) " is missing. A token is supplied.
"typeSizes.f90", line 42.7: 1515-019 (S) Syntax is incorrect.
"typeSizes.f90", line 55.64: 1515-018 (S) Incorrect character found in source at line 55 in column 64. Hexadecimal value of character is 26.
"typeSizes.f90", line 56.24: 1515-019 (S) Syntax is incorrect.
"typeSizes.f90", line 56.64: 1515-018 (S) Incorrect character found in source at line 56 in column 64. Hexadecimal value of character is 26.
"typeSizes.f90", line 57.22: 1515-019 (S) Syntax is incorrect.
"typeSizes.f90", line 57.56: 1515-018 (S) Incorrect character found in source at line 57 in column 56. Hexadecimal value of character is 26.
"typeSizes.f90", line 58.22: 1515-019 (S) Syntax is incorrect.
"typeSizes.f90", line 59.21: 1515-019 (S) Syntax is incorrect.
"typeSizes.f90", line 61.21: 1515-019 (S) Syntax is incorrect.
"typeSizes.f90", line 63.3: 1515-017 (S) Label contains characters that are not permitted. Label is ignored.
"typeSizes.f90", 1515-002 (S) END card is missing. One is assumed.
** _main === End of Compilation 1 ===
1501-511 Compilation failed for file typeSizes.f90.
make[2]: *** [typeSizes.o] Error 1
make[1]: *** [subdir_target] Error 1
make: *** [f90/all] Error 2

Guess it doesn't work out of the box. Why does NetCDF have to be such a royal pain?!? Was really hoping that would just work. Back to ene-411-lmarr tomorrow.....

0 Comments:

Post a Comment

<< Home