Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29280 Discussions

Reading arrays from C binaries into Fortran

dirk_geyer
Beginner
345 Views
Hi all,

I would like to read a three-dimensional array (real data) that is stored as a C binary file into my fortran code.

Has anybody an example available how to do that ? I have not much experience in C and the information in the Intel Fortran manual was not sufficient to succeed. Any hints about the interface for a 3D array (including how to pass the filename) and also about the C code are very welcome.

Thanks,

Dirk
0 Kudos
0 Replies
Reply