Skip to content

Quadruple precision #3

@sudhanvalalit

Description

@sudhanvalalit

I tried to convert the code from double precision to quadruple precision, and the code compiles well. However, while execution, it fails to read nets3 and nets4 files. Is there a proper way to read/write binary datafiles in quadruple precision?

At line 621 of file xnet_data.f90
Fortran runtime error: I/O past end of record on unformatted file

Error termination. Backtrace:
#0 0x7f6c94688d59 in read_block_direct
at /usr/src/debug/gcc/gcc/libgfortran/io/transfer.c:789
#1 0x7f6c94688d59 in unformatted_read
at /usr/src/debug/gcc/gcc/libgfortran/io/transfer.c:1129
#2 0x55f18526bc8e in __reaction_data_MOD_read_reaction_data
at /home/sudhanvalalit/Documents/XNet/src/xnet_data.f90:621
#3 0x55f18535e081 in net
at /home/sudhanvalalit/Documents/XNet/src/net.f90:109
#4 0x55f18525449e in main
at /home/sudhanvalalit/Documents/XNet/src/net.f90:18

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions