F77 tests fail to compile with xlf compiler

Description

F77 tests fail to compile with xlf compiler:

cgwrite ... *** FAILED ***
cgread ... *** FAILED ***
cgzconn ... *** FAILED ***
cgsubreg ... *** FAILED ***

Example, Gives the error:

/opt/xl/xlf15.1_xlc13.1/xlf -g -I.. -o cgwrite cgwrite.F ../lib/libcgns.a /scr/brtnfld/CGNS/test.2/trunk/hdf5/lib/libhdf5.a -lz
"cgwrite.F", line 131.11: 1513-029 (W) The number of arguments to "cg_goto_f" differs from the number of arguments in a previous reference. You should use the OPTIONAL attribute and an explicit interface to define a procedure with optional arguments.
"cgwrite.F", line 225.11: 1513-029 (W) The number of arguments to "cg_goto_f" differs from the number of arguments in a previous reference. You should use the OPTIONAL attribute and an explicit interface to define a procedure with optional arguments.
"cgwrite.F", line 244.11: 1513-029 (W) The number of arguments to "cg_goto_f" differs from the number of arguments in a previous reference. You should use the OPTIONAL attribute and an explicit interface to define a procedure with optional arguments.

  •  

    • write_cgns_1 === End of Compilation 1 ===
      1501-510 Compilation successful for file cgwrite.F.
      cgwrite.o: In function `write_cgns_1':
      /scr/brtnfld/CGNS/test.2/CGNS/src/tests/cgwrite.F:46: undefined reference to `cg_open_f'

Environment

None

Status

Assignee

CGNS org [Administrator]

Reporter

CGNS org [Administrator]

Labels

None

Components

Fix versions

Affects versions

3.x.x

Priority

Major