Problem with finding petscFoam after compiling OF v2012 with PETSc development ver
Hi, I tried to compile with the above software and version. Managed to get the lib:
[tsl@as-login-01 external-solver]$ ls ~/OpenFOAM/tsltaywb-v2012/platforms/linux64Gcc112DPInt32Opt/lib/
libpetscFoam.so
However there's an error saying:
/usr/bin/ld: warning: libcuda.so.1, needed by /home/project/11001487/source/petsc_dev/petsc-dev_gnu_gpu_debug/lib/libpetsc.so, not found (try using -rpath or -rpath-link)
I tried:
foamHasLibrary -verbose petscFoam
and
eval $(foamEtcFile -sh -config petsc -- -force)
but it can't be found:
Could not load "petscFoam"
libpetsc.so.3.019: cannot open shared object file: No such file or directory
May I know why?
Thanks.