mdolab / adflow

ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
Other
229 stars 100 forks source link

installation error #328

Closed haizhou0410 closed 1 year ago

haizhou0410 commented 1 year ago

Hi, I met a problem while installing. Could someone help me about this? Thank you very much!

make[3]: Entering directory '/home/haizhou/packages/adflow-main/src/build' mpifort -fPIC -fdefault-real-8 -fdefault-double-8 -march=native -std=f2008 -fallow-argument-mismatch -I/home/haizhou/packages/CGNS-4.4.0/opt-gfortran/include -I. -I/home/haizhou/packages/petsc-3.20.1/include -I/home/haizhou/packages/petsc-3.20.1/real-debug/include -I/home/haizhou/packages/openmpi-5.0.0/opt-gfortran/include -O3 -ffast-math -c ../solver/residuals.F90 -o residuals.o mpifort -fPIC -fdefault-real-8 -fdefault-double-8 -march=native -std=f2008 -fallow-argument-mismatch -I/home/haizhou/packages/CGNS-4.4.0/opt-gfortran/include -I. -I/home/haizhou/packages/petsc-3.20.1/include -I/home/haizhou/packages/petsc-3.20.1/real-debug/include -I/home/haizhou/packages/openmpi-5.0.0/opt-gfortran/include -O3 -ffast-math -c ../utils/haloExchange.F90 -o haloExchange.o mpifort -fPIC -fdefault-real-8 -fdefault-double-8 -march=native -std=f2008 -fallow-argument-mismatch -I/home/haizhou/packages/CGNS-4.4.0/opt-gfortran/include -I. -I/home/haizhou/packages/petsc-3.20.1/include -I/home/haizhou/packages/petsc-3.20.1/real-debug/include -I/home/haizhou/packages/openmpi-5.0.0/opt-gfortran/include -O3 -ffast-math -c ../wallDistance/wallDistance.F90 -o wallDistance.o mpifort -fPIC -fdefault-real-8 -fdefault-double-8 -march=native -std=f2008 -fallow-argument-mismatch -I/home/haizhou/packages/CGNS-4.4.0/opt-gfortran/include -I. -I/home/haizhou/packages/petsc-3.20.1/include -I/home/haizhou/packages/petsc-3.20.1/real-debug/include -I/home/haizhou/packages/openmpi-5.0.0/opt-gfortran/include -O3 -ffast-math -c ../utils/surfaceUtils.F90 -o surfaceUtils.o ../utils/surfaceUtils.F90:472:70:

472 | call vecGetArrayF90(exch%nodeValLocal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/surfaceUtils.F90:496:74:

496 | call vecRestoreArrayF90(exch%nodeValLocal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/surfaceUtils.F90:509:68:

509 | call vecGetArrayF90(zipper%localVal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/surfaceUtils.F90:517:72:

517 | call vecRestoreArrayF90(zipper%localVal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) make[3]: [rules:9: surfaceUtils.o] Error 1 make[3]: Waiting for unfinished jobs.... ../wallDistance/wallDistance.F90:2014:61:

2014 | call VecGetArrayF90(xVolumeVec(level), xVolume, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../wallDistance/wallDistance.F90:2033:65:

2033 | call vecRestoreArrayF90(xVolumeVec(level), xVolume, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../wallDistance/wallDistance.F90:287:70:

287 | call VecGetArrayF90(xSurfVec(level, sps), xSurf, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../wallDistance/wallDistance.F90:295:74:

295 | call VecRestoreArrayF90(xSurfVec(level, sps), xSurf, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) make[3]: *** [rules:9: wallDistance.o] Error 1

    --- Compiled residuals.F90 successfully ---

../utils/haloExchange.F90:3687:54:

3687 | call VecSet(exch%nodeValLocal, zero, ierr) | 1 Error: Type mismatch in argument ‘b’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3690:69:

3690 | call VecPlaceArray(zipper%localVal, varsd(:, iVar), ierr) | 1 Error: Type mismatch in argument ‘b’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3712:66:

3712 | call vecGetArrayF90(exch%nodeValLocal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3749:70:

3749 | call vecRestoreArrayF90(exch%nodeValLocal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3502:66:

3502 | call vecGetArrayF90(exch%nodeValLocal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3539:70:

3539 | call vecRestoreArrayF90(exch%nodeValLocal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3542:68:

3542 | call VecPlaceArray(zipper%localVal, vars(:, iVar), ierr) | 1 Error: Type mismatch in argument ‘b’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3596:66:

3596 | call vecGetArrayF90(exch%nodeValLocal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3633:70:

3633 | call vecRestoreArrayF90(exch%nodeValLocal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3636:69:

3636 | call VecPlaceArray(zipper%localVal, varsd(:, iVar), ierr) | 1 Error: Type mismatch in argument ‘b’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3369:54:

3369 | call VecSet(exch%nodeValLocal, zero, ierr) | 1 Error: Type mismatch in argument ‘b’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3372:69:

3372 | call VecPlaceArray(zipper%localVal, varsd(:, iVar), ierr) | 1 Error: Type mismatch in argument ‘b’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3394:66:

3394 | call vecGetArrayF90(exch%nodeValLocal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3461:70:

3461 | call vecRestoreArrayF90(exch%nodeValLocal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3134:66:

3134 | call vecGetArrayF90(exch%nodeValLocal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3191:70:

3191 | call vecRestoreArrayF90(exch%nodeValLocal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3194:68:

3194 | call VecPlaceArray(zipper%localVal, vars(:, iVar), ierr) | 1 Error: Type mismatch in argument ‘b’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3255:66:

3255 | call vecGetArrayF90(exch%nodeValLocal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3308:70:

3308 | call vecRestoreArrayF90(exch%nodeValLocal, localPtr, ierr) | 1 Error: Type mismatch in argument ‘array’ at (1); passed REAL(8) to COMPLEX(8) ../utils/haloExchange.F90:3311:69:

3311 | call VecPlaceArray(zipper%localVal, varsd(:, iVar), ierr) | 1 Error: Type mismatch in argument ‘b’ at (1); passed REAL(8) to COMPLEX(8) make[3]: [rules:9: haloExchange.o] Error 1 make[3]: Leaving directory '/home/haizhou/packages/adflow-main/src/build' make[2]: [Makefile:95: all] Error 2 make[2]: Leaving directory '/home/haizhou/packages/adflow-main/src/build' make[1]: [Makefile:31: adflow_build] Error 2 make[1]: Leaving directory '/home/haizhou/packages/adflow-main' make: [Makefile:6: default] Error 2

haizhou0410 commented 1 year ago

Hello, may I know why this is closed? Do you have any suggestion to the problem? Thank you!

---- Replied Message ---- | From | Anil @.> | | Date | 11/18/2023 18:26 | | To | @.> | | Cc | @.>@.> | | Subject | Re: [mdolab/adflow] installation error (Issue #328) |

Closed #328 as completed.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

haizhou0410 commented 1 year ago

Hello, may I know why this is closed? Do you have any suggestions for the problem? Thank you!

在 2023-11-18 05:26:43,"Anil Yildirim" @.***> 写道:

Closed #328 as completed.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

gawng commented 1 year ago

Hey @haizhou0410, we appreciate your interest in our lab's work, but opening installation error issues on several of our repositories with scattered information is not helpful for figuring out the installation problem. Please consolidate all of your errors, report the entire environment setup and steps, the exact instructions on our documentation you followed, and other relevant information if you want help. Thanks