Fortran support

82 views
Skip to first unread message

torsten knauf

unread,
Jun 22, 2016, 12:06:35 PM6/22/16
to android-ndk
Dear community,

for my master of computer science at university Kiel, Germany I am working on porting an existing climate simulation to Android Platform. It can work with C only but Fortran is a very nice to have.

So I followed https://github.com/buffer51/android-gfortran to enable gfortran in gcc toolchain for Android. But as already mentioned here https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71363, there is a problem, that size of GFC_DTYPE_REAL_16 is same as size of GFC_DTYPE_REAL_8 on some architectures leading to "error: duplicate case value" while compiling. Simple removing all duplicated values is a (nasty) workaround (which works fine for my climate simulation).

So my question is, if there is any plan to support Fortran in near future?

Thanks in Advance!

Kenneth Geisshirt

unread,
Jun 24, 2016, 9:54:13 AM6/24/16
to andro...@googlegroups.com
Hi Torsten,

If you only need Fortran-77, maybe f2c (https://en.wikipedia.org/wiki/F2c) is an option?

- Kenneth

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/af3d1a02-aa05-44e3-812d-99cbe95b5121%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages