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

Mismatch error in file grasp/src/lib/lib9290/iniest2 #115

Open
amilton10 opened this issue Jan 22, 2024 · 2 comments
Open

Mismatch error in file grasp/src/lib/lib9290/iniest2 #115

amilton10 opened this issue Jan 22, 2024 · 2 comments

Comments

@amilton10
Copy link

HI I have thw following in file grasp/src/lib/lib9290/iniest2.f90:82:23:

79 | CALL DCOPY (NS, VEC(NS*(J-1)+1), 1, BASIS(NCF*(J-1)+1), 1)
| 2
......
82 | CALL DCOPY (NIV, EIGVAL, 1, BASIS(NIV*NCF+1), 1)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)

@amilton10 amilton10 changed the title Problem In compiling GRASP Mismatch error in file grasp/src/lib/lib9290/iniest2 Jan 22, 2024
@WenxianLi
Copy link
Member

Hi,
Which version of gfortran do you used for your compilation? You can try to add the following flag to the makefile: -fallow-argument-mismatch. See if it works?

@jagot
Copy link
Member

jagot commented Mar 7, 2024

This is the same issue as #77 (see also #46 & #77), and the workaround is to use the -DCMAKE_Fortran_FLAGS="-fallow-argument-mismatch" argument to CMake when generating the build files.

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

3 participants