-
Notifications
You must be signed in to change notification settings - Fork 14
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
Error during compilation on MSYS2 for res module #15
Comments
This is likely because your MSYS2 environment is using a newer gfortran compiler - probably
version 7 or 8. This new compiler is more strict that past compilers v5 or v6 and does not like that
particular syntax. A few lines away from this call in plot3d.F is a comment that suggests
an alternative code to use for newer compilers. All you need to do is to uncomment
the alternative code and comment the line 896 of plot3d.F This should allow res to
complete its compile. There is a 2nd call to PLOT3E which will also have comments
in the code. Give that a try and let us know if it works for you.
Regards, Jon Hand
…________________________________________
From: bejanusz [[email protected]]
Sent: 06 August 2018 22:11
To: ESP-rCommunity/ESP-rSource
Cc: Subscribed
Subject: [ESP-rCommunity/ESP-rSource] Error during compilation on MSYS2 for res module (#15)
I`m trying to compile the new version 13.2.3 on Msys2 platform. During the compilation of res module I have obtained an error:
plot3d.F:896:39:
CALL PLOT3E(1110,XDATA,YDATA,Z1,XSCALE,YSCALE,ZSCALE,
1
Warning: Rank mismatch in argument 'zdata' at (1) (rank-1 and scalar) [-Wargument-mismatch]
plot3d.F:984:25:
CALL PLOT3E(11,X1,YDATA,ZDATA,XSCALE,YSCALE,ZSCALE,
1
Warning: Rank mismatch in argument 'xdata' at (1) (rank-1 and scalar) [-Wargument-mismatch]
plot3d.F:1141:28:
CALL PLOT3E(110,ARRAY,ARRAY(6),zdat,1.0,1.0,0.0,
1
Error: Actual argument contains too few elements for dummy argument 'ydata' (355/360) at (1)
Can someone help me with this error?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#15>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ACX3RhmQc6-fc-n4A2La1UvuKgEkx9X0ks5uOLDsgaJpZM4VxF1K>.
|
Hi, thank you for the hint. The problem is really related to the compiler version. I did as you suggested. The introduced changes in the code made it possible to compile it correctly. It looks like everything is working properly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I`m trying to compile the new version 13.2.3 on Msys2 platform. During the compilation of res module I have obtained an error:
plot3d.F:896:39:
Warning: Rank mismatch in argument 'zdata' at (1) (rank-1 and scalar) [-Wargument-mismatch]
plot3d.F:984:25:
Warning: Rank mismatch in argument 'xdata' at (1) (rank-1 and scalar) [-Wargument-mismatch]
plot3d.F:1141:28:
Error: Actual argument contains too few elements for dummy argument 'ydata' (355/360) at (1)
Can someone help me with this error?
The text was updated successfully, but these errors were encountered: