-
-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fortran interface for matio #51
Comments
I am afraid the Fortran interface is not well maintained. I would be very glad if you could figure out what the problem is. |
Thank you for the response.
I added some lines as shown below. However, I don't know whether it is correct because of my lack of knowledge about diff --git a/configure.ac b/configure.ac
index 5631856..d353c6b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,6 +56,7 @@ dnl Build programs, C compiler, F77 compiler, make, install, etc.
dnl
AC_PROG_CC([pgcc icc gcc cc])
+AC_PROG_FC(ifort)
AC_ARG_ENABLE(coverage,
[ --enable-coverage Enable coverage testing],
[CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"])
@@ -356,6 +357,8 @@ AC_SUBST([AUTOTEST], ['$(AUTOM4TE) --language=Autotest'])
AC_CONFIG_FILES([Makefile \
matio.pc \
src/Makefile \
+ src/fortran/Makefile \
+ src/fortran/matio_t.inc
getopt/Makefile \
tools/Makefile \
test/Makefile \ After |
fd2ca03 removed the Fortran support from the configure and build options. I do not know why it was removed and will see if I get it running again. |
Thank you so much for your consideration. |
* Make all symbols public * As reported by #51 * [ci skip]
Thanks to the original author of matio, I got this one running with gfortran git clone https://github.com/tbeu/matio --branch fortran matio_fortran
cd matio_fortran
./autogen.sh
./configure --enable-fortran
make
./test/test_matf However, linking now fails if no fortran compiler is found or |
Thanks for your effort to fix that problem. |
Does this mean branch fortran works for you? |
In my case, I have no problem with compiling. I will report to you the result after testing the interface. |
@onyukim Did yiu succeed to test the interface meanwhile? |
Hello,
I have found that Fortran interface for matio cannot be compiled.
I would be grateful if you could fix that.
The text was updated successfully, but these errors were encountered: