Skip to content

Some possible compiling error and demo running error  #8

Open
@SuwenJunliu

Description

@SuwenJunliu

It seems that the whole program has been revised, so I reinstalled the package for inversion.

When I compile this program with OpenMPI-5.0.0, it showed the Error, etc.

mpif-sizeof.h:66:48:

Error: Fortran 2008: The symbol ‘real128’, referenced at (1), is not in the selected standard
mpif-sizeof.h:67:14:

Error: Parameter ‘real128’ at (1) has not been declared or is a variable, which does not reduce to a constant expression

The -std option in Makefile may cause it, and it seems that f2003 is incompatible with those ‘real128’ declarations in the mpi header. Maybe we could change the FFLAGS into

FFLAGS = -g -Wall -std=f2008  -pedantic -fbounds-check -O0 -Wuninitialized \
            -ffpe-trap=invalid,zero,overflow -fbacktrace \
            -fno-range-check

The second error might be a little bit tricky. When I ran the demo, it showed the error

ERROR: cannot create ./rslt/params.in.copy

That is because there is no folder named "rslt", and it might be fixed with

mkdir rslt

before running this demo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions