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

Type mismatch errors - doesn't build for Debian 12.5 or Ubuntu 24.04. #2

Open
cvpsmith opened this issue Jun 1, 2024 · 0 comments
Open

Comments

@cvpsmith
Copy link

cvpsmith commented Jun 1, 2024

I'm getting "Type mismatch" errors when trying to build using persiansph_install.sh. Am I doing this correctly?

Errors:

[ 15%] Building Fortran object SRC/CMakeFiles/lapack.dir/sorcsd2by1.f.o
/home/cvpsmith/Downloads/Linux/persiansph-master/persiansph/persiansph-lib/lapack-3.5.0/SRC/sorcsd2by1.f:389:40:

366 | $ 0, U1, LDU1, U2, LDU2, V1T, LDV1T, 0, 1, 0, 0,
| 2
......
389 | $ 0, V1T, LDV1T, 0, 1, U1, LDU1, U2, LDU2, 0, 0,
| 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)).
/home/cvpsmith/Downloads/Linux/persiansph-master/persiansph/persiansph-lib/lapack-3.5.0/SRC/sorcsd2by1.f:389:56:

366 | $ 0, U1, LDU1, U2, LDU2, V1T, LDV1T, 0, 1, 0, 0,
| 2
......
389 | $ 0, V1T, LDV1T, 0, 1, U1, LDU1, U2, LDU2, 0, 0,
| 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/INTEGER(4)).
/home/cvpsmith/Downloads/Linux/persiansph-master/persiansph/persiansph-lib/lapack-3.5.0/SRC/sorcsd2by1.f:412:35:

366 | $ 0, U1, LDU1, U2, LDU2, V1T, LDV1T, 0, 1, 0, 0,
| 2
......
412 | $ THETA, 0, 0, 1, V1T, LDV1T, U2, LDU2, U1, LDU1,
| 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)).

......

684 | $ WORK(IB22D), WORK(IB22E), WORK(IBBCSD), LBBCSD,
| 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/INTEGER(4)).
make[2]: *** [SRC/CMakeFiles/lapack.dir/build.make:4326: SRC/CMakeFiles/lapack.dir/sorcsd2by1.f.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1024: SRC/CMakeFiles/lapack.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
Reading package lists... Done

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