Skip to content
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

Some possible compiling error and demo running error #8

Open
SuwenJunliu opened this issue Nov 3, 2023 · 0 comments
Open

Some possible compiling error and demo running error #8

SuwenJunliu opened this issue Nov 3, 2023 · 0 comments

Comments

@SuwenJunliu
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant