> Do you get these errors with PETSc example codes aswell - or just your > application code? The PETSc examples (e.g. src/ksp/ksp/examples/tutorials/ex1.c) work well, so it is just our code ;-) It seems that we do sth. wrong/weird with the __SDIR__ setting ... I will investigate that in more detail. Thanks already, Tobias