Open COOk921 opened 10 months ago
Do you try to inactivate the conda environment? Also, try to modify the CMakeList.txt in petsc_solver folder like this set(PETSC_DIR "{ROOT_PETSC}/petsc-3.19.3/") set(PETSC_ARCH "petsc_install")
I also met the same error,but i try to add:
-DBLAS_LIBRARIES=/home/asc24/OpenCAEPoro_ASC2024-main/lapack-3.11.0/libcblas.a
and
-DLAPACK_LIBRARIES=/home/asc24/OpenCAEPoro_ASC2024-main/lapack-3.11.0/liblapacke.a
New problems have arisen:
[ 98%] Linking CXX executable testOpenCAEPoro
../libOpenCAEPoroX.a(DenseMat.cpp.o): In function `SYSSolve(int const&, char const*, int const&, double*, double*, int*, double*, int const&)':
DenseMat.cpp:(.text+0x18c): undefined reference to `dsysv_'
make[2]: *** [main/testOpenCAEPoro] Error 1
make[1]: *** [main/CMakeFiles/testOpenCAEPoro.dir/all] Error 2
make: *** [all] Error 2
I have a problem that has been bothering me for a long time. The problem occurs when building OpenCAEporo,I modify mpi-build-petsc.sh as follows
When I use the command 'sh mpi-build-petsc.sh', I get an error:
It tells CMake Could NOT find BLAS ,but I have BLAS installed and environment variables added in
~/.bashrc
:My software version is as follows:
Any help with this would be greatly appreciated !!! 🫡🫡🫡