Closed ktras closed 3 years ago
There were also warnings when the tool was run on libcaf-gfortran-descriptor.h
.
libcaf-gfortran-descriptor.h:44: Warning 503: Fortran identifiers may not begin with underscores or numerals: renaming '_stride' to 'stride_'
libcaf-gfortran-descriptor.h:46: Warning 503: Fortran identifiers may not begin with underscores or numerals: renaming '_ubound' to 'ubound_'
libcaf-gfortran-descriptor.h:71: Warning 462: Unable to set variable of type descriptor_dimension [].
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Summary of changes
Added a directory
swig-modules
in /src to temporarily house the files created by the swig tool. These files include fortran modules and c wrappers that were created when the swig tool was run onlibcaf.h
libcaf-gfortran-descriptor.h
andlibcaf_version.h
. The swig tool was used running this commandswig -fortran -module name-of-module-to-create name-of-file-to-run-on
.NOTE: Running the tool on
libcaf.h
caused an errorlibcaf.h:240: Error: Syntax error in input(1).
After commenting out line 240 oflibcaf.h
, the tool was successful.Rationale for changes
Because there is interest in implementing a fortran interface for OpenCoarrays.
Additional info and certifications
This pull request (PR) is a:
I certify that